How does onion routing (TOR) provide a return path?

I was curious about TOR so I started reading a few sites about it. I am not a network expert but I have a clue, and I understand the explanation of a packet being sent using layered encryption. But one thing that none of these sites explain is how does a response go back to the originator? All of the path info is stripped out as the packet takes each hop to its destination, so the sender’s IP is not available. So how does a response get back? The only thing I could figure out is that each node saves each packet it forwards so it can match a response packet to the sent packet and reverse the process, but I’m not even sure such a match is possible; my limited understanding of TCP/IP is that a packet is sessionless so you would not be able to take a response and match it up with what it was responding to, at the packet level.

Moderator Action

Unfortunately, discussions about IP hiding techniques are not permitted here.

In that past I have tried to allow discussions like this which do not give any “how to” information and which stay on the legal side of the line, but we have had too many thread participants who have willfully violated the intention of the rules to get their point across without technically violating whatever rules we have tried to set up in such threads. Since these threads have proven too problematic to moderate, I have been forced to revert to the old blanket ban of all discussions involving IP hiding.

Thread closed.