summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@fscked.org>2010-02-25 11:42:24 -0800
committerMike Perry <mikeperry-git@fscked.org>2010-02-25 11:42:24 -0800
commit00f9a356784eab8214b23888122cb0ed1a0fda43 (patch)
tree2bc9b8b03b3fec861b83617ac395e03fa21111d5
parent0da26162a322f5be4ee0132253b75e765b6193a0 (diff)
downloadtor-00f9a356784eab8214b23888122cb0ed1a0fda43.tar.gz
tor-00f9a356784eab8214b23888122cb0ed1a0fda43.zip
Update dir-spec.txt with begin_dir weights.
-rw-r--r--doc/spec/dir-spec.txt26
1 files changed, 21 insertions, 5 deletions
diff --git a/doc/spec/dir-spec.txt b/doc/spec/dir-spec.txt
index 461f546166..442e7d5824 100644
--- a/doc/spec/dir-spec.txt
+++ b/doc/spec/dir-spec.txt
@@ -1312,12 +1312,15 @@
It contains two subsections, a bandwidths-weights line and a
directory-signature.
- The bandwidths-weight line appears At Most Once for a consensus. It does
+ The bandwidths-weights line appears At Most Once for a consensus. It does
not appear in votes.
- "bandwidth-weights" SP "Wed=" INT SP "Wee=" INT SP "Weg=" INT SP
- "Wem=" INT SP "Wgd=" INT SP "Wgg=" INT SP "Wgm=" INT SP
- "Wmd=" INT SP "Wme=" INT SP "Wmg=" INT SP "Wmm=" INT SP NL
+ "bandwidth-weights" SP
+ "Wbd=" INT SP "Wbe=" INT SP "Wbg=" INT SP "Wbm=" INT SP
+ "Wdb=" INT SP
+ "Web=" INT SP "Wed=" INT SP "Wee=" INT SP "Weg=" INT SP "Wem=" INT SP
+ "Wgb=" INT SP "Wgd=" INT SP "Wgg=" INT SP "Wgm=" INT SP
+ "Wmb=" INT SP "Wmd=" INT SP "Wme=" INT SP "Wmg=" INT SP "Wmm=" INT NL
These values represent the weights to apply to router bandwidths during
path selection. They are sorted in alphabetical order in the list. The
@@ -1327,15 +1330,27 @@
Wgg - Weight for Guard-flagged nodes in the guard position
Wgm - Weight for non-flagged nodes in the guard Position
Wgd - Weight for Guard+Exit-flagged nodes in the guard Position
+
Wmg - Weight for Guard-flagged nodes in the middle Position
Wmm - Weight for non-flagged nodes in the middle Position
Wme - Weight for Exit-flagged nodes in the middle Position
Wmd - Weight for Guard+Exit flagged nodes in the middle Position
+
Weg - Weight for Guard flagged nodes in the exit Position
Wem - Weight for non-flagged nodes in the exit Position
Wee - Weight for Exit-flagged nodes in the exit Position
Wed - Weight for Guard+Exit-flagged nodes in the exit Position
+ Wgb - Weight for BEGIN_DIR-supporting Guard-flagged nodes
+ Wmb - Weight for BEGIN_DIR-supporting non-flagged nodes
+ Web - Weight for BEGIN_DIR-supporting Exit-flagged nodes
+ Wdb - Weight for BEGIN_DIR-supporting Guard+Exit-flagged nodes
+
+ Wbg - Weight for Guard+Exit-flagged nodes for BEGIN_DIR requests
+ Wbm - Weight for Guard+Exit-flagged nodes for BEGIN_DIR requests
+ Wbe - Weight for Guard+Exit-flagged nodes for BEGIN_DIR requests
+ Wbd - Weight for Guard+Exit-flagged nodes for BEGIN_DIR requests
+
These values are calculated as specified in Section 3.4.3.
The signature contains the following item, which appears Exactly Once
@@ -1755,7 +1770,8 @@
For future balancing improvements, Tor clients support 11 additional weights
for directory requests and middle weighting. These weights are currently
- set at 1.0, with the exception of the following groups of assignments:
+ set at weight_scale, with the exception of the following groups of
+ assignments:
Directory requests use middle weights:
Wbd=Wmd, Wbg=Wmg, Wbe=Wme, Wbm=Wmm