]> git.ipfire.org Git - thirdparty/tor.git/commit
Look at all of a RESOLVED cell; not just the first answer.
authorNick Mathewson <nickm@torproject.org>
Fri, 28 Mar 2014 02:24:48 +0000 (22:24 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 2 Apr 2014 19:38:00 +0000 (15:38 -0400)
commitc230ff4ca97ae6bf8ddbf2d19a1a7d33371cde3a
tree4e74636d71900d4b3da6b74d0a12281d34017a35
parent4fb3ae69a6f81d45843998bd1fb6cecf541ef5b8
Look at all of a RESOLVED cell; not just the first answer.

Also, stop accepting the old kind of RESOLVED cells with no TTL
fields; they haven't been sent since 0.1.1.6-alpha.

This patch won't work without the fix to #10468 -- it will break
DNSPorts unless they set the proper ipv4/6 flags on entry_connection_t.
src/or/connection_edge.c
src/or/connection_edge.h
src/or/relay.c
src/or/relay.h