[or-cvs] Parse and generate service descriptors

Nick Mathewson nickm at seul.org
Wed Mar 31 02:04:08 UTC 2004


Update of /home/or/cvsroot/doc
In directory moria.mit.edu:/tmp/cvs-serv9412/doc

Modified Files:
	TODO rend-spec.txt 
Log Message:
Parse and generate service descriptors

Index: TODO
===================================================================
RCS file: /home/or/cvsroot/doc/TODO,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -d -r1.77 -r1.78
--- TODO	30 Mar 2004 19:52:42 -0000	1.77
+++ TODO	31 Mar 2004 02:04:06 -0000	1.78
@@ -105,9 +105,9 @@
               can be in.) [NM]
             o Add circuit metadata [NM] 3 hours
         - Code to configure hidden services [NM] 4 hours
-        - Service descriptors
+        . Service descriptors
             - OPs need to maintain identity keys for hidden services [NM] 1 hour
-            - Code to generate and parse service descriptors [NM] 4 hours
+            o Code to generate and parse service descriptors [NM] 4 hours
         - Advertisement
             . Generate y.onion hostnames [NM] 1 hour
             - Code to do an HTTP connection over Tor from within Tor [RD]

Index: rend-spec.txt
===================================================================
RCS file: /home/or/cvsroot/doc/rend-spec.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- rend-spec.txt	30 Mar 2004 19:20:11 -0000	1.2
+++ rend-spec.txt	31 Mar 2004 02:04:06 -0000	1.3
@@ -108,13 +108,13 @@
 
          KL    Key length                            [2 octets]
          PK    Bob's public key                      [KL octets]
-         TS    A timestamp                           [8 octets]
+         TS    A timestamp                           [4 octets]
          NI    Number of introduction points         [2 octets]
          Ipt   A list of NUL-terminated OR nicknames [variable]
          SIG   Signature of above fields             [KL octets]
 
    KL is the length of PK, in octets.  (Currently, KL must be 128.)
-   TS is the number of milliseconds elapsed since Jan 1, 1970.
+   TS is the number of seconds elapsed since Jan 1, 1970.
 
    [Shouldn't the nicknames be hostname:port's instead?  That way, Alice's
    directory servers don't need to know Bob's chosen introduction points.



More information about the tor-commits mailing list