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

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


#17950: Make address family search more accurate
-------------------------+------------------------------------
 Reporter:  teor         |          Owner:  rl1987
     Type:  enhancement  |         Status:  needs_revision
 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):

 * status:  needs_review => needs_revision


Comment:

 Let's keep the old conditional just to be safe - it will make sure that
 AF_UNSPEC only stands for IPv4 and IPv6 in ifaddrs_to_smartlist.
 {{
     if (i->ifa_addr->sa_family != AF_INET &&
         i->ifa_addr->sa_family != AF_INET6)
       continue;
 }}

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


More information about the tor-bugs mailing list