[tor-bugs] #17950 [Tor]: Make address family search more accurate

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jan 8 23:07:25 UTC 2016

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

Comment (by nickm):

 +    if (family != AF_UNSPEC && i->ifa_addr->sa_family != family)

 This means that in addition to AF_INET and AF_INET6 addresses, AF_UNSPEC
 will get you anything else that tor_addr_from_sockaddr can decode,
 including (for now) AF_UNIX addresses.  How do we feel there?  I'm worried
 that we might have some code that uses these addresses that assumes (for
 example) that everything is IPv6 or otherwise IPv4.

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

More information about the tor-bugs mailing list