[tor-bugs] #25183 [Core Tor/Tor]: Implement a way to tell if an IP address is a known relay

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Feb 10 07:02:01 UTC 2018


#25183: Implement a way to tell if an IP address is a known relay
-------------------------------------------------+-------------------------
 Reporter:  dgoulet                              |          Owner:  dgoulet
     Type:  defect                               |         Status:
                                                 |  needs_revision
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.3.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tor-relay, tor-dos, 029-backport,    |  Actual Points:
  031-backport, 032-backport                     |
Parent ID:  #24902                               |         Points:
 Reviewer:  dgoulet                              |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by teor):

 Also, if we ever store an AF_UNSPEC address, these lines should probably
 hash the constant:
 {{{
   case AF_UNSPEC:
     return 0x4e4d5342;
 }}}

 For consistency, we should hash the constant in both the keyed and unkeyed
 versions of the function.

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


More information about the tor-bugs mailing list