aboutsummaryrefslogtreecommitdiff
path: root/padding-spec.txt
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2022-05-23 14:57:23 -0400
committerNick Mathewson <nickm@torproject.org>2022-05-27 14:25:03 -0400
commit836a5fb964e288e8ff20e918abf19df353c245ac (patch)
treee3bfcc1a150b3bd32edc2a5ab37ef685fc6fd7d9 /padding-spec.txt
parent9aad630153d8bb7c9c3b07b47855700705595059 (diff)
downloadtorspec-836a5fb964e288e8ff20e918abf19df353c245ac.tar.gz
torspec-836a5fb964e288e8ff20e918abf19df353c245ac.zip
Try to document the many uses of nf_conntimeout_clients.
(This is largely determined by reverse-engineering tor's current behavior.)
Diffstat (limited to 'padding-spec.txt')
-rw-r--r--padding-spec.txt16
1 files changed, 12 insertions, 4 deletions
diff --git a/padding-spec.txt b/padding-spec.txt
index 9806b2a..471dd74 100644
--- a/padding-spec.txt
+++ b/padding-spec.txt
@@ -283,10 +283,18 @@ Table of Contents
- Default: 14000
* nf_conntimeout_clients
- - The number of seconds to keep circuits opened and available for
- clients to use. Note that the actual client timeout is randomized
- uniformly from this value to twice this value. This governs client
- OR conn lifespan. Reduced padding clients use half the consensus
+ - The number of seconds to keep never-used circuits opened and
+ available for clients to use. Note that the actual client timeout is
+ randomized uniformly from this value to twice this value.
+ - The number of seconds to keep idle (not currently used) canonical
+ channels are open and available. (We do this to ensure a sufficient
+ time duration of padding, which is the ultimate goal.)
+ - This value is also used to determine how long, after a port has been
+ used, we should attempt to keep building predicted circuits for that
+ port. (See path-spec.txt section 2.1.1.) This behavior was
+ originally added to work around implementation limitations, but it
+ serves as a reasonable default regardless of implementation.
+ - For all use cases, reduced padding clients use half the consensus
value.
- Default: 1800