mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 10:12:15 +01:00
Update dir-spec.txt with begin_dir weights.
This commit is contained in:
parent
0da26162a3
commit
00f9a35678
@ -1312,12 +1312,15 @@
|
|||||||
It contains two subsections, a bandwidths-weights line and a
|
It contains two subsections, a bandwidths-weights line and a
|
||||||
directory-signature.
|
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.
|
not appear in votes.
|
||||||
|
|
||||||
"bandwidth-weights" SP "Wed=" INT SP "Wee=" INT SP "Weg=" INT SP
|
"bandwidth-weights" SP
|
||||||
"Wem=" INT SP "Wgd=" INT SP "Wgg=" INT SP "Wgm=" INT SP
|
"Wbd=" INT SP "Wbe=" INT SP "Wbg=" INT SP "Wbm=" INT SP
|
||||||
"Wmd=" INT SP "Wme=" INT SP "Wmg=" INT SP "Wmm=" INT SP NL
|
"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
|
These values represent the weights to apply to router bandwidths during
|
||||||
path selection. They are sorted in alphabetical order in the list. The
|
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
|
Wgg - Weight for Guard-flagged nodes in the guard position
|
||||||
Wgm - Weight for non-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
|
Wgd - Weight for Guard+Exit-flagged nodes in the guard Position
|
||||||
|
|
||||||
Wmg - Weight for Guard-flagged nodes in the middle Position
|
Wmg - Weight for Guard-flagged nodes in the middle Position
|
||||||
Wmm - Weight for non-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
|
Wme - Weight for Exit-flagged nodes in the middle Position
|
||||||
Wmd - Weight for Guard+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
|
Weg - Weight for Guard flagged nodes in the exit Position
|
||||||
Wem - Weight for non-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
|
Wee - Weight for Exit-flagged nodes in the exit Position
|
||||||
Wed - Weight for Guard+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.
|
These values are calculated as specified in Section 3.4.3.
|
||||||
|
|
||||||
The signature contains the following item, which appears Exactly Once
|
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 future balancing improvements, Tor clients support 11 additional weights
|
||||||
for directory requests and middle weighting. These weights are currently
|
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:
|
Directory requests use middle weights:
|
||||||
Wbd=Wmd, Wbg=Wmg, Wbe=Wme, Wbm=Wmm
|
Wbd=Wmd, Wbg=Wmg, Wbe=Wme, Wbm=Wmm
|
||||||
|
Loading…
Reference in New Issue
Block a user