diff options
author | Nick Mathewson <nickm@torproject.org> | 2023-11-06 10:08:54 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2023-11-06 10:08:54 -0500 |
commit | 0d8761c7e12130236e9c647f162567b17f4ee3d9 (patch) | |
tree | 8c8a617894b812c749351ea496b7055509bef189 /spec/path-spec | |
parent | 8a37a5e8b1b823f789043ed171f5164d3d31466a (diff) | |
download | torspec-0d8761c7e12130236e9c647f162567b17f4ee3d9.tar.gz torspec-0d8761c7e12130236e9c647f162567b17f4ee3d9.zip |
Un-escape and un-indent path constraints section.
Diffstat (limited to 'spec/path-spec')
-rw-r--r-- | spec/path-spec/path-selection-constraints.md | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/spec/path-spec/path-selection-constraints.md b/spec/path-spec/path-selection-constraints.md index 89a970a..08f9b2c 100644 --- a/spec/path-spec/path-selection-constraints.md +++ b/spec/path-spec/path-selection-constraints.md @@ -8,20 +8,18 @@ back. (In other words, for a 3-hop circuit, we first pick hop 3, then hop 1, then hop 2.) All paths we generate obey the following constraints: -```text - - We do not choose the same router twice for the same path. - - We do not choose any router in the same family as another in the same - path. (Two routers are in the same family if each one lists the other - in the "family" entries of its descriptor.) - - We do not choose more than one router in a given /16 subnet - (unless EnforceDistinctSubnets is 0). - - We don't choose any non-running or non-valid router unless we have - been configured to do so. By default, we are configured to allow - non-valid routers in "middle" and "rendezvous" positions. - - If we're using Guard nodes, the first node must be a Guard (see 5 - below) - - XXXX Choosing the length -``` +- We do not choose the same router twice for the same path. +- We do not choose any router in the same family as another in the same + path. (Two routers are in the same family if each one lists the other + in the "family" entries of its descriptor.) +- We do not choose more than one router in a given /16 subnet + (unless EnforceDistinctSubnets is 0). +- We don't choose any non-running or non-valid router unless we have + been configured to do so. By default, we are configured to allow + non-valid routers in "middle" and "rendezvous" positions. +- If we're using Guard nodes, the first node must be a Guard (see 5 + below) +- XXXX Choosing the length For "fast" circuits, we only choose nodes with the Fast flag. For non-"fast" circuits, all nodes are eligible. |