[tor-bugs] #26436 [Core Tor/Tor]: Check uses of CMP_SEMANTIC for IP addresses

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jun 21 02:20:07 UTC 2018


#26436: Check uses of CMP_SEMANTIC for IP addresses
-------------------------+-------------------------------------------------
     Reporter:  teor     |      Owner:  (none)
         Type:  defect   |     Status:  new
     Priority:  Medium   |  Milestone:  Tor: unspecified
    Component:  Core     |    Version:
  Tor/Tor                |   Keywords:  tor-dirauth, ipv6,
     Severity:  Normal   |  033-triage-20180320, 033-removed-20180320
Actual Points:           |  Parent ID:  #24546
       Points:           |   Reviewer:
      Sponsor:           |
-------------------------+-------------------------------------------------
 From #24546 comment 1:

 We should also audit all uses of tor_addr_compare(a1, a2, CMP_EXACT) to
 see if they should be CMP_SEMANTIC instead.
 The current uses of CMP_SEMANTIC seem reasonable, but not essential: they
 code would still work if we rejected mapped addresses and did exact
 comparisons instead.

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


More information about the tor-bugs mailing list