1

From what I've read the onion routing process goes like this:

  • The client encrypts its traffic to the destination server and sends it to the first node (encrypted);
  • The fird node encrypts it again and then sends it to the seconds node;
  • And so on until the decryption process starts (the amount of nodes the traffic goes through and the layers of encryption can vary. i think.)
  • The last node completely decrypts the traffic and sends it to the destination server unencrypted

  • The server encrypts its response to the client and sends it to a node and the cycle of encryption and decryption starts again, just like the client did in the beginning

  • The client receives the traffic.

My questions are:

  1. Does the server's response reach the client encrypted or unencrypted? Is the cycle exactly the same for the client's request as it is for the server's response?

    1.1 If unencrypted, wouldn't my ISP or anyone else be able to spy on me?

  2. Why does the traffic on the last node go to the destination server fully unencrypted? What prevents it from being encrypted?

Thanks

1
  • Actually, client(You) wraps the packet with multiple layer of encryption. When that packet is sent to first node, it decrypts the first layer of encryption and see where to send the packet. Next node decrypts the second layer just like how you peel onion. The exit node finally decrypts the last layer of encryption and see the contents of the packet.
    – defalt
    Commented Jan 5, 2017 at 8:11

1 Answer 1

1
  1. Does the server's response reach the client encrypted or unencrypted? Is the cycle exactly the same for the client's request as it is for the server's response?

    • It reaches the client encrypted (in multiple layers, although to stop ISP snooping one layer is sufficient, the multiple layers is to stop relays from snooping too). For more information on this see this question and answer.
  2. Why does the traffic on the last node go to the destination server fully unencrypted? What prevents it from being encrypted?

    • Any encryption must be done on the application layer, you could send encrypted data to the destination but the destination must know how to decrypt it. For more inforamtion on this see this question and answer.

P.S. how do you handle a question this is two questions, both of which are duplicates but when combined aren't a single duplicate? This seems like a failing of the StackExchange system...

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .