diff options
author | teor <teor2345@gmail.com> | 2017-12-22 21:49:28 +1100 |
---|---|---|
committer | teor <teor2345@gmail.com> | 2018-01-05 13:26:14 +1100 |
commit | 9a0cf2376de2ea32cf9059c6760b3d6a0c19e6fa (patch) | |
tree | f21817e0838a5dae423b0f5294923104b11c8ae5 /scripts/maint/updateFallbackDirs.py | |
parent | 23979d76828a0610140ab8cf43572f8c744d571f (diff) | |
download | tor-9a0cf2376de2ea32cf9059c6760b3d6a0c19e6fa.tar.gz tor-9a0cf2376de2ea32cf9059c6760b3d6a0c19e6fa.zip |
Update comment and add changes file for 20942
Diffstat (limited to 'scripts/maint/updateFallbackDirs.py')
-rwxr-xr-x | scripts/maint/updateFallbackDirs.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/maint/updateFallbackDirs.py b/scripts/maint/updateFallbackDirs.py index 8ca5a72961..cf96fc308f 100755 --- a/scripts/maint/updateFallbackDirs.py +++ b/scripts/maint/updateFallbackDirs.py @@ -98,10 +98,11 @@ DOWNLOAD_MICRODESC_CONSENSUS = True # reject consensuses that are older than REASONABLY_LIVE_TIME. # For the consensus expiry check to be accurate, the machine running this # script needs an accurate clock. -# We use 24 hours to compensate for #20909, where relays on 0.2.9.5-alpha and -# 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. +# +# Relays on 0.3.0 and later return a 404 when they are about to serve an +# expired consensus. This makes them fail the download check. +# We use a tolerance of 0, so that 0.2.x series relays also fail the download +# check if they serve an expired consensus. CONSENSUS_EXPIRY_TOLERANCE = 0 # Output fallback name, flags, bandwidth, and ContactInfo in a C comment? |