[tor-commits] [torspec/master] Make 185 a little more explicit on who sets dir-cache in their routerdesc

nickm at torproject.org nickm at torproject.org
Thu Sep 22 20:16:52 UTC 2011


commit d1fbdaf64ce9d58530a606bf7f44409d9f9d894f
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Sep 22 16:19:00 2011 -0400

    Make 185 a little more explicit on who sets dir-cache in their routerdesc
---
 proposals/185-dir-without-dirport.txt |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/proposals/185-dir-without-dirport.txt b/proposals/185-dir-without-dirport.txt
index c84ec35..838a58a 100644
--- a/proposals/185-dir-without-dirport.txt
+++ b/proposals/185-dir-without-dirport.txt
@@ -30,8 +30,12 @@ Configuration:
 Advertising cache status:
 
   Nodes which are running as a directory cache but which do not have
-  a DirPort set should set the entry "dir-cache 1" in their router
-  descriptors.
+  a DirPort set, or which do not have a working DirPort, should set
+  the entry "dir-cache 1" in their router descriptors and give their
+  directory port as 0 in their router lines.  (Nodes which have a
+  working directory port advertise it as usual, and do not include
+  a "dir-cache" line.  Implementations should accept and ignore
+  dir-cache lines with values other than "dir-cache 1".)
 
 Consensus:
 



More information about the tor-commits mailing list