aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-10-04 08:20:07 +0000
committerRoger Dingledine <arma@torproject.org>2003-10-04 08:20:07 +0000
commitffaa344a32708d7f60e64aef5f0c3d5f7e586676 (patch)
treecd3898fa5453cd778699bf3c5be3ca366e06b22f /doc
parent756619bfd2a0b0ea0606a820d2087e602ed94fbe (diff)
downloadtor-ffaa344a32708d7f60e64aef5f0c3d5f7e586676.tar
tor-ffaa344a32708d7f60e64aef5f0c3d5f7e586676.tar.gz
describe what's _actually_ in the payload of a relay begin cell
svn:r540
Diffstat (limited to 'doc')
-rw-r--r--doc/tor-spec.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/tor-spec.txt b/doc/tor-spec.txt
index 850440e06..d6c791872 100644
--- a/doc/tor-spec.txt
+++ b/doc/tor-spec.txt
@@ -330,8 +330,9 @@ which reveals the downstream node.
To create a new anonymized TCP connection, the OP sends a
RELAY_BEGIN data cell with a payload encoding the address and port
of the destination host. The stream ID is zero. The payload format is:
- ADDRESS | ':' | PORT | '\000'
- where ADDRESS may be a DNS hostname, or an IPv4 address in
+ NEWSTREAMID | ADDRESS | ':' | PORT | '\000'
+ where NEWSTREAMID is the newly generated Stream ID to use for
+ this stream, ADDRESS may be a DNS hostname, or an IPv4 address in
dotted-quad format; and where PORT is encoded in decimal.
Upon receiving this packet, the exit node resolves the address as