[tor-bugs] #20942 [Core Tor/Fallback Scripts]: Make consensus expiry tolerance for fallbacks lower when the stale consensus bug is fixed

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Dec 14 02:33:28 UTC 2017


#20942: Make consensus expiry tolerance for fallbacks lower when the stale
consensus bug is fixed
---------------------------------------+-----------------------------------
 Reporter:  teor                       |          Owner:  teor
     Type:  enhancement                |         Status:  new
 Priority:  Medium                     |      Milestone:  Tor:
                                       |  0.3.3.x-final
Component:  Core Tor/Fallback Scripts  |        Version:
 Severity:  Normal                     |     Resolution:
 Keywords:  fallback                   |  Actual Points:
Parent ID:  #22271                     |         Points:  0.1
 Reviewer:                             |        Sponsor:
---------------------------------------+-----------------------------------

Comment (by ingoglia.osource@…):

 Here is the diff for changing the CONSENSUS_EXPIRY_TOLERANCE to 0:

 diff --git a/scripts/maint/updateFallbackDirs.py
 b/scripts/maint/updateFallbackDirs.py
 index 82a60420b..cfd72c87d 100755
 --- a/scripts/maint/updateFallbackDirs.py
 +++ b/scripts/maint/updateFallbackDirs.py
 @@ -102,7 +102,7 @@ DOWNLOAD_MICRODESC_CONSENSUS = True
  # 0.3.0.0-alpha-dev and later deliver stale consensuses, but typically
 recover
  # after ~12 hours.
  # We should make this lower when #20909 is fixed, see #20942.
 -CONSENSUS_EXPIRY_TOLERANCE = 24*60*60
 +CONSENSUS_EXPIRY_TOLERANCE = 0

  # Output fallback name, flags, bandwidth, and ContactInfo in a C comment?
  OUTPUT_COMMENTS = True if OUTPUT_CANDIDATES else False

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


More information about the tor-bugs mailing list