aboutsummaryrefslogtreecommitdiff
path: root/spec/tor-spec/relay-cells.md
diff options
context:
space:
mode:
authorJim Newsome <jnewsome@torproject.org>2023-11-09 14:38:07 -0600
committerJim Newsome <jnewsome@torproject.org>2023-11-13 09:22:42 -0600
commit69ffcb3c78b159f8391615a2cfed08e5a1c8aceb (patch)
treee82eb6c9f81858423a46480f8b887bbf2785c8fc /spec/tor-spec/relay-cells.md
parent4670103ffefcd2304dfd9d8f5f377c11dc5a97c1 (diff)
downloadtorspec-69ffcb3c78b159f8391615a2cfed08e5a1c8aceb.tar.gz
torspec-69ffcb3c78b159f8391615a2cfed08e5a1c8aceb.zip
Add links from tor-spec to proposals
Diffstat (limited to 'spec/tor-spec/relay-cells.md')
-rw-r--r--spec/tor-spec/relay-cells.md20
1 files changed, 11 insertions, 9 deletions
diff --git a/spec/tor-spec/relay-cells.md b/spec/tor-spec/relay-cells.md
index 3f0c3a7..5de6d90 100644
--- a/spec/tor-spec/relay-cells.md
+++ b/spec/tor-spec/relay-cells.md
@@ -44,18 +44,18 @@ The relay commands are:
| 13 | RELAY_BEGIN_DIR | forward |
| 14 | RELAY_EXTEND2 | forward | control
| 15 | RELAY_EXTENDED2 | backward | control
-| 16..18 | Reserved for UDP; Not yet in use, see [prop339][prop339].
-| 19..22 | Reserved for Conflux, see [prop329][prop329].
-| 32..40 | Used for hidden services; see the [rendezvous spec][rend-spec].
-| 41..42 | Used for circuit padding; see ["Circuit-level padding"][circ-padding] in the padding spec.
-| 43 | XON (See Sec 4 of [prop324][prop324]) | forward or backward |
-| 44 | XOFF (See Sec 4 of [prop324][prop324]) | forward or backward |
+| 16..18 | Reserved for UDP; Not yet in use, see [prop339].
+| 19..22 | Reserved for Conflux, see [prop329].
+| 32..40 | Used for hidden services; see the [rendezvous spec].
+| 41..42 | Used for circuit padding; see ["Circuit-level padding"] in the padding spec.
+| 43 | XON (See Sec 4 of [prop324]) | forward or backward |
+| 44 | XOFF (See Sec 4 of [prop324]) | forward or backward |
[prop324]: ../proposals/324-rtt-congestion-control.txt
[prop329]: ../proposals/329-traffic-splitting.md
[prop339]: ../proposals/339-udp-over-tor.md
-[rend-spec]: ../rend-spec/index.md
-[circ-padding]: ../padding-spec/circuit-level-padding.md#circuit-level-padding
+[rendezvous spec]: ../rend-spec/index.md
+["Circuit-level padding"]: ../padding-spec/circuit-level-padding.md#circuit-level-padding
Commands labelled as "forward" must only be sent by the originator
of the circuit. Commands labelled as "backward" must only be sent by
@@ -108,7 +108,9 @@ bytes for other cell types; see [Cell Packet format](./cell-packet-format.md#cel
<span id="relay-cell-padding">The
'Padding' field is used to make relay cell contents unpredictable, to
-avoid certain attacks (see proposal 289 for rationale). Implementations
+avoid certain attacks (see
+[proposal 289](../proposals/289-authenticated-sendmes.txt)
+for rationale). Implementations
SHOULD fill this field with four zero-valued bytes, followed by as many
random bytes as will fit. (If there are fewer than 4 bytes for padding,
then they should all be filled with zero.</span>