diff options
author | David Goulet <dgoulet@torproject.org> | 2017-11-22 09:25:07 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-11-27 10:00:40 -0500 |
commit | 8be50ca3ea90ac04b8a18c7d9a33f5ec3f3a6e28 (patch) | |
tree | 7b0e5452eef6cbcf2eed6969ae4230056272ef60 /src/or/router.c | |
parent | 831d3b794da65b03be7e4fd107ba209d7211de76 (diff) | |
download | tor-8be50ca3ea90ac04b8a18c7d9a33f5ec3f3a6e28.tar.gz tor-8be50ca3ea90ac04b8a18c7d9a33f5ec3f3a6e28.zip |
relay: Change bandwidth stats interval to 24 hours
Going from 4 hours to 24 hours in order to try reduce the efficiency of guard
discovery attacks.
Closes #23856
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c index 90b2431a22..e1c2d20b3a 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -2064,7 +2064,7 @@ mark_my_descriptor_dirty(const char *reason) /** How frequently will we republish our descriptor because of large (factor * of 2) shifts in estimated bandwidth? */ -#define MAX_BANDWIDTH_CHANGE_FREQ (20*60) +#define MAX_BANDWIDTH_CHANGE_FREQ (3*60*60) /** Check whether bandwidth has changed a lot since the last time we announced * bandwidth. If so, mark our descriptor dirty. */ |