Browse Source

r12643@catbus: nickm | 2007-05-03 13:43:47 -0400
Note that extensions to the directory protocol should begin their item keywords with "x-" or "X-".


svn:r10108

Nick Mathewson 18 years ago
parent
commit
fda7e4d8d9
1 changed files with 5 additions and 0 deletions
  1. 5 0
      doc/spec/dir-spec.txt

+ 5 - 0
doc/spec/dir-spec.txt

@@ -124,6 +124,11 @@ $Id$
   Implementations MUST prefix items not recognized by older versions of Tor
   Implementations MUST prefix items not recognized by older versions of Tor
   with an "opt" until those versions of Tor are obsolete.
   with an "opt" until those versions of Tor are obsolete.
 
 
+  Other implementations that want to extend Tor's directory format MAY
+  introduce their own items.  The keywords for extension items SHOULD start
+  with the characters "x-" or "X-", to guarantee that they will not conflict
+  with keywords used by future versions of Tor.
+
 2. Router operation
 2. Router operation
 
 
    ORs SHOULD generate a new router descriptor whenever any of the
    ORs SHOULD generate a new router descriptor whenever any of the