aboutsummaryrefslogtreecommitdiff
path: root/doc/spec
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@fscked.org>2010-05-08 11:54:29 -0700
committerMike Perry <mikeperry-git@fscked.org>2010-05-10 13:11:48 -0700
commit29e0d7081454c49cb6cab14685447aa811379a22 (patch)
tree63fdba604f448344672b1a17fc5f4f528ebac9a0 /doc/spec
parent0a6191cf701617d51d30c468b5987b62ad75883c (diff)
downloadtor-29e0d7081454c49cb6cab14685447aa811379a22.tar.gz
tor-29e0d7081454c49cb6cab14685447aa811379a22.zip
Bug 1296: Add option+logic to disable CBT learning.
There are now four ways that CBT can be disabled: 1. Network-wide, with the cbtdisabled consensus param. 2. Via config, with "LearnCircuitBuildTimeout 0" 3. Via config, with "AuthoritativeDirectory 1" 4. Via a state file write failure.
Diffstat (limited to 'doc/spec')
-rw-r--r--doc/spec/path-spec.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/spec/path-spec.txt b/doc/spec/path-spec.txt
index ae5ab3e3dd..2beeedeace 100644
--- a/doc/spec/path-spec.txt
+++ b/doc/spec/path-spec.txt
@@ -382,6 +382,12 @@ of their choices.
construction. If these parameters are not present in the consensus,
the listed default values should be used instead.
+ cbtdisabled
+ Default: 0
+ Effect: If non-zero, all CircuitBuildTime learning code should be
+ disabled and history should be discarded. For use in
+ emergency situations only.
+
cbtrecentcount
Default: 20
Effect: This is the number of circuit build times to keep track of