Skip to content

uTLS support#212

Closed
ghost wants to merge 4 commits intomainfrom
unknown repository
Closed

uTLS support#212
ghost wants to merge 4 commits intomainfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Jan 27, 2021

1.新增uTLS 支持. 目前只作用于 TLS
2.配置如下
"tlsSettings": { "fingerprint" : "chrome" }

3.具体指纹

  • “chrome”,伪造Chrome指纹
  • “firefox”,伪造Firefox指纹
  • “safari”,伪造safari指纹
  • "randomized", 伪造随机指纹

@RPRX RPRX self-requested a review January 28, 2021 13:53
Copy link
Member

@RPRX RPRX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

""
"chrome"
"firefox"
"safari"
"randomized"
  1. safari 而不是 ios 是因为 M1
  2. randomized 是“随机生成的”,random 会被误解为“从其它三个指纹中随机选”
  3. 可能需要在适当的地方加上 strings.ToLower()

@RPRX
Copy link
Member

RPRX commented Jan 28, 2021

这个功能很重要,但多引入一个 uTLS 库后就有三个 TLS 库了,不太优雅,也占空间。

所以我们直接把 uTLS 多出来的代码合并到 XTLS 库是更合适的方案:

  1. XTLS 也可以有指纹伪造功能(况且这个迟早都要加)
  2. uTLS 没跟上 Golang 官方 TLS 库的一些更新,XTLS 紧跟
  3. 有一个由我们维护、可自定义的超级 TLS 库是有长远意义的

@SekiBetu
Copy link

一个伊朗兄弟的需求:增加uTLS对ws协议的支持,目前应该只是支持tcp吧?

@AkinoKaede
Copy link
Contributor

一个伊朗兄弟的需求:增加uTLS对ws协议的支持,目前应该只是支持tcp吧?

应该是因为目前用的 WebSocket 库只支持 http/1.1

@RPRX RPRX mentioned this pull request Mar 29, 2021
@RPRX
Copy link
Member

RPRX commented Mar 29, 2021

感谢 PR,#451

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants