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

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs