From: Jim Newsome Date: Tue, 10 Jun 2025 22:13:41 +0000 (-0500) Subject: hs-common: Reduce HS_TIMER_PERIOD_LENGTH_MIN from 30 to 5 X-Git-Tag: tor-0.4.9.3-alpha~40^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=796d226d1ded943652c2f3d6368af8240b3bbc30;p=thirdparty%2Ftor.git hs-common: Reduce HS_TIMER_PERIOD_LENGTH_MIN from 30 to 5 This matches the tor-spec change Progress on --- diff --git a/changes/hsdir-interval b/changes/hsdir-interval new file mode 100644 index 0000000000..5a4507eb70 --- /dev/null +++ b/changes/hsdir-interval @@ -0,0 +1,2 @@ + o Minor features (hidden services): + - Reduce the minimum value of hsdir_interval to match recent tor-spec change. diff --git a/src/feature/hs/hs_common.h b/src/feature/hs/hs_common.h index 48c112110c..757e326b08 100644 --- a/src/feature/hs/hs_common.h +++ b/src/feature/hs/hs_common.h @@ -52,7 +52,7 @@ struct ed25519_keypair_t; /** The default HS time period length */ #define HS_TIME_PERIOD_LENGTH_DEFAULT 1440 /* 1440 minutes == one day */ /** The minimum time period length as seen in prop224 section [TIME-PERIODS] */ -#define HS_TIME_PERIOD_LENGTH_MIN 30 /* minutes */ +#define HS_TIME_PERIOD_LENGTH_MIN 5 /* minutes */ /** The minimum time period length as seen in prop224 section [TIME-PERIODS] */ #define HS_TIME_PERIOD_LENGTH_MAX (60 * 24 * 10) /* 10 days or 14400 minutes */ @@ -83,7 +83,7 @@ struct ed25519_keypair_t; /** The default HS time period length */ #define HS_TIME_PERIOD_LENGTH_DEFAULT 1440 /* 1440 minutes == one day */ /** The minimum time period length as seen in prop224 section [TIME-PERIODS] */ -#define HS_TIME_PERIOD_LENGTH_MIN 30 /* minutes */ +#define HS_TIME_PERIOD_LENGTH_MIN 5 /* minutes */ /** The minimum time period length as seen in prop224 section [TIME-PERIODS] */ #define HS_TIME_PERIOD_LENGTH_MAX (60 * 24 * 10) /* 10 days or 14400 minutes */ /** The time period rotation offset as seen in prop224 section