[or-cvs] r9892: clean up proposal 104 more (tor/trunk/doc/spec/proposals)

arma at seul.org arma at seul.org
Wed Mar 21 05:45:45 UTC 2007


Author: arma
Date: 2007-03-21 01:45:44 -0400 (Wed, 21 Mar 2007)
New Revision: 9892

Modified:
   tor/trunk/doc/spec/proposals/104-short-descriptors.txt
Log:
clean up proposal 104 more


Modified: tor/trunk/doc/spec/proposals/104-short-descriptors.txt
===================================================================
--- tor/trunk/doc/spec/proposals/104-short-descriptors.txt	2007-03-21 04:12:08 UTC (rev 9891)
+++ tor/trunk/doc/spec/proposals/104-short-descriptors.txt	2007-03-21 05:45:44 UTC (rev 9892)
@@ -55,18 +55,19 @@
 
   1. Extra Info Format.
 
-    A "extra info" descriptor contains the following fields:
+    An "extra info" descriptor contains the following fields:
 
-    "extra-info" Nickname IP FINGERPRINT
+    "extra-info" Nickname IP Fingerprint
         Identifies what router this is an extra info descriptor for.
-        FINGERPRINT is encoded in hex, with no spaces.
+        Fingerprint is encoded in hex (using upper-case letters), with
+        no spaces.
 
     "published"
-        As currently documented in dir-spec.txt
+        As currently documented in dir-spec.txt.
 
     "read-history"
     "write-history"
-        As currently documented in dir-spec.txt
+        As currently documented in dir-spec.txt.
 
     "router-signature" NL Signature NL
 
@@ -83,15 +84,19 @@
   2. Existing formats
 
      Implementations that use "read-history" and "write-history" SHOULD
-     accept router descriptors that contain them.  (Prior to 0.2.0.x, this
-     information was encoded in ordinary router descriptors.)
+     continue accepting router descriptors that contain them.  (Prior to
+     0.2.0.x, this information was encoded in ordinary router descriptors;
+     in any case they have always been listed as opt, so they should be
+     accepted anyway.)
 
-     Add these field to router descriptors:
-       "extra-info-digest" DIGEST
-          DIGEST is a hex-encoded digest of the router's extra-info document,
-          as signed in the router's extra-info.  (If this field is absent,
-          no extra-info-digest exists.)
+     Add these fields to router descriptors:
 
+       "extra-info-digest" Digest
+          "Digest" is a hex-encoded digest (using upper-case characters)
+          of the router's extra-info document, as signed in the router's
+          extra-info.  (If this field is absent, no extra-info-digest
+          exists.)
+
        "caches-extra-info"
           Present if this router is a directory cache that provides
           extra-info documents.
@@ -102,7 +107,7 @@
      descriptor they generate and upload; no more, no less.  Clients MUST
      upload the new descriptor before they upload the new extra-info.
 
-     Authorities receiving an extra-info documents SHOULD verify all of the
+     Authorities receiving an extra-info document SHOULD verify all of the
      following:
        * They have a router descriptor for some server with a matching
          nickname, IP, and identity fingerprint.
@@ -126,24 +131,25 @@
 
      http://<hostname>/tor/extra/d/...
      http://<hostname>/tor/extra/fp/...
-     http://<hostname>/tor/extra/all.z
+     http://<hostname>/tor/extra/all[.z]
         (As for /tor/server/ URLs: supports fetching extra-info documents
-        by their digest, by the fingerprint of their servers, or all at
-        once.  Only directory authorities are guaranteed to support these
-        URLs.)
+        by their digest, by the fingerprint of their servers, or all
+        at once. When serving by fingerprint, we serve the extra-info
+        that corresponds to the descriptor we would serve by that
+        fingerprint. Only directory authorities are guaranteed to support
+        these URLs.)
 
-     http://<hostname>/tor/extra/authority.z
+     http://<hostname>/tor/extra/authority[.z]
         (The extra-info document for this router.)
 
      Extra-info documents are uploaded to the same URLs as regular
      router descriptors.
 
-
 Migration:
 
   For extra info approach:
      * First:
-       * Authorities should accept extra info, and support downloading it.
+       * Authorities should accept extra info, and support serving it.
        * Routers should upload bandwidth info once authorities accept it.
        * Caches should support an option to download and cache it, once
          authorities serve it.



More information about the tor-commits mailing list