[tor-bugs] #7193 [Core Tor/Tor]: Tor's sybil protection doesn't consider IPv6

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Mar 30 03:11:48 UTC 2020


#7193: Tor's sybil protection doesn't consider IPv6
-------------------------------------------------+-------------------------
 Reporter:  asn                                  |          Owner:  (none)
     Type:  enhancement                          |         Status:
                                                 |  needs_revision
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  unspecified
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  ipv6, intro, tor-dirauth, security,  |  Actual Points:
  sybil, network-health, outreachy-ipv6,         |
  network-team-roadmap-2020Q1                    |
Parent ID:  #24403                               |         Points:  1
 Reviewer:  nickm                                |        Sponsor:
                                                 |  Sponsor55-can
-------------------------------------------------+-------------------------

Comment (by teor):

 I agree with Nick's answer to this question:
 > It probably makes sense for there to be two different variants of the
 function -- one that sorts by ipv6 and one that sorts by ipv4. The parts
 of the two functions that would be shared in common should turn into a
 third function that they both would call.

 I don't mind so much about the interface between get_possible_sybil_list()
 and dirserv_generate_networkstatus_vote_obj().

 It seems like a good idea to me to get separate lists of IPv4 and IPv6
 sybils. You could try to merge them before returning to
 dirserv_generate_networkstatus_vote_obj(), but that might be hard. Or you
 could just loop through each list separately, and call
 rep_hist_make_router_pessimal() on them all.

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


More information about the tor-bugs mailing list