[tor-bugs] #17950 [Tor]: Make address family search more accurate (was: Make address family search more efficient)

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jan 3 13:13:00 UTC 2016


#17950: Make address family search more accurate
-------------------------+------------------------------------
 Reporter:  teor         |          Owner:  rl1987
     Type:  enhancement  |         Status:  accepted
 Priority:  Medium       |      Milestone:  Tor: 0.2.8.x-final
Component:  Tor          |        Version:
 Severity:  Normal       |     Resolution:
 Keywords:  lorax easy   |  Actual Points:
Parent ID:               |         Points:
  Sponsor:               |
-------------------------+------------------------------------
Changes (by teor):

 * milestone:  Tor: 0.2.??? => Tor: 0.2.8.x-final


Comment:

 I split off the ioctl AF_INET6 modifications to #17952, they're lower
 priority as they only affect some obscure platforms.

 As discussed on IRC, if the function is passed AF_UNSPEC, it expects IPv4
 and IPv6 addresses back. So some functions might need to be called twice
 with AF_INET and AF_INET6 if they don't accept AF_UNSPEC. This also
 includes #17951 - the socket hack should be called twice with AF_INET and
 AF_INET6 if AF_UNSPEC is passed.

 Moving to 0.2.8 because this is a correctness patch.

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


More information about the tor-bugs mailing list