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

Better privacy by fragmenting SNI clientHello #24

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

heri16
Copy link

@heri16 heri16 commented Apr 7, 2019

Implement better privacy of tlsrouter by fragmenting SNI clientHello.
This should prevent high-traffic DPI snooping.

Add feature to use regex capture groups for dynamic routing.

Both features used together can circumvent some forms of censorship by ISP.

Breakdown

  • Add tcp fragmentation / segmentation of clientHello for better privacy (enabled by default)
  • Expand regex capture groups for dynamic routing. See below.

Example config:

/(.+)\.oca\.nflxvideo\.net$/    $1.oca.nflxvideo.net:443
/(?P<subdomain>.+)\.oca\.nflxvideo\.net$/    ${subdomain}.oca.nflxvideo.net:443

@bradfitz
Copy link
Collaborator

bradfitz commented Apr 7, 2019

The new regexp functionality would require tests.

What's with the unrelated DNS changes?

What is your threat model for "high-traffic DPI snooping"? The flag docs for the new hello-mss option don't say what value somebody would want, or how to disable it.

@heri16
Copy link
Author

heri16 commented May 21, 2020

I've made all these optional features disabled by default.

An explanation on how to use these features:
https://gist.github.com/heri16/5e7a54190287103905622c23aaf884ca

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.

2 participants