[or-cvs] It is not the end of the world when a router descriptor has...

Nick Mathewson nickm at seul.org
Fri Jun 24 23:42:17 UTC 2005


Update of /home/or/cvsroot/tor/doc
In directory moria:/tmp/cvs-serv6386/doc

Modified Files:
	tor-spec.txt 
Log Message:
It is not the end of the world when a router descriptor has an unrecognized kwd

Index: tor-spec.txt
===================================================================
RCS file: /home/or/cvsroot/tor/doc/tor-spec.txt,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -d -r1.87 -r1.88
--- tor-spec.txt	16 Jun 2005 20:33:03 -0000	1.87
+++ tor-spec.txt	24 Jun 2005 23:42:15 -0000	1.88
@@ -852,9 +852,14 @@
 and signed with the directory server's signing key.
 
 If software encounters an unrecognized keyword in a single router descriptor,
-it should reject only that router descriptor, and continue using the
-others.  If it encounters an unrecognized keyword in the directory header,
-it should reject the entire directory.
+it MUST reject only that router descriptor, and continue using the
+others.  Because this mechanism is used to add 'critical' extensions to
+future versions of the router descriptor format, implementation should treat
+it as a normal occurrence and not, for example, report it to the user as an
+error.  [Versions of Tor prior to 0.1.1 did this.]
+
+If software encounters an unrecognized keyword in the directory header,
+it SHOULD reject the entire directory.
 
 7.4. Network-status descriptor
 



More information about the tor-commits mailing list