[tor-commits] [tor/master] hs-v3: Clarify comment in hs_dos.c

nickm at torproject.org nickm at torproject.org
Mon Sep 9 16:35:37 UTC 2019


commit 1c4607b13254942256b869ff0044d205518cc949
Author: David Goulet <dgoulet at torproject.org>
Date:   Tue Aug 20 09:10:08 2019 -0400

    hs-v3: Clarify comment in hs_dos.c
    
    Signed-off-by: David Goulet <dgoulet at torproject.org>
---
 src/feature/hs/hs_dos.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/feature/hs/hs_dos.c b/src/feature/hs/hs_dos.c
index c7d420195..0ae36017f 100644
--- a/src/feature/hs/hs_dos.c
+++ b/src/feature/hs/hs_dos.c
@@ -45,7 +45,9 @@
  * introduction DoS defense. Disabled by default. */
 #define HS_DOS_INTRODUCE_ENABLED_DEFAULT 0
 
-/* Consensus parameters. */
+/* Consensus parameters. The ESTABLISH_INTRO DoS cell extension have higher
+ * priority than these values. If no extension is sent, these are used only by
+ * the introduction point. */
 static uint32_t consensus_param_introduce_rate_per_sec =
   HS_DOS_INTRODUCE_DEFAULT_CELL_RATE_PER_SEC;
 static uint32_t consensus_param_introduce_burst_per_sec =





More information about the tor-commits mailing list