From 6de8d358a2a12fed5add328498ab5b6e6ee2efef Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 23 Aug 2023 11:01:18 -0400 Subject: Document currently supported handshake extensions. --- tor-spec.txt | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'tor-spec.txt') 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 -- cgit v1.2.3-54-g00ecf