aboutsummaryrefslogtreecommitdiff
path: root/doc/dir-spec.txt
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-08-25 20:04:12 +0000
committerNick Mathewson <nickm@torproject.org>2005-08-25 20:04:12 +0000
commitf0893ddc8c6372b67200dad5ff4cc16fbe2ecc69 (patch)
tree09c9d67abebdc6e1bc49fb1c002a16ad46dbd35e /doc/dir-spec.txt
parent251c486f6c39408e4e60f2f27e0a1f087af03d23 (diff)
downloadtor-f0893ddc8c6372b67200dad5ff4cc16fbe2ecc69.tar
tor-f0893ddc8c6372b67200dad5ff4cc16fbe2ecc69.tar.gz
Clarify formats, terminology; add more URLs.
svn:r4834
Diffstat (limited to 'doc/dir-spec.txt')
-rw-r--r--doc/dir-spec.txt29
1 files changed, 24 insertions, 5 deletions
diff --git a/doc/dir-spec.txt b/doc/dir-spec.txt
index 37437a084..ef1604724 100644
--- a/doc/dir-spec.txt
+++ b/doc/dir-spec.txt
@@ -80,14 +80,15 @@ $Id$
The preamble contains:
"network-status-version" -- A document format version. For this
- specification, the version is "1".
- "directory-source" -- The hostname, current IP address, and directory
+ specification, the version is "2".
+ "dir-source" -- The hostname, current IP address, and directory
port of the directory server, separated by spaces.
- "directory-signing-key" -- The directory server's public signing key.
+ "dir-fingerprint" -- XXXX DOCDOC
+ "dir-signing-key" -- The directory server's public signing key.
"client-versions" -- A comma-separated list of recommended client versions
"server-versions" -- A comma-separated list of recommended server versions
"published" -- The publication time for this network-status object.
- "directory-options" -- A set of flags separated by spaces:
+ "dir-options" -- A set of flags separated by spaces:
"Names" if this directory server performs name bindings
The directory-options entry is optional; the others are required and must
@@ -150,17 +151,35 @@ $Id$
other directory servers (name X is bound to identity Y if at least one
binding directory lists it, and no directory binds X to some other Y'.)
- The authoritative directory published by a host should be available at:
+ The authoritative network-status published by a host should be available at:
http://<hostname>/tor/status/authority.z
+ An authoritative network-status published by another host with fingerprint <F>
+ should be available at:
+ http://<hostname>/tor/status/<F>.z
+
+ The most recent network-status documents from all known authoritative
+ directories, concatenated, should be available at:
+ http://<hostname>/tor/status/all.z
+
The most recent descriptor for a server whose identity key has a
fingerprint of <F> should be available at:
http://<hostname>/tor/server/fp/<F>.z
+ The most recent descriptors for servers have fingerprints <F1>,<F2>,<F3>
+ should be available at:
+ http://<hostname>/tor/server/fp/<F1>+<F2>+<F3>.z
+
+ The most recent descriptor for this server should be at:
+ http://<hostname>/tor/server/authority.z
+
A concatenated set of the most recent descriptors for all known servers
should be available at:
http://<hostname>/tor/server/all.z
+ For debugging, directories MAY expose non-compressed objects at URLs like
+ the above, but without the final ".z".
+
[XXXX specify concatenation of several servers.]
4.1. Caching