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

[Tor] Follow HTTP/2 ALTSVC upgrade announcements to .onion routes #3200

Closed
da2x opened this issue Feb 2, 2019 · 2 comments
Closed

[Tor] Follow HTTP/2 ALTSVC upgrade announcements to .onion routes #3200

da2x opened this issue Feb 2, 2019 · 2 comments

Comments

@da2x
Copy link

da2x commented Feb 2, 2019

Description

The Tor Browser can upgrade a connection that uses a Tor exit node (onto the public web) to use Tor onion routing instead. This increases privacy and performance and reduces the load on exit nodes by allowing more traffic to be kept entirely inside the Tor onion network.

Technically, this upgrade happens using a HTTP/2 ALTSVC frame that announces a new route to a .onion domain. See RFC 7838 and Introducing the Cloudflare Onion Service.

Steps to Reproduce

  1. Open a Tor window
  2. Go to https://www.facebook.com/si/proxy
  3. Wait a 5–10 seconds and reload. Note the word displayed on the page.
  4. Repeat 3. a few times.

Actual result:

Page repeatedly says "tor".

Expected result:

Page should say "tor" for the first page load and afterwards say "onion" on subsequent page loads.

You can also test with https://perfectoid.space/test.php (ignore the expired certificate). Page is expected to be yellow on the first load and then turn green.

Reproduces how often:

Every time.

Brave version (brave://version info)

Brave | 0.58.21 Chromium: 71.0.3578.98 (Official Build)(64-bit)
Revision | 15234034d19b85dcd9a03b164ae89d04145d8368-refs/branch-heads/3578@{#897}
OS | Linux

Reproducible on current release:

  • Yes.

Website problems only:

  • Does the issue resolve itself when disabling Brave Shields?
  • Is the issue reproducible on the latest version of Chrome?

Additional Information

Facebook (!) and all Cloudflare hosted websites announce an .onion route via HTTP/2 ALTSVC. Meaning this feature should work with a whole lot of websites.

@srirambv srirambv added this to the 1.x Backlog milestone Feb 4, 2019
@srirambv
Copy link
Contributor

srirambv commented Feb 4, 2019

cc: @tomlowenthal @riastradh-brave

@da2x da2x changed the title [Tor] Follow HTTP/2 ALTSRV upgrade announcements to .onion routes [Tor] Follow HTTP/2 ALTSVC upgrade announcements to .onion routes Feb 4, 2019
@rebron rebron removed this from the 1.x Backlog milestone Feb 7, 2019
@tildelowengrimm
Copy link
Contributor

@da2x This is already planned, and thanks for useful additional references! The current issue tracking this work is #1121.

@tildelowengrimm tildelowengrimm added this to the Dupe / Invalid / Not actionable milestone Feb 7, 2019
@tildelowengrimm tildelowengrimm added the closed/duplicate Issue has already been reported label Feb 7, 2019
@bbondy bbondy removed this from the Dupe / Invalid / Not actionable milestone May 30, 2020
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

5 participants