[tor-bugs] #13808 [Tor]: Tor doesn't pass the appropriate family to getsockopt on src/or/connection_edge.c

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Nov 22 03:06:47 UTC 2014


#13808: Tor doesn't pass the appropriate family to getsockopt on
src/or/connection_edge.c
----------------------+-------------------------------
 Reporter:  klondike  |          Owner:
     Type:  defect    |         Status:  new
 Priority:  normal    |      Milestone:
Component:  Tor       |        Version:  Tor: 0.2.5.10
 Keywords:            |  Actual Points:
Parent ID:            |         Points:
----------------------+-------------------------------
 Tor tries to fetch the original IP address for REDIRECTed packages in
 destination_from_socket

 The problem is that the code uses SOL_IP and SO_ORIGINAL_DST when it
 should use in the case of IPv6 SOL_IPV6 and IP6T_SO_ORIGINAL_DST. Not
 doing so results in a ENOENT error being returned instead and the
 connection dying.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13808>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list