nskinkel / oppy

A Tor client (onion proxy) implementation in Python
BSD 3-Clause "New" or "Revised" License
24 stars 3 forks source link

Use "this_or_addresses" field in recieved NETINFO cell to verify we've connected to the correct address. #94

Closed nskinkel closed 9 years ago

nskinkel commented 9 years ago

From tor-spec.txt:

Initiators SHOULD use "this OR's address" to make sure that they have connected to another OR at its canonical address.

We should do this check during the connection handshake process.

nskinkel commented 9 years ago

This is covered in the "simplifications" documentation.