[tor-bugs] #25843 [Core Tor/Tor]: Make NumEntryGuards consistent with #271 consensus params

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Apr 18 19:08:56 UTC 2018


#25843: Make NumEntryGuards consistent with #271 consensus params
------------------------------+--------------------------------
     Reporter:  mikeperry     |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.4.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 Right now, NumEntryGuards tries to do some magic to set "guard-n-primary-
 guards-to-use" to the torrc value, and "guard-n-primary-guards" to twice
 that value.

 This prevents us from testing our current favored Proposal 291 params (2
 for each). So the torrc option could either be changed to set both of
 those values to the same, or we could make two torrc options.

 We should also ensure that whatever we do, we have the ability to set the
 torrc such that we could get the same behavior as *all* existing clients
 would get, with those consensus params, if we wanted. This includes
 directory guards (which we currently believe will and should be the same
 as the two primary guards).

 asn has a testing branch here:
 https://github.com/asn-d6/tor/tree/prop291_testing. This is not ready for
 merge, be could be adapted into a mergable, backportable thing.

 He also has a useful guard log promotion patch here:
 https://github.com/asn-d6/tor/tree/guard_monitor

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


More information about the tor-bugs mailing list