]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
hs-common: Reduce HS_TIMER_PERIOD_LENGTH_MIN from 30 to 5
authorJim Newsome <jnewsome@torproject.org>
Tue, 10 Jun 2025 22:13:41 +0000 (17:13 -0500)
committerJim Newsome <jnewsome@torproject.org>
Tue, 10 Jun 2025 22:17:38 +0000 (17:17 -0500)
This matches the tor-spec change
<https://gitlab.torproject.org/tpo/core/torspec/-/merge_requests/406>

Progress on
<https://gitlab.torproject.org/tpo/core/chutney/-/issues/40038>

changes/hsdir-interval [new file with mode: 0644]
src/feature/hs/hs_common.h

diff --git a/changes/hsdir-interval b/changes/hsdir-interval
new file mode 100644 (file)
index 0000000..5a4507e
--- /dev/null
@@ -0,0 +1,2 @@
+  o Minor features (hidden services):
+    - Reduce the minimum value of hsdir_interval to match recent tor-spec change.
index 48c112110c1d297e3afcf1e0218593255f40e6de..757e326b08884a10244d130de63d2d5cff380dad 100644 (file)
@@ -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