diff options
author | Nick Mathewson <nickm@torproject.org> | 2021-05-13 13:11:56 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2021-05-13 13:11:56 -0400 |
commit | e24e9cb0c4f9bfbb7907549b064a7efc50568581 (patch) | |
tree | e2a61975694ff38de5ca32b9c43bd5b2701fa5f3 | |
parent | a5c03d0716e1a83eeb6af0ed6b5ec7703438a326 (diff) | |
download | torspec-e24e9cb0c4f9bfbb7907549b064a7efc50568581.tar.gz torspec-e24e9cb0c4f9bfbb7907549b064a7efc50568581.zip |
Document current circid selection behavior
-rw-r--r-- | tor-spec.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tor-spec.txt b/tor-spec.txt index 62b7d5d..d044542 100644 --- a/tor-spec.txt +++ b/tor-spec.txt @@ -1000,6 +1000,12 @@ see tor-design.pdf. belong to any circuit: CircID 0 must not be used for circuits. No other CircID value, including 0x8000 or 0x80000000, is reserved. + Existing Tor implementations choose their CircID values at random from + among the available unused values. To avoid distinguishability, new + implementations should do the same. Implementations MAY give up and stop + attempting to build new circuits on a channel, if a certain number of + randomly chosen CircID values are all in use (today's Tor stops after 64). + 5.1.2. EXTEND and EXTENDED cells To extend an existing circuit, the client sends an EXTEND or EXTEND2 |