diff options
author | Mike Perry <mikeperry-git@fscked.org> | 2010-05-08 11:54:29 -0700 |
---|---|---|
committer | Mike Perry <mikeperry-git@fscked.org> | 2010-05-10 13:11:48 -0700 |
commit | 14d8e2a8a051a43793ea60cee722118d362ef375 (patch) | |
tree | 167bbe3e88fa6e8f1997d3c851fa0b12638e8f73 /path-spec.txt | |
parent | 2ad5819a734f8dded49de66d6664885bf63bad0c (diff) | |
download | torspec-14d8e2a8a051a43793ea60cee722118d362ef375.tar.gz torspec-14d8e2a8a051a43793ea60cee722118d362ef375.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 'path-spec.txt')
-rw-r--r-- | path-spec.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/path-spec.txt b/path-spec.txt index ae5ab3e..2beeede 100644 --- a/path-spec.txt +++ b/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 |