aboutsummaryrefslogtreecommitdiff
path: root/scripts/maint/updateFallbackDirs.py
diff options
context:
space:
mode:
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>2016-06-22 09:16:29 +1000
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>2016-06-22 11:56:27 +1000
commit6ce53668f4d043fbc4662ac381823adea8d0ab24 (patch)
tree3c4ec9df1b95d1f8f8bf4d1104f226d6be8b851a /scripts/maint/updateFallbackDirs.py
parentb432efb8381360fb10179c67156b8ed5a05e290b (diff)
downloadtor-6ce53668f4d043fbc4662ac381823adea8d0ab24.tar.gz
tor-6ce53668f4d043fbc4662ac381823adea8d0ab24.zip
Document how to test the hard-coded fallback list
Diffstat (limited to 'scripts/maint/updateFallbackDirs.py')
-rwxr-xr-xscripts/maint/updateFallbackDirs.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/maint/updateFallbackDirs.py b/scripts/maint/updateFallbackDirs.py
index 464d8476f0..7fcb3658c4 100755
--- a/scripts/maint/updateFallbackDirs.py
+++ b/scripts/maint/updateFallbackDirs.py
@@ -1909,6 +1909,10 @@ def list_fallbacks():
prefilter_fallbacks = copy.copy(candidates.fallbacks)
# filter with the whitelist and blacklist
+ # if a relay has changed IPv4 address or ports recently, it will be excluded
+ # as ineligible before we call apply_filter_lists, and so there will be no
+ # warning that the details have changed from those in the whitelist.
+ # instead, there will be an info-level log during the eligibility check.
initial_count = len(candidates.fallbacks)
excluded_count = candidates.apply_filter_lists()
print candidates.summarise_filters(initial_count, excluded_count)