aboutsummaryrefslogtreecommitdiff
path: root/tor-spec.txt
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2023-08-23 11:01:18 -0400
committerNick Mathewson <nickm@torproject.org>2023-10-03 08:34:18 -0400
commit6de8d358a2a12fed5add328498ab5b6e6ee2efef (patch)
tree7c9f5c528636e2d819d6a0bf50d32bd80e42b0b2 /tor-spec.txt
parentca788fa4dc832e930479f76fa878831f747c795d (diff)
downloadtorspec-6de8d358a2a12fed5add328498ab5b6e6ee2efef.tar.gz
torspec-6de8d358a2a12fed5add328498ab5b6e6ee2efef.zip
Document currently supported handshake extensions.
Diffstat (limited to 'tor-spec.txt')
-rw-r--r--tor-spec.txt18
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