diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2016-09-06 21:06:35 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-09-08 09:15:16 -0400 |
commit | dca09fda52993babfc00d3e76e681913450d5f82 (patch) | |
tree | 5d8d220241676560854b2c41fb244de2cba7549c /dir-spec.txt | |
parent | 4aff96041b25ae89acbaf2335743e3e0ffe52da9 (diff) | |
download | torspec-dca09fda52993babfc00d3e76e681913450d5f82.tar.gz torspec-dca09fda52993babfc00d3e76e681913450d5f82.zip |
Specify "p" lines in a consensus as required
This is motivated to remove an ambiguity about what a missing "p" line
means when comparing historical consensus data.
Diffstat (limited to 'dir-spec.txt')
-rw-r--r-- | dir-spec.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dir-spec.txt b/dir-spec.txt index db1378f..d5e8376 100644 --- a/dir-spec.txt +++ b/dir-spec.txt @@ -1369,16 +1369,17 @@ "p" SP ("accept" / "reject") SP PortList NL - [At most once] + [Exactly once.] - The exit-policy summary as specified in sections 3.4.1 and 3.8.2. A - missing "p" line is equivalent to "p reject 1-65535". + The exit-policy summary as specified in sections 3.4.1 and 3.8.2. [With microdescriptors, clients don't learn exact exit policies: clients can only guess whether a relay accepts their request, try the BEGIN request, and might get end-reason-exit-policy if they guessed wrong, in which case they'll have to try elsewhere.] + [In consensus methods before 5, this line was omitted.] + "p6" SP ("accept" / "reject") SP PortList NL [At most once] |