aboutsummaryrefslogtreecommitdiff
path: root/proposals/185-dir-without-dirport.txt
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-09-20 15:34:48 -0400
committerNick Mathewson <nickm@torproject.org>2011-09-20 15:34:48 -0400
commit0c856b58719133110d09f35ca8eb47728d42748c (patch)
treef2bcbd81b35999857fa959ca5d169ae9f4aa027c /proposals/185-dir-without-dirport.txt
parent91905a79a67c01e571860597ab097285ba904217 (diff)
downloadtorspec-0c856b58719133110d09f35ca8eb47728d42748c.tar.gz
torspec-0c856b58719133110d09f35ca8eb47728d42748c.zip
Add two small proposals
Diffstat (limited to 'proposals/185-dir-without-dirport.txt')
-rw-r--r--proposals/185-dir-without-dirport.txt41
1 files changed, 41 insertions, 0 deletions
diff --git a/proposals/185-dir-without-dirport.txt b/proposals/185-dir-without-dirport.txt
new file mode 100644
index 0000000..c84ec35
--- /dev/null
+++ b/proposals/185-dir-without-dirport.txt
@@ -0,0 +1,41 @@
+Filename: 185-dir-without-dirport.txt
+Title: Directory caches without DirPort
+Author: Nick Mathewson
+Created: 20-Sep-2011
+Status: Open
+
+Overview:
+
+ Exposing a directory port is no longer necessary for running as a
+ directory cache. This proposal suggests that we eliminate that
+ requirement, and describes how.
+
+Motivation:
+
+ Now that we tunnel directory connections by default, it is no
+ longer necessary to have a DirPort to be a directory cache. In
+ fact, bridges act as directory caches but do not actually have a
+ DirPort exposed. It would be nice and tidy to expand that
+ property to the rest of the network.
+
+Configuration:
+
+ Add a new torrc option, "DirCache". Its values can be "0", "1",
+ and "auto". If it is 0, we never act as a directory cache, even
+ if DirPort is set. If it is 1, then we act as a directory cache
+ according to same rules as those used for nodes that set a
+ DirPort. If it is "auto", then Tor decides whether to act as a
+ directory cache.
+
+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.
+
+Consensus:
+
+ Authorities should assign a "DirCache" flag to all nodes running
+ as a directory cache that do not set a DirPort.
+
+ This does not require a new version of the consensus algorithm.