Skip to content

Instantly share code, notes, and snippets.

@asn-d6
Created October 10, 2019 10:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save asn-d6/55fbe7a3d746dc7e00da25d3ce90268a to your computer and use it in GitHub Desktop.
Save asn-d6/55fbe7a3d746dc7e00da25d3ce90268a to your computer and use it in GitHub Desktop.
Normal situation
blabla.onion Tor Tor Browser
<user asks for blabla.onion>
<--- SOCKS CONNECT to blabla.onion ---
<Tor fetches descriptor>
<Tor does introduction>
<Tor does rendezvous>
----- SOCKS REPLY to blabla.onion ----->
<---- HTTP GET -------------------------
<---- RELAY_BEGIN ----
<---- DATA -----------
----- CONNECTED ------>
----- HTTP RESPONSE --------------------->
Optimized situation
blabla.onion Tor Tor Browser
<user asks for blabla.onion>
<--- SOCKS CONNECT to blabla.onion ---
----- FAKE SUCCESSFUL SOCKS REPLY --->
<---- HTTP GET -----------------------
<Tor fetches descriptor>
<Tor does introduction>
<Tor does rendezvous>
<---- RELAY_BEGIN ----
<---- DATA -----------
----- CONNECTED ------>
----- HTTP RESPONSE --------------------->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment