diff options
author | David Goulet <dgoulet@torproject.org> | 2017-11-14 10:03:37 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-11-14 10:03:37 -0500 |
commit | 2fcb1c2e613ac30fdd42bc2cf0a18c8ee4478d64 (patch) | |
tree | 543664a027785edccf4426c3457c011982e48fae /control-spec.txt | |
parent | 5ba8d5a7d08c09ae9949f20eb0633fc381c2dbc6 (diff) | |
download | torspec-2fcb1c2e613ac30fdd42bc2cf0a18c8ee4478d64.tar.gz torspec-2fcb1c2e613ac30fdd42bc2cf0a18c8ee4478d64.zip |
control: Document missing options to ADD_ONION
Adds the optional argument "MaxStreams=" and the flag value
"MaxStreamsCloseCircuit" that are implemented but not specified in the
control spec.
Closes #24201.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'control-spec.txt')
-rw-r--r-- | control-spec.txt | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/control-spec.txt b/control-spec.txt index 1925ff8..b556cd4 100644 --- a/control-spec.txt +++ b/control-spec.txt @@ -1511,6 +1511,7 @@ The syntax is: "ADD_ONION" SP KeyType ":" KeyBlob [SP "Flags=" Flag *("," Flag)] + [SP "MaxStreams=" NumStreams] 1*(SP "Port=" VirtPort ["," Target]) *(SP "ClientAuth=" ClientName [":" ClientBlob]) CRLF @@ -1533,9 +1534,15 @@ to the current control connection. "BasicAuth" / ; Client authorization is required using the "basic" method. - "NonAnonymous"; Add a non-anonymous Single Onion Service. Tor - checks this flag matches its configured hidden - service anonymity mode. + "NonAnonymous" /; Add a non-anonymous Single Onion Service. Tor + checks this flag matches its configured hidden + service anonymity mode. + "MaxStreamsCloseCircuit"; Close the circuit is the maximum streams + allowed is reached. + + NumStreams = A value between 0 and 65535 which is used as the maximum + streams that can be attached on a rendezvous circuit. Setting + it to 0 means unlimited which is also the default behavior. VirtPort = The virtual TCP Port for the Onion Service (As in the HiddenServicePort "VIRTPORT" argument). |