Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TLS 1.3 secure/encrypted SNI extension support #1942

Closed
TheLordOfTheKings opened this issue Apr 14, 2023 · 8 comments
Closed

TLS 1.3 secure/encrypted SNI extension support #1942

TheLordOfTheKings opened this issue Apr 14, 2023 · 8 comments

Comments

@TheLordOfTheKings
Copy link

Hi dear @RPRX ,
Is it possible for you to add secure/encrypted SNI extension support for TLS 1.3? Cloudflare has already supported it. This is the ultimate solution against active prober sub/domain and SNI filtering.

@nursery01
Copy link

The reviewer can still obtain the domain through tls credentials.

@TheLordOfTheKings
Copy link
Author

TheLordOfTheKings commented Apr 15, 2023

The reviewer can still obtain the domain through tls credentials.

Did you mean through tls errors and verbose? I think you can suppress them.

@computerscot
Copy link
Contributor

In the TLSv1.3 Server Hello, isn't everything after "Change Cipher Spec" (including the certificate) encrypted?

In any case, I believe the GFW started blocking TLSv1.3 ESNI back in 2020.

@zxbiao
Copy link

zxbiao commented Apr 19, 2023

ESNI对中国的GFW来说,行为特征明显。可以针对性封杀。
https://geneva.cs.umd.edu/zh/posts/china-censors-esni/esni/

For China's GFW, ESNI has obvious behavioral characteristics. Targeted blocking is possible.
https://geneva.cs.umd.edu/posts/china-censors-esni/esni/

@egg1234
Copy link

egg1234 commented May 14, 2023

揭示和规避中国对加密SNI(ESNI)的封锁
https://gfw.report/blog/gfw_esni_blocking/zh/

SNI 阻断与解决方案 — Steemit
https://steemit.com/cn/@v2ray/sni

@TheLordOfTheKings
Copy link
Author

Dears @RPRX @yuhan6665 @hossinasaadi @sambali9 @rrouzbeh,

Right now the Fragmentation+MUX feature of Xray-core and ECH+MUX feature of sing-box works great with Cloudflare in Iran. No more SNI blocking plus even with some blocked/throttled CF IPs work too for the time being.
IMHO it's time to have ECH/ESNI in Xray-core too, It's better than fragmentation.

@Fangliding
Copy link
Member

Dears @RPRX @yuhan6665 @hossinasaadi @sambali9 @rrouzbeh,

Right now the Fragmentation+MUX feature of Xray-core and ECH+MUX feature of sing-box works great with Cloudflare in Iran. No more SNI blocking plus even with some blocked/throttled CF IPs work too for the time being. IMHO it's time to have ECH/ESNI in Xray-core too, It's better than fragmentation.

We have already mentioned that ECH can be easily detected, and once this small trick is widely used, it is no longer effective. Playing cat and mouse games with GFW is not what we want to do.
Or you can open a pull request to add it

@Fangliding
Copy link
Member

I have tried to implement it in #3253
But after discussion, we have decided to add this feature after Gotls officially supports it

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

No branches or pull requests

6 participants