[GH-ISSUE #3771] xtcp 发起的 QUIC 使用 IP 地址 作为 SNI #2999

Closed
opened 2026-05-05 13:56:09 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @xqzr on GitHub (Nov 14, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3771

Bug Description

屏幕截图 2023-11-15 053625
使用 IP 地址 作为 SNI 违反 RFC6066

Literal IPv4 and IPv6 addresses are not permitted in "HostName".

frpc Version

0.52.3

frps Version

0.52.3

System Architecture

linux/amd64

Configurations

客户端

{"proxies": [
        {
            "name": "SSH",
            "type": "xtcp",
            "localIP": "::1",
            "localPort": 22,
            "allowUsers": [
                "*"
            ]
        }
]}

访问端

{"visitors": [
        {
            "name": "SSH_v",
            "type": "xtcp",
            "serverName": "SSH",
            "bindAddr": "::1",
            "bindPort": 2202
        }
]}

Logs

No response

Steps to reproduce

访问 bindPort 端口

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @xqzr on GitHub (Nov 14, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3771 ### Bug Description ![屏幕截图 2023-11-15 053625](https://github.com/fatedier/frp/assets/34030394/932d06d4-246d-4201-a146-ba746713ee58) 使用 IP 地址 作为 SNI 违反 [RFC6066](https://datatracker.ietf.org/doc/html/rfc6066#section-3) ``` Literal IPv4 and IPv6 addresses are not permitted in "HostName". ``` ### frpc Version 0.52.3 ### frps Version 0.52.3 ### System Architecture linux/amd64 ### Configurations 客户端 ```json {"proxies": [ { "name": "SSH", "type": "xtcp", "localIP": "::1", "localPort": 22, "allowUsers": [ "*" ] } ]} ``` 访问端 ```json {"visitors": [ { "name": "SSH_v", "type": "xtcp", "serverName": "SSH", "bindAddr": "::1", "bindPort": 2202 } ]} ``` ### Logs _No response_ ### Steps to reproduce 访问 `bindPort` 端口 ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [X] Others
gitea-mirror 2026-05-05 13:56:09 -06:00
Author
Owner

@fatedier commented on GitHub (Nov 15, 2023):

所以现在具体的问题是什么?有哪些影响?

<!-- gh-comment-id:1811748421 --> @fatedier commented on GitHub (Nov 15, 2023): 所以现在具体的问题是什么?有哪些影响?
Author
Owner

@xqzr commented on GitHub (Nov 15, 2023):

所以现在具体的问题是什么?有哪些影响?

不符合 RFC 规范。暂时未发现 有任何影响

<!-- gh-comment-id:1812088728 --> @xqzr commented on GitHub (Nov 15, 2023): > 所以现在具体的问题是什么?有哪些影响? 不符合 RFC 规范。暂时未发现 有任何影响
Author
Owner

@github-actions[bot] commented on GitHub (Dec 16, 2023):

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:1858639557 --> @github-actions[bot] commented on GitHub (Dec 16, 2023): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#2999
No description provided.