diff options
author | Roger Dingledine <arma@torproject.org> | 2006-07-17 06:35:06 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-07-17 06:35:06 +0000 |
commit | f53cbeeb68b97438145067ca418e1ab35d867471 (patch) | |
tree | ff097afa2b9d20601c357ffec475df49b87d1db6 /trunk/src/common/tortls.h | |
parent | aae02335aacca1419e79a306a3c725ce8bd0e689 (diff) | |
download | tor-f53cbeeb68b97438145067ca418e1ab35d867471.tar.gz tor-f53cbeeb68b97438145067ca418e1ab35d867471.zip |
Allow servers with no hostname or IP address to learn their IP address
by asking the directory authorities. This code only kicks in when you
would normally have exited with a "no address" error.
This design is flawed, though, since the X-Your-Address-Is header is not
authenticated, and doing it this way introduces too many new attacks. The
right answer is to give IP address hints inside the HELLO cell; much of
this code can be reused when we switch.
svn:r6774
Diffstat (limited to 'trunk/src/common/tortls.h')
0 files changed, 0 insertions, 0 deletions