From 7bb269548db1170b97457ef1b5a4e9267f62ecf2 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Wed, 29 Nov 2017 09:19:02 -0500 Subject: [PATCH] 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 --- changes/ticket24425 | 4 ++++ src/or/hs_common.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 changes/ticket24425 diff --git a/changes/ticket24425 b/changes/ticket24425 new file mode 100644 index 000000000..aa6f082bc --- /dev/null +++ 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 index c95e59a6f..1ddbeb55f 100644 --- 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