aboutsummaryrefslogtreecommitdiff
path: root/tor-spec.txt
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2017-09-20 09:28:53 +1000
committerteor <teor2345@gmail.com>2017-09-20 09:28:53 +1000
commitdd755cdc56cf85f8c86ea203e0cd0e7c59cfd86a (patch)
tree225591476c900d6dc7b489ffbf70104d0eba1024 /tor-spec.txt
parent33d819164cbdf349cfdbe0dda6f26a5af3e2f1f9 (diff)
downloadtorspec-dd755cdc56cf85f8c86ea203e0cd0e7c59cfd86a.tar.gz
torspec-dd755cdc56cf85f8c86ea203e0cd0e7c59cfd86a.zip
VERSIONS cells sent after the initial VERSIONS cell are dropped
Resolves 22931.
Diffstat (limited to 'tor-spec.txt')
-rw-r--r--tor-spec.txt4
1 files changed, 4 insertions, 0 deletions
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