aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-07-15 05:50:22 +0000
committerRoger Dingledine <arma@torproject.org>2006-07-15 05:50:22 +0000
commit1c23ae80b740bf41743a2661fa51e3cf25ef2a59 (patch)
treebe4a10c6e8fc66bb173a01a9db90912c9640a676
parent182589dae6e8866cac8431b9ea7caf244746c992 (diff)
downloadtor-1c23ae80b740bf41743a2661fa51e3cf25ef2a59.tar
tor-1c23ae80b740bf41743a2661fa51e3cf25ef2a59.tar.gz
mention the existence of dir-spec in tor-spec, and note that we need
to update it. svn:r6761
-rw-r--r--doc/tor-spec.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/tor-spec.txt b/doc/tor-spec.txt
index 00cd49feb..6045fc0c5 100644
--- a/doc/tor-spec.txt
+++ b/doc/tor-spec.txt
@@ -856,7 +856,8 @@ The items' formats are as follows:
A fingerprint (a HASH_LEN-byte of asn1 encoded public key, encoded
in hex, with a single space after every 4 characters) for this router's
- identity key.
+ identity key. A descriptor is considered invalid (and MUST be
+ rejected) if the fingerprint line does not match the public key.
[We didn't start parsing this line until Tor 0.1.0.6-rc; it should
be marked with "opt" until earlier versions of Tor are obsolete.]
@@ -943,6 +944,10 @@ line, they must appear in the "ports" lines.
8.3. Directory format
+[Sections 8.3-8.5 describe the old version 1 directory format, which is
+used by Tor 0.0.9.x and 0.1.0.x. See dir-spec.txt for the new version
+2 format, used by 0.1.1.x and 0.1.2.x. -RD]
+
A Directory begins with a "signed-directory" item, followed by one each of
the following, in any order: "recommended-software", "published",
"router-status", "dir-signing-key". It may include any number of "opt"
@@ -1017,6 +1022,10 @@ it SHOULD reject the entire directory.
8.4. Network-status descriptor
+[Sections 8.3-8.5 describe the old version 1 directory format, which is
+used by Tor 0.0.9.x and 0.1.0.x. See dir-spec.txt for the new version
+2 format, used by 0.1.1.x and 0.1.2.x. -RD]
+
A "network-status" (a.k.a "running-routers") document is a truncated
directory that contains only the current status of a list of nodes, not
their actual descriptors. It contains exactly one of each of the following