Eli5: what happens when you’re connected to a torr network?

716 views

Eli5: what happens when you’re connected to a torr network?

In: 1

2 Answers

Anonymous 0 Comments

Tor is an implementation of onion routing.

Onion routing is called onion routing because it works with layers of encryption.

The client machine will establish a Tor network by exchanging three encryption keys with 3 Network nodes. The client has all 3 keys, but each Node only receives one.

The client then takes the message it wants to send (e.g. “go to [www.SomeWebsite.com](http://www.SomeWebsite.com)”) it then encrypts that message 3 times with the 3 keys and sends it to the first node.

The first node will then use its key to decrypt the outer most layer of the message. Because the message is encrypted multiple times, all it sees is still gibberish. It then forwards that gibberish to the next node.

Again that node decrypts another layer with its key and forwards to the last node. The last node then decrypts the final layer, reads the message and connects to the “SomeWebsite” Server.

On the way back its the same but in reverse. The last node encrypts the Servers response and sends it to Node2. Node2 then encrypts what it gets and sends it to node 1, who then encrypts it with its key and sends it to the client, who has all 3 keys and can decrypt the message.

The advantage of a Tor network is that if you compromise any one Device (except for the client. If the client is compromised he’s fucked anyway) there is no way to determine who is connecting to which server.

Each Node only forwards the message one step and needs no knowledge at all of any of the other nodes in the network, No node in the network knows both the Endpoint (Server) AND the Client.

You are viewing 1 out of 2 answers, click here to view all answers.