[tor-commits] [sbws/master] fix: v3bwfile: Take all measurements when IP changes

juga at torproject.org juga at torproject.org
Wed Aug 26 13:52:12 UTC 2020


commit f82ea6a6ac95d2eb61211b4ca7af84a52ce55e13
Author: juga0 <juga at riseup.net>
Date:   Tue Jun 23 17:35:39 2020 +0000

    fix: v3bwfile: Take all measurements when IP changes
    
    Previously, when a relay changes IP, only the measurements with the
    last IP were considered.
    Relays with dynamic IP could get unmeasured that way.
    Now, all the measurements are considered.
    
    Closes: #33832. Bugfix 0.5.0.
---
 sbws/config.default.ini | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sbws/config.default.ini b/sbws/config.default.ini
index 81b4b07..f159b68 100644
--- a/sbws/config.default.ini
+++ b/sbws/config.default.ini
@@ -30,7 +30,7 @@ circuit_timeout = 10
 # address changes. If it changes, we only consider results for the relay that
 # we obtained while the relay was located at its most recent IP address.
 # This is NOT implemented for IPv6.
-reset_bw_ipv4_changes = on
+reset_bw_ipv4_changes = off
 reset_bw_ipv6_changes = off
 
 [scanner]
@@ -123,4 +123,3 @@ to_stdout_format = ${format}
 to_syslog_format = %(module)s[%(process)s]: <%(levelname)s> %(message)s
 # verbose formatter useful for debugging
 to_file_format = %(asctime)s %(levelname)s %(threadName)s %(filename)s:%(lineno)s - %(funcName)s - %(message)s
-





More information about the tor-commits mailing list