]> git.ipfire.org Git - thirdparty/tor.git/commit
Clean up and fix exit policy check in connection_exit_connect().
authorNick Mathewson <nickm@torproject.org>
Wed, 5 Oct 2016 16:38:03 +0000 (12:38 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 5 Oct 2016 16:44:53 +0000 (12:44 -0400)
commit785176e97545b2e7fc65bb80cf7aa13c9adc3fc4
treef8dc5b27a1e104cd5f425c1efb8350e4be85ee23
parent684500519d5060fcbcc410a0e71d8d9a32fa8220
Clean up and fix exit policy check in connection_exit_connect().

Previously, we would reject even rendezvous connections to IPv6
addresses when IPv6Exit was false.  But that doesn't make sense; we
don't count that as "exit"ing.  I've corrected the logic and tried
to make it a lottle more clear.

Fixes bug 18357; this code has been wrong since 9016d9e8294a352 in
0.2.4.7-alpha.
changes/bug18357 [new file with mode: 0644]
src/or/connection_edge.c