diff options
author | David Goulet <dgoulet@torproject.org> | 2019-08-20 09:04:43 -0400 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2019-08-26 15:53:47 +0300 |
commit | 292e9b0c002fb695f77665d86908bb5cb1759ee6 (patch) | |
tree | 227fb9477f828d85a7d6deceb380b1386ec9a414 /src/feature/hs/hs_config.c | |
parent | a98f5099c4c58c25826835fbfc3ce708e5d378fd (diff) | |
download | tor-292e9b0c002fb695f77665d86908bb5cb1759ee6.tar.gz tor-292e9b0c002fb695f77665d86908bb5cb1759ee6.zip |
hs-v3: Log info INTRO2 DoS defenses service values
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/feature/hs/hs_config.c')
-rw-r--r-- | src/feature/hs/hs_config.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/feature/hs/hs_config.c b/src/feature/hs/hs_config.c index 51558f323c..7424d7d3ce 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; } } |