[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] hs-v3: Log info INTRO2 DoS defenses service values
commit 292e9b0c002fb695f77665d86908bb5cb1759ee6
Author: David Goulet <dgoulet@xxxxxxxxxxxxxx>
Date: Tue Aug 20 09:04:43 2019 -0400
hs-v3: Log info INTRO2 DoS defenses service values
Signed-off-by: David Goulet <dgoulet@xxxxxxxxxxxxxx>
---
src/feature/hs/hs_config.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/feature/hs/hs_config.c b/src/feature/hs/hs_config.c
index 51558f323..7424d7d3c 100644
--- a/src/feature/hs/hs_config.c
+++ b/src/feature/hs/hs_config.c
@@ -374,6 +374,8 @@ config_service_v3(const config_line_t *line_,
goto err;
}
dos_rate_per_sec = true;
+ log_info(LD_REND, "Service INTRO2 DoS defenses rate set to: %" PRIu32,
+ config->intro_dos_rate_per_sec);
continue;
}
if (!strcasecmp(line->key, "HiddenServiceEnableIntroDoSBurstPerSec")) {
@@ -388,6 +390,8 @@ config_service_v3(const config_line_t *line_,
goto err;
}
dos_burst_per_sec = true;
+ log_info(LD_REND, "Service INTRO2 DoS defenses burst set to: %" PRIu32,
+ config->intro_dos_burst_per_sec);
continue;
}
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits