[tor-bugs] #24393 [Core Tor/Tor]: Clients should check IPv4 and IPv6 subnets when choosing circuit paths

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Sep 5 05:21:02 UTC 2018


#24393: Clients should check IPv4 and IPv6 subnets when choosing circuit paths
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:  neel
     Type:  defect                               |         Status:
                                                 |  assigned
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  unspecified
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  ipv6, intro, tor-dirauth, security,  |  Actual Points:
  sybil, 034-triage-20180328,                    |
  034-removed-20180328                           |
Parent ID:  #24403                               |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by teor):

 Replying to [comment:12 neel]:
 > Can I assume this bug is fixed as #15518 is committed already? If not,
 where in the codebase should I look?

 You should look for places where addrs_in_same_network_family() is called.
 Last time I looked, it was only called on IPv4 addresses.
 We also need to check IPv6 addresses, if both nodes have them.

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


More information about the tor-bugs mailing list