diff options
author | Roger Dingledine <arma@torproject.org> | 2007-04-30 11:10:45 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-04-30 11:10:45 +0000 |
commit | 5ba4eaba1cfe1858cc152a9945d0bb6c2d1838b4 (patch) | |
tree | b92b562a0567adea1d6b2855e5ad1243f7aa53fb /doc/spec | |
parent | 2711ac2f6265eb981f1f7b5679fecd6af8682c3c (diff) | |
download | tor-5ba4eaba1cfe1858cc152a9945d0bb6c2d1838b4.tar tor-5ba4eaba1cfe1858cc152a9945d0bb6c2d1838b4.tar.gz |
Let the controller specify HOP=%d as an argument to ATTACHSTREAM,
so we can exit from the middle of the circuit.
svn:r10056
Diffstat (limited to 'doc/spec')
-rw-r--r-- | doc/spec/control-spec.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/spec/control-spec.txt b/doc/spec/control-spec.txt index 3cae676d9..6cbab8dbf 100644 --- a/doc/spec/control-spec.txt +++ b/doc/spec/control-spec.txt @@ -535,7 +535,7 @@ $Id$ 3.13. ATTACHSTREAM Sent from the client to the server. The syntax is: - "ATTACHSTREAM" SP StreamID SP CircuitID CRLF + "ATTACHSTREAM" SP StreamID SP CircuitID ["HOP=" HopNum] CRLF This message informs the server that the specified stream should be associated with the specified circuit. Each stream may be associated with @@ -547,6 +547,9 @@ $Id$ If the circuit ID is 0, responsibility for attaching the given stream is returned to Tor. + If HOP=HopNum is specified, Tor will choose the HopNumth hop in the + circuit as the exit node, rather than the last node in the circuit. + Tor responds with "250 OK" if it can attach the stream, 552 if the circuit or stream didn't exist, or 551 if the stream couldn't be attached for another reason. |