aboutsummaryrefslogtreecommitdiff
path: root/doc/rendezvous.txt
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-06-14 07:27:45 +0000
committerRoger Dingledine <arma@torproject.org>2003-06-14 07:27:45 +0000
commitcb8ebfcf294f2b77173b9512bd1c6bc9e87cb030 (patch)
treec4289c5e95c0a27b940dc127f1bcc844c961702e /doc/rendezvous.txt
parent9f5c2ff0c1ea912d50223a52694e386487e5ed46 (diff)
downloadtor-cb8ebfcf294f2b77173b9512bd1c6bc9e87cb030.tar
tor-cb8ebfcf294f2b77173b9512bd1c6bc9e87cb030.tar.gz
folding in nick's suggestion
svn:r326
Diffstat (limited to 'doc/rendezvous.txt')
-rw-r--r--doc/rendezvous.txt20
1 files changed, 8 insertions, 12 deletions
diff --git a/doc/rendezvous.txt b/doc/rendezvous.txt
index 530adad9c..2164efa07 100644
--- a/doc/rendezvous.txt
+++ b/doc/rendezvous.txt
@@ -151,18 +151,14 @@
information into the hostname will be too long for a typical hostname,
we instead use a layer of indirection. We encode a hash of Bob's PK
(10 bytes is sufficient since we're not worrying about collisions),
- and also the authentication token (empty for now). Thus at a bit more
- than 6 bits encoded per character (assuming only alphanumeric and
- hyphen), we transform the hostname "moria.mit.edu" into the hostname
- "moria.mit.edu.onion5gfmjsda-ckd5" (adding 13 characters plus the
- separator).
-
- [I thought we were going to do something more like "56fmjsda-ckd5.onion",
- leaving off moria.mit.edu. This would have the advantage of not confusing
- users if the domain name part ('moria.mit.edu') doesn't match the key.
-
- Also, having a separate onion 'virtual TLD' is kinda more in the spirit
- of DNS as it stands. -NM]
+ and also the authentication token (empty for now). Location-hidden
+ services use the special top level domain called '.onion': thus
+ hostnames take the form x.y.onion where x is the hash of PK, and y
+ is the authentication cookie. If no cookie is required, the hostname
+ can simply be of the form x.onion. Assuming only case insensitive
+ alphanumeric and hyphen, we get a bit more than 6 bits encoded
+ per character, meaning the x part of the hostname will be about
+ 13 characters.
Alice's onion proxy examines hostnames and recognizes when they're
destined for a hidden server. If so, it decodes the PK, looks it up in