[tor-commits] [torspec/master] VERSIONS cells sent after the initial VERSIONS cell are dropped
nickm at torproject.org
nickm at torproject.org
Tue Sep 19 23:32:52 UTC 2017
commit dd755cdc56cf85f8c86ea203e0cd0e7c59cfd86a
Author: teor <teor2345 at gmail.com>
Date: Wed Sep 20 09:28:53 2017 +1000
VERSIONS cells sent after the initial VERSIONS cell are dropped
Resolves 22931.
---
tor-spec.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tor-spec.txt b/tor-spec.txt
index aab417b..291c964 100644
--- a/tor-spec.txt
+++ b/tor-spec.txt
@@ -556,6 +556,10 @@ see tor-design.pdf.
close the connection if the versions cell is not well-formed (for example,
if it contains an odd number of bytes).
+ Any VERSIONS cells sent after the first VERSIONS cell MUST be ignored.
+ (To be interpreted correctly, later VERSIONS cells MUST have a CIRCID_LEN
+ matching the version negotiated with the first VERSIONS cell.)
+
Since the version 1 link protocol does not use the "renegotiation"
handshake, implementations MUST NOT list version 1 in their VERSIONS
cell. When the "renegotiation" handshake is used, implementations
More information about the tor-commits
mailing list