diff options
author | Nick Mathewson <nickm@torproject.org> | 2023-08-23 11:01:18 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2023-10-03 08:34:18 -0400 |
commit | 6de8d358a2a12fed5add328498ab5b6e6ee2efef (patch) | |
tree | 7c9f5c528636e2d819d6a0bf50d32bd80e42b0b2 /tor-spec.txt | |
parent | ca788fa4dc832e930479f76fa878831f747c795d (diff) | |
download | torspec-6de8d358a2a12fed5add328498ab5b6e6ee2efef.tar.gz torspec-6de8d358a2a12fed5add328498ab5b6e6ee2efef.zip |
Document currently supported handshake extensions.
Diffstat (limited to 'tor-spec.txt')
-rw-r--r-- | tor-spec.txt | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/tor-spec.txt b/tor-spec.txt index 98f033d..4d21c9a 100644 --- a/tor-spec.txt +++ b/tor-spec.txt @@ -1496,8 +1496,8 @@ see tor-design.pdf. CREATE/CREATED handshake, this additional data must have the following format: - [Any number of times]: - EXTENSION + N_EXTENSIONS [one byte] + N_EXTENSIONS times: EXT_FIELD_TYPE [one byte] EXT_FIELD_LEN [one byte] EXT_FIELD [EXT_FIELD_LEN bytes] @@ -1524,7 +1524,19 @@ see tor-design.pdf. Currently supported extensions are: - ..... + 1 -- CC_FIELD_REQUEST [Client to server] + + Contains an empty payload. Signifies that the client + wants to use the extended congestion control described + in proposal 324. + + 2 -- CC_FIELD_RESPONSE [Server to client] + + Indicates that the relay will use the congestion control + of proposal 324, as requested by the client. One byte + in length: + + sendme_inc [1 byte] 5.2. Setting circuit keys |