I was reading https://security.stackexchange.com/questions/36571/why-can-a-tor-exit-node-decrypt-data-but-not-the-entry-node and it got me thinking:
How does a tor node knows that the next hop is a node and not the final destination?.
In the normal
tcp/ip packet you have
source address and
destination address. How can TOR packets know that they did not reached their destination and it's not only another hop on the chain? Does the packet has any type of
TCP options like the
TCP/IP packet does?