aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2018-01-29 11:50:11 -0500
committerDavid Goulet <dgoulet@torproject.org>2018-01-30 09:18:16 -0500
commite58a4fc6cfcdeafc2ebfb61fd3cf6d163ce2436c (patch)
tree3747d076cdafbdab0ebe518f006f79f2395c8ad2 /doc
parenta3714268f659998dc879ed723852440cd8be1b04 (diff)
downloadtor-e58a4fc6cfcdeafc2ebfb61fd3cf6d163ce2436c.tar.gz
tor-e58a4fc6cfcdeafc2ebfb61fd3cf6d163ce2436c.zip
dos: Make circuit rate limit per second, not tenths anymore
Because this touches too many commits at once, it is made into one single commit. Remove the use of "tenths" for the circuit rate to simplify things. We can only refill the buckets at best once every second because of the use of approx_time() and our token system is set to be 1 token = 1 circuit so make the rate a flat integer of circuit per second. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/tor.1.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/doc/tor.1.txt b/doc/tor.1.txt
index a2bbb8ab6e..58997cdf3d 100644
--- a/doc/tor.1.txt
+++ b/doc/tor.1.txt
@@ -2466,12 +2466,10 @@ Denial of Service mitigation subsystem.
parameter.
(Default: 0)
-[[DoSCircuitCreationRateTenths]] **DoSCircuitCreationRateTenths** __NUM__::
+[[DoSCircuitCreationRate]] **DoSCircuitCreationRate** __NUM__::
- The allowed circuit creation rate in tenths of circuit per second applied
- per client IP address. For example, if you want to set a rate of 5
- circuits per second allowed per IP address, this value should be set to
- 50. If this option is 0, it obeys a consensus parameter. (Default: 0)
+ The allowed circuit creation rate per second applied per client IP
+ address. If this option is 0, it obeys a consensus parameter. (Default: 0)
[[DoSCircuitCreationBurst]] **DoSCircuitCreationBurst** __NUM__::