aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2024-02-14 08:26:39 -0500
committerNick Mathewson <nickm@torproject.org>2024-02-14 08:26:39 -0500
commit01cf324dd55b96ef9144c1db2cbb7d3d5db7cc48 (patch)
treeb7ef4e03d1671817f02e9b6b3fa84a7787aaad3e
parent3a3efa401424a05e1da780119a14001cf0a5560c (diff)
downloadtorspec-01cf324dd55b96ef9144c1db2cbb7d3d5db7cc48.tar.gz
torspec-01cf324dd55b96ef9144c1db2cbb7d3d5db7cc48.zip
Add links for the relay commands.
-rw-r--r--spec/tor-spec/relay-cells.md91
1 files changed, 57 insertions, 34 deletions
diff --git a/spec/tor-spec/relay-cells.md b/spec/tor-spec/relay-cells.md
index a665c4f..8a0f2be 100644
--- a/spec/tor-spec/relay-cells.md
+++ b/spec/tor-spec/relay-cells.md
@@ -34,45 +34,68 @@ The relay commands are:
| Command | Identifier | Type
| ------- | ---------- | ----
-| 1 | BEGIN | **F**
-| 2 | DATA | **F**/**B**
-| 3 | END | **F**/**B**
-| 4 | CONNECTED | **B**
-| 5 | SENDME | **F**/**B**, **C?**
-| 6 | EXTEND | **F**, **C**
-| 7 | EXTENDED | **B**, **C**
-| 8 | TRUNCATE | **F**, **C**
-| 9 | TRUNCATED | **B**, **C**
-| 10 | DROP | **F**/**B**, **C**
-| 11 | RESOLVE | **F**
-| 12 | RESOLVED | **B**
-| 13 | BEGIN_DIR | **F**
-| 14 | EXTEND2 | **F**, **C**
-| 15 | EXTENDED2 | **B**, **C**
+| 1 | [BEGIN] | **F**
+| 2 | [DATA] | **F**/**B**
+| 3 | [END] | **F**/**B**
+| 4 | [CONNECTED] | **B**
+| 5 | [SENDME] | **F**/**B**, **C?**
+| 6 | [EXTEND] | **F**, **C**
+| 7 | [EXTENDED] | **B**, **C**
+| 8 | [TRUNCATE] | **F**, **C**
+| 9 | [TRUNCATED] | **B**, **C**
+| 10 | [DROP] | **F**/**B**, **C**
+| 11 | [RESOLVE] | **F**
+| 12 | [RESOLVED] | **B**
+| 13 | [BEGIN_DIR] | **F**
+| 14 | [EXTEND2] | **F**, **C**
+| 15 | [EXTENDED2] | **B**, **C**
| 16..18 | Reserved; see [prop339].
-| 19 | CONFLUX_LINK | **F**, **C**
-| 20 | CONFLUX_LINKED | **B**, **C**
-| 21 | CONFLUX_LINKED_ACK | **F**, **C**
-| 22 | CONFLUX_SWITCH | **F**/**B**, **C**
-| 32 | ESTABLISH_INTRO | **F**, **C**
-| 33 | ESTABLISH_RENDEZVOUS | **F**, **C**
-| 34 | INTRODUCE1 | **F**, **C**
-| 35 | INTRODUCE2 | **B**, **C**
-| 36 | RENDEZVOUS1 | **F**, **C**
-| 37 | RENDEZVOUS2 | **B**, **C**
-| 38 | INTRO_ESTABLISHED | **B**, **C**
-| 39 | RENDEZVOUS_ESTABLISHED | **B**, **C**
-| 40 | INTRODUCE_ACK | **B**, **C**
-| 41 | PADDING_NEGOTIATE | **F**, **C**
-| 42 | PADDING_NEGOTIATED | **B**, **C**
-| 43 | XON (See Sec 4 of [prop324]) | **F**/**B**
-| 44 | XOFF (See Sec 4 of [prop324]) | **F**/**B**
+| 19 | [CONFLUX_LINK][prop329] | **F**, **C**
+| 20 | [CONFLUX_LINKED][prop329] | **B**, **C**
+| 21 | [CONFLUX_LINKED_ACK][prop329] | **F**, **C**
+| 22 | [CONFLUX_SWITCH][prop329] | **F**/**B**, **C**
+| 32 | [ESTABLISH_INTRO] | **F**, **C**
+| 33 | [ESTABLISH_RENDEZVOUS] | **F**, **C**
+| 34 | [INTRODUCE1] | **F**, **C**
+| 35 | [INTRODUCE2] | **B**, **C**
+| 36 | [RENDEZVOUS1] | **F**, **C**
+| 37 | [RENDEZVOUS2] | **B**, **C**
+| 38 | [INTRO_ESTABLISHED] | **B**, **C**
+| 39 | [RENDEZVOUS_ESTABLISHED] | **B**, **C**
+| 40 | [INTRODUCE_ACK] | **B**, **C**
+| 41 | [PADDING_NEGOTIATE][circ-padding] | **F**, **C**
+| 42 | [PADDING_NEGOTIATED][circ-padding] | **B**, **C**
+| 43 | [XON][prop324] | **F**/**B**
+| 44 | [XOFF][prop324] | **F**/**B**
[prop324]: ../proposals/324-rtt-congestion-control.txt
[prop329]: ../proposals/329-traffic-splitting.md
[prop339]: ../proposals/339-udp-over-tor.md
-[rendezvous spec]: ../rend-spec/index.md
-["Circuit-level padding"]: ../padding-spec/circuit-level-padding.md#circuit-level-padding
+[circ-padding]: ../padding-spec/circuit-level-padding.md#circuit-level-padding
+[BEGIN]: ./opening-streams.md#opening
+[CONNECTED]: ./opening-streams.md#opening
+[DATA]: ./opening-streams.md#transmitting
+[DROP]: ./opening-streams.md#transmitting
+[BEGIN_DIR]: ./opening-streams.md#opening-a-directory-stream
+[END]: ./closing-streams.md#closing-streams
+[RESOLVE]: ./remote-hostname-lookup.md
+[RESOLVED]: ./remote-hostname-lookup.md
+[EXTEND]: ./create-created-cells.md#EXTEND
+[EXTEND2]: ./create-created-cells.md#EXTEND
+[EXTENDED]: ./create-created-cells.md#EXTEND
+[EXTENDED2]: ./create-created-cells.md#EXTEND
+[TRUNCATE]: ./tearing-down-circuits.md
+[TRUNCATED]: ./tearing-down-circuits.md
+[SENDME]: ./flow-control.md#sendme-message-format.md
+[ESTABLISH_INTRO]: ../rend-spec/introduction-protocol.md#EST_INTRO
+[INTRO_ESTABLISHED]: ../rend-spec/introduction-protocol.md#INTRO_ESTABLISHED
+[INTRODUCE1]: ../rend-spec/introduction-protocol.md#SEND_INTRO1
+[INTRODUCE2]: ../rend-spec/introduction-protocol.md#PROCESS_INTRO2
+[INTRODUCE_ACK]: ../rend-spec/introduction-protocol.md#SEND_INTRO1
+[ESTABLISH_RENDEZVOUS]: ../rend-spec/rendezvous-protocol.md#EST_REND_POINT
+[RENDEZVOUS_ESTABLISHED]: ../rend-spec/rendezvous-protocol.md#EST_REND_POINT
+[RENDEZVOUS1]: ../rend-spec/rendezvous-protocol.md#JOIN_REND
+[RENDEZVOUS2]: ../rend-spec/rendezvous-protocol.md#JOIN_REND
- **F** (Forward): Must only be sent by the originator of the circuit.
- **B** (Backward): Must only be sent by other nodes in the circuit