[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-talk] ADDRMAP reversed IP bug



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@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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
tor-talk mailing list
tor-talk@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk