[tor-bugs] #25224 [Core Tor/Tor]: Create a new consensus method that ignores guardfraction votes

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Feb 12 19:05:00 UTC 2018


#25224: Create a new consensus method that ignores guardfraction votes
------------------------------+------------------------------------
     Reporter:  teor          |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.4.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  tor-dirauth, tor-guard
Actual Points:                |  Parent ID:  #24456
       Points:  1             |   Reviewer:
      Sponsor:                |
------------------------------+------------------------------------
 And here is how we remove code that depends on consensus method 20 (the
 guardfraction method):

 1. Create a new consensus method that ignores guardfraction votes. This
 new method can go in 034.

 2. Change all the code that says ">= MIN METHOD FOR GUARDFRACTION" to say
 ">= MIN METHOD FOR GUARDFRACTION and < MIN METHOD TO IGNORE GUARDFRACTION"
 (the new method). This disables guardfraction when the new method or any
 later method is used. See consensus method 28 for an example of the code
 and spec that we need to remove a consensus feature.

 3. When we will never revert to a lower consensus method (two releases
 later, 036), stop authorities voting for the buggy methods 20-28, and
 remove a whole bunch of old code, including all the guardfraction code.

 4. At that time, we might want to remove all the methods lower than 20,
 too. See #24378.

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


More information about the tor-bugs mailing list