-
-
Save tomrittervg/e0552ed007dbe50077528936b09a2eff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | |
<---- RELAY_BEGIN ---- | |
----- CONNECTED ------> | |
----- SOCKS REPLY to blabla.onion -----> | |
<---- HTTP GET ------------------------- | |
<---- DATA ----------- | |
----- DATA ----------> | |
----- HTTP RESPONSE ---------------------> | |
Optimized situation | |
blabla.onion Tor Tor Browser | |
<user asks for blabla.onion> | |
<--- SOCKS CONNECT to blabla.onion --- | |
<Tor fetches descriptor> | |
<Tor does introduction> | |
----- FAKE SUCCESSFUL SOCKS REPLY ---> | |
<---- HTTP GET ----------------------- | |
<Tor does rendezvous> | |
<---- RELAY_BEGIN ---- | |
<---- DATA ----------- | |
----- CONNECTED ------> | |
----- DATA ----------> | |
----- HTTP RESPONSE ---------------------> | |
Alternate Optimized Situation (Race Condition) | |
blabla.onion Tor Tor Browser | |
<user asks for blabla.onion> | |
<--- SOCKS CONNECT to blabla.onion --- | |
<Tor fetches descriptor> | |
<Tor does introduction> | |
----- FAKE SUCCESSFUL SOCKS REPLY ---> | |
<Tor does rendezvous> | |
<---- RELAY_BEGIN ---- | |
----- CONNECTED ------> | |
<---- HTTP GET ----------------------- | |
<---- DATA ----------- | |
----- DATA ----------> | |
----- HTTP RESPONSE ---------------------> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment