summaryrefslogtreecommitdiff
path: root/trunk/src/common/util.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-07-17 06:35:06 +0000
committerRoger Dingledine <arma@torproject.org>2006-07-17 06:35:06 +0000
commitf53cbeeb68b97438145067ca418e1ab35d867471 (patch)
treeff097afa2b9d20601c357ffec475df49b87d1db6 /trunk/src/common/util.c
parentaae02335aacca1419e79a306a3c725ce8bd0e689 (diff)
downloadtor-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/util.c')
0 files changed, 0 insertions, 0 deletions