[GH-ISSUE #3807] xtcp如何开启加密? #3029

Closed
opened 2026-05-05 13:57:35 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @PHCSJC on GitHub (Nov 28, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3807

Describe the feature request

文档是这样写的:自定义 TLS 协议加密,启用此功能后除 xtcp ,可以不用再设置 use_encryption 重复加密

问题是:最新版默认开启了TLS,如果不自定义证书的情况下,会使用内置自动生成的证书,此时xtcp会走加密吗?如果没有怎么开启加密呢?是用use_encryption参数吗?要在客户端和visitor都配置吗?

Describe alternatives you've considered

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @PHCSJC on GitHub (Nov 28, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3807 ### Describe the feature request 文档是这样写的:自定义 TLS 协议加密,启用此功能后除 xtcp ,可以不用再设置 use_encryption 重复加密 问题是:最新版默认开启了TLS,如果不自定义证书的情况下,会使用内置自动生成的证书,此时xtcp会走加密吗?如果没有怎么开启加密呢?是用use_encryption参数吗?要在客户端和visitor都配置吗? ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [x] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:57:35 -06:00
Author
Owner

@superzjg commented on GitHub (Nov 28, 2023):

文档的意思就是默认开启 全局 tls 后,其他都有效,但对xtcp无效,需要在代理设置加密。
我觉得应该是服务端角色和访问端角色都要设置。

<!-- gh-comment-id:1829189184 --> @superzjg commented on GitHub (Nov 28, 2023): 文档的意思就是默认开启 全局 tls 后,其他都有效,但对xtcp无效,需要在代理设置加密。 我觉得应该是服务端角色和访问端角色都要设置。
Author
Owner

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

xtcp 默认使用 QUIC 传输
https://gofrp.org/zh-cn/docs/reference/visitor/#xtcpvisitorconfig
#3771

<!-- gh-comment-id:1829485871 --> @xqzr commented on GitHub (Nov 28, 2023): xtcp 默认使用 QUIC 传输 https://gofrp.org/zh-cn/docs/reference/visitor/#xtcpvisitorconfig #3771
Author
Owner

@mlkt commented on GitHub (Dec 3, 2023):

TLS了肯定是加密了的啊

<!-- gh-comment-id:1837448080 --> @mlkt commented on GitHub (Dec 3, 2023): TLS了肯定是加密了的啊
Author
Owner

@github-actions[bot] commented on GitHub (Jan 3, 2024):

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

<!-- gh-comment-id:1874724007 --> @github-actions[bot] commented on GitHub (Jan 3, 2024): 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#3029
No description provided.