aboutsummaryrefslogtreecommitdiff
path: root/tor-spec.txt
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2014-08-02 00:34:39 -0400
committerRoger Dingledine <arma@torproject.org>2014-08-02 00:34:39 -0400
commit2180422f4a1fd51ea25fa3822c830581f7a56c43 (patch)
tree821c3e45e235b9f583d54d98306a43dc9ae4a544 /tor-spec.txt
parent7bd906b6ecef7a0dcf3b420944da0d08db5a2553 (diff)
downloadtorspec-2180422f4a1fd51ea25fa3822c830581f7a56c43.tar.gz
torspec-2180422f4a1fd51ea25fa3822c830581f7a56c43.zip
update the spec to say that you must refuse inbound relay_early cells
Diffstat (limited to 'tor-spec.txt')
-rw-r--r--tor-spec.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/tor-spec.txt b/tor-spec.txt
index ba3393e..1c1257b 100644
--- a/tor-spec.txt
+++ b/tor-spec.txt
@@ -1199,17 +1199,15 @@ see tor-design.pdf.
RELAY_EARLY cell. Otherwise, older Tors will relay it as a RELAY cell.
If a node ever receives more than 8 RELAY_EARLY cells on a given
- outbound circuit, it SHOULD close the circuit. (For historical reasons,
- we don't limit the number of inbound RELAY_EARLY cells; they should
- be harmless anyway because clients won't accept extend requests. See
- bug 1038.)
+ outbound circuit, it SHOULD close the circuit. If it receives any
+ inbound RELAY_EARLY cells, it MUST close the circuit immediately.
When speaking v2 of the link protocol or later, clients MUST only send
EXTEND cells inside RELAY_EARLY cells. Clients SHOULD send the first ~8
RELAY cells that are not targeted at the first hop of any circuit as
RELAY_EARLY cells too, in order to partially conceal the circuit length.
- [Starting with Tor 0.2.3.11-alpha, future version of Tor, relays should
+ [Starting with Tor 0.2.3.11-alpha, relays should
reject any EXTEND cell not received in a RELAY_EARLY cell.]
6. Application connections and stream management