diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-01-06 12:47:41 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-01-06 12:47:41 -0500 |
commit | 8ef1e83ed9695603d4a692ba80a185ebe3202154 (patch) | |
tree | 71db723bb8c3da127074d2fd03eda9612d2ee145 /proposals/185-dir-without-dirport.txt | |
parent | 26fb675bcabb89e75dd6ca76fec876e35ddb8370 (diff) | |
download | torspec-8ef1e83ed9695603d4a692ba80a185ebe3202154.tar.gz torspec-8ef1e83ed9695603d4a692ba80a185ebe3202154.zip |
Revise proposal 185 to make DirCache flag unconditional
Based on review by Karsten, who says:
"""I'm not sure why a) relays with a working DirPort shouldn't
include "dir-cache 1" in their router descriptor and b)
authorities shouldn't assign the "DirCache" flag to relays with a
working DirPort that don't have a "dir-cache 1" line in their
router descriptor. I understand that neither of the two actions
are necessary to make the proposal work. But this could be a
chance to get rid of the DirPort concept entirely and only rely
on "dir-cache 1" and "DirCache" flags in the future."""
Diffstat (limited to 'proposals/185-dir-without-dirport.txt')
-rw-r--r-- | proposals/185-dir-without-dirport.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/proposals/185-dir-without-dirport.txt b/proposals/185-dir-without-dirport.txt index 62d5460..7302e75 100644 --- a/proposals/185-dir-without-dirport.txt +++ b/proposals/185-dir-without-dirport.txt @@ -30,11 +30,11 @@ Configuration: Advertising cache status: - Nodes which are running as a directory cache but which do not have - 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 that have a - working directory port advertise it as usual, and do not include a + Nodes that are running as a directory cache should set the entry + "dir-cache 1" in their router descriptors. If they do not have a + DirPort set, or do not have a working DirPort, they should give + their directory port as 0 in their router lines. (Nodes that have + a working directory port advertise it as usual, and also include a "dir-cache" line. Nodes that do not serve directory information should set their directory port to 0, and not include any dir-cache line. Implementations should accept and ignore @@ -43,6 +43,6 @@ Advertising cache status: Consensus: Authorities should assign a "DirCache" flag to all nodes running - as a directory cache that do not set a DirPort. + as a directory cache. This does not require a new version of the consensus algorithm. |