]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Update dir-spec.txt with begin_dir weights.
authorMike Perry <mikeperry-git@fscked.org>
Thu, 25 Feb 2010 19:42:24 +0000 (11:42 -0800)
committerMike Perry <mikeperry-git@fscked.org>
Thu, 25 Feb 2010 19:42:24 +0000 (11:42 -0800)
doc/spec/dir-spec.txt

index 461f546166dc4c846f4e9771f8563d5d6e71573f..442e7d5824829264c17bc23497db97a70df3d618 100644 (file)
    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
          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
 
   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