[tor-talk] ADDRMAP reversed IP bug

tor at lists.grepular.com tor at lists.grepular.com
Mon Apr 30 21:28:09 UTC 2012


I've come across what appears to be a bug. In the following control port
debug log you'll see I look up the IP address of "grepular.com" three
times in a row. Look how the octets of the IP address in the ADDRMAP
responses are reversed in the second and third responses:

========================================================================
mike at alfa:~$ telnet localhost 9051
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
AUTHENTICATE XXXXX
250 OK
SETEVENTS addrmap
250 OK
RESOLVE grepular.com
250 OK
650 ADDRMAP grepular.com 178.79.145.246 "2012-05-01 01:21:07"
EXPIRES="2012-05-01 00:21:07"
RESOLVE grepular.com
650 ADDRMAP grepular.com 246.145.79.178 "2012-05-01 01:21:07"
EXPIRES="2012-05-01 00:21:07"
250 OK
RESOLVE grepular.com
650 ADDRMAP grepular.com 246.145.79.178 "2012-05-01 01:21:07"
EXPIRES="2012-05-01 00:21:07"
250 OK
========================================================================

If I disconnect and reconnect, they're reversed from the very first
response. If I restart Tor and try again, then the first response is
correct, but the subsequent responses are all reversed again. This
happens for any domain I test. The "tor-resolve" command doesn't display
this problem. I'm running version "0.2.3.14-alpha"

-- 
Mike Cardwell  https://grepular.com/     http://cardwellit.com/
OpenPGP Key    35BC AF1D 3AA2 1F84 3DC3  B0CF 70A5 F512 0018 461F
XMPP OTR Key   8924 B06A 7917 AAF3 DBB1  BF1B 295C 3C78 3EF1 46B4

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 598 bytes
Desc: OpenPGP digital signature
URL: <http://lists.torproject.org/pipermail/tor-talk/attachments/20120430/97c1741a/attachment.pgp>


More information about the tor-talk mailing list