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

Add ECH Support (Cloudflare Enabled it by default) #382

Closed
Gharib110 opened this issue Dec 6, 2024 · 0 comments
Closed

Add ECH Support (Cloudflare Enabled it by default) #382

Gharib110 opened this issue Dec 6, 2024 · 0 comments

Comments

@Gharib110
Copy link

Gharib110 commented Dec 6, 2024

Describe the feature

I have noticed that cloudflare enabled ech by default which camouflage the real sni of connection with cloudflare-ech.com (inner and outer sni, refer you to the official cloudflare blog)

check it with dig +short rutracker.net HTTPS

I have tested it with sing-box which use https://github.com/cloudflare/circl to implement ech key generation and cloudflare use this repo for its own infrastructure too.

The Application Layer Protocol Negotiation with my observations based on the Sing-Box app should be http/1.1 or h3. I could not realize why h2 does not work !

Describe the reason for such feature

It could be helpful for circumventing the DPI systems. It requires h3 as ALPN too along with a DOH to prevent real sni leakage in dns queries.
The censorship systems try to censor the SNI of the websocket connections but the SNI will be cloudflare-ech.com if you implement it.

Thank you for this amazing project
My full description is available in this issue.
https://github.com/net4people/bbs/issues/431#issue-2723063560
I can also provide my Wireshark traffic dump for inspection.

Describe alternatives you've considered

Maybe proxifying the whole traffic through the Sing-Box with ech enabled.

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

No branches or pull requests

1 participant