oxen-io / lokinet

Lokinet is an anonymous, decentralized and IP based overlay network for the internet.
https://lokinet.org/
GNU General Public License v3.0
1.71k stars 220 forks source link

onion encrypt path build frames #2223

Closed tewinget closed 7 months ago

tewinget commented 7 months ago

Depends #2216

path build frames should be onioned at each hop to avoid a bad actor controlling two nodes in a path being able to know with certainty, temporal correlation is hard to avoid) that they're hops on the same path. This is desirable as in the worst case someone could be your edge hop and terminal hop on a path, and now the terminal hop knows your IP, making the path basically pointless.