tor

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

commit 7bb269548db1170b97457ef1b5a4e9267f62ecf2
parent ef54610442ee2f2a9143c6c55edb98da19cc3344
Author: David Goulet <dgoulet@torproject.org>
Date:   Wed, 29 Nov 2017 09:19:02 -0500

hs-v3: Bump hsdir_spread_store from 3 to 4

Per the analysis in
https://trac.torproject.org/projects/tor/ticket/23170#comment:17, this will
greatly improve service reachability.

Closes #24425

Signed-off-by: David Goulet <dgoulet@torproject.org>

Diffstat:
Achanges/ticket24425 | 4++++
Msrc/or/hs_common.h | 2+-
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/changes/ticket24425 b/changes/ticket24425 @@ -0,0 +1,4 @@ + o Minor bugfixes (hidden service v3): + - Bump hsdir_spread_store parameter from 3 to 4 in order to increase the + probability of reaching a service for a client missing microdescriptors. + Fixes bug 24425; bugfix on 0.3.2.1-alpha. diff --git a/src/or/hs_common.h b/src/or/hs_common.h @@ -114,7 +114,7 @@ /* Default value of number of hsdir replicas (hsdir_n_replicas). */ #define HS_DEFAULT_HSDIR_N_REPLICAS 2 /* Default value of hsdir spread store (hsdir_spread_store). */ -#define HS_DEFAULT_HSDIR_SPREAD_STORE 3 +#define HS_DEFAULT_HSDIR_SPREAD_STORE 4 /* Default value of hsdir spread fetch (hsdir_spread_fetch). */ #define HS_DEFAULT_HSDIR_SPREAD_FETCH 3