diff options
Diffstat (limited to 'spec/guard-spec/guard-selection-intro.md')
-rw-r--r-- | spec/guard-spec/guard-selection-intro.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/guard-spec/guard-selection-intro.md b/spec/guard-spec/guard-selection-intro.md index b31609f..c3738d4 100644 --- a/spec/guard-spec/guard-selection-intro.md +++ b/spec/guard-spec/guard-selection-intro.md @@ -1,6 +1,6 @@ <a id="guard-spec.txt-3"></a> -# Circuit Creation, Entry Guard Selection (1000 foot view) +# Circuit Creation, Entry Guard Selection (1000 foot view) {#1000-foot} A circuit in Tor is a path through the network connecting a client to its destination. At a high-level, a three-hop exit circuit will look @@ -12,7 +12,7 @@ Entry guards are the only nodes which a client will connect to directly. Exit relays are the nodes by which traffic exits the Tor network in order to connect to an external destination. -3.1 Path selection +## Path selection For any multi-hop circuit, at least one entry guard and middle node(s) are required. An exit node is required if traffic will exit the Tor @@ -21,7 +21,7 @@ consensus could be used for any of these roles. However, this specification defines how entry guards specifically should be selected and managed, as opposed to middle or exit nodes. -3.1.1 Managing entry guards +### Managing entry guards At a high level, a relay listed in a consensus will move through the following states in the process from initial selection to eventual @@ -52,14 +52,14 @@ It is always preferable to use a primary guard when building a new circuit in order to reduce guard churn; only on failure to connect to existing primary guards will new guards be used. -3.1.2 Middle and exit node selection +### Middle and exit node selection Middle nodes are selected at random from relays listed in the latest consensus, weighted by bandwidth and bandwidth-weights. Exit nodes are chosen similarly but restricted to relays with a sufficiently permissive exit policy. -3.2 Circuit Building +## Circuit Building Once a path is chosen, Tor will use this path to build a new circuit. |