aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorJim Newsome <jnewsome@torproject.org>2023-11-08 15:37:16 -0600
committerJim Newsome <jnewsome@torproject.org>2023-11-08 15:47:43 -0600
commit9f3cde7b31f42802ab0e900104d288c668f55b06 (patch)
tree9ede865a1eb19d6e99af79badc85f212ba45207b /spec
parentbe929a15dbb5156e5a939201b9665a1fa6a41769 (diff)
downloadtorspec-9f3cde7b31f42802ab0e900104d288c668f55b06.tar.gz
torspec-9f3cde7b31f42802ab0e900104d288c668f55b06.zip
creating-circuits.md: replace section references
Diffstat (limited to 'spec')
-rw-r--r--spec/tor-spec/creating-circuits.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/spec/tor-spec/creating-circuits.md b/spec/tor-spec/creating-circuits.md
index f585590..eb8de36 100644
--- a/spec/tor-spec/creating-circuits.md
+++ b/spec/tor-spec/creating-circuits.md
@@ -9,8 +9,8 @@ When creating a circuit through the network, the circuit creator
* N MAY be 1 for non-anonymous directory mirror, introduction point,
or service rendezvous connections.
* N SHOULD be 3 or more for anonymous connections.
- Some end nodes accept streams (see 6.1), others are introduction
- or rendezvous points (see rend-spec-{v2,v3}.txt).
+ Some end nodes accept streams (see ["Relay Cells"](./relay-cells.md#relay-cells)),
+ others are introduction or rendezvous points (see the [Rendezvous Spec](../rend-spec/index.md)).
2. Choose a chain of (N-1) onion routers (R_1...R_N-1) to constitute
the path, such that no router appears in the path twice.
@@ -35,7 +35,9 @@ these steps:
1. Create an onion skin, encrypted to R_M's public onion key.
2. Send the onion skin in a relay EXTEND/EXTEND2 cell along
- the circuit (see sections 5.1.2 and 5.5).
+ the circuit (see
+ ["EXTEND and EXTENDED cells"](./create-created-cells.md#EXTEND)
+ and ["Routing relay cells"](./routing-relay-cells.md#routing-relay-cells)).
3. When a relay EXTENDED/EXTENDED2 cell is received, verify KH,
and calculate the shared keys. The circuit is now extended.
@@ -48,7 +50,7 @@ When an onion router receives an EXTEND2 relay cell, it sends a CREATE2
cell to the next onion router, with the enclosed HLEN, HTYPE, and HDATA
as its payload. The initiating onion router chooses some circID not yet
used on the connection between the two onion routers. (But see section
-5.1.1 above, concerning choosing circIDs.)
+["Choosing circuit IDs in create cells"](./create-created-cells.md#choosing-circid))
As special cases, if the EXTEND/EXTEND2 cell includes a legacy identity, or
identity fingerprint of all zeroes, or asks to extend back to the relay