diff options
author | Roger Dingledine <arma@torproject.org> | 2004-11-27 05:23:59 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-11-27 05:23:59 +0000 |
commit | 7c81603f3ab4c89a130557cd94852ba2193e9c74 (patch) | |
tree | 1caad501737b0439ddaa6f87561e692a5a23ded9 /doc/rend-spec.txt | |
parent | e5e45fe980b0b45004cc7a32d7896a9b2f1ff6e3 (diff) | |
download | tor-7c81603f3ab4c89a130557cd94852ba2193e9c74.tar.gz tor-7c81603f3ab4c89a130557cd94852ba2193e9c74.zip |
document directory interaction a bit better
svn:r2994
Diffstat (limited to 'doc/rend-spec.txt')
-rw-r--r-- | doc/rend-spec.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/rend-spec.txt b/doc/rend-spec.txt index ffe24dd501..21f30c0138 100644 --- a/doc/rend-spec.txt +++ b/doc/rend-spec.txt @@ -166,7 +166,7 @@ $Id$ Bob's OP opens a stream to each directory server's directory port via Tor. (He may re-use old circuits for this.) Over this stream, Bob's OP makes an HTTP 'POST' request, to the URL - '/rendezvous/publish' (relative to the directory server's root), + '/tor/rendezvous/publish' (relative to the directory server's root), containing as its body Bob's service descriptor. Upon receiving a descriptor, the directory server checks the signature, and discards the descriptor if the signature does not match the enclosed public key. Next, @@ -199,12 +199,12 @@ $Id$ 1.6. Alice's OP retrieves a service descriptor - Alice opens a stream to a directory server via Tor, and makes an HTTP GET - request for the document '/rendezvous/<y>', where '<y> is replaced with the - encoding of Bob's public key as described above. (She may re-use old - circuits for this.) The directory replies with a 404 HTTP response if - it does not recognize <y>, and otherwise returns Bob's most recently - uploaded service descriptor. + Alice opens a stream to a directory server via Tor, and makes an + HTTP GET request for the document '/tor/rendezvous/<y>', where + '<y> is replaced with the encoding of Bob's public key as described + above. (She may re-use old circuits for this.) The directory replies + with a 404 HTTP response if it does not recognize <y>, and otherwise + returns Bob's most recently uploaded service descriptor. If Alice's OP receives a 404 response, it tries the other directory servers, and only fails the lookup if none recognizes the public key hash. |