mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
hs-v3: Log info INTRO2 DoS defenses service values
Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
parent
a98f5099c4
commit
292e9b0c00
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user