tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 65520f1bde36286765424cf29f50d67cbc9d8df1
parent d30d3fe8ed4b88c070736b22e2de16dcfe9a1b80
Author: teor <teor2345@gmail.com>
Date:   Fri,  5 Jan 2018 00:23:52 +1100

Stop logging excessive information about fallback netblocks

Implements ticket 24791

Diffstat:
Achanges/ticket24791 | 3+++
Mscripts/maint/updateFallbackDirs.py | 4++--
2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/changes/ticket24791 b/changes/ticket24791 @@ -0,0 +1,3 @@ + o Code simplification and refactoring (fallbacks): + - Stop logging excessive information about fallback netblocks. + Implements ticket 24791. diff --git a/scripts/maint/updateFallbackDirs.py b/scripts/maint/updateFallbackDirs.py @@ -1996,7 +1996,7 @@ class CandidateList(dict): # this doesn't actually tell us anything useful #self.describe_fallback_ipv4_netblock_mask(8) self.describe_fallback_ipv4_netblock_mask(16) - self.describe_fallback_ipv4_netblock_mask(24) + #self.describe_fallback_ipv4_netblock_mask(24) # log a message about the proportion of fallbacks in each IPv6 /12 (RIR), # /23 (smaller RIR blocks), /32 (LIR), /48 (Customer), and /64 (Host) @@ -2006,7 +2006,7 @@ class CandidateList(dict): #self.describe_fallback_ipv6_netblock_mask(12) #self.describe_fallback_ipv6_netblock_mask(23) self.describe_fallback_ipv6_netblock_mask(32) - self.describe_fallback_ipv6_netblock_mask(48) + #self.describe_fallback_ipv6_netblock_mask(48) self.describe_fallback_ipv6_netblock_mask(64) # log a message about the proportion of fallbacks in each IPv4 and IPv6