aboutsummaryrefslogtreecommitdiff
path: root/proposals/141-jit-sd-downloads.txt
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2008-08-14 12:37:50 +0000
committerPeter Palfrader <peter@palfrader.org>2008-08-14 12:37:50 +0000
commit720aa488e6c32bf699449c92cf82105fb663c352 (patch)
tree44c8c89d726aaa939541cf9a1d263e148c04f876 /proposals/141-jit-sd-downloads.txt
parent5bdb65d526f0b42c9d2a11c516d99d5ab5ce7101 (diff)
downloadtorspec-720aa488e6c32bf699449c92cf82105fb663c352.tar.gz
torspec-720aa488e6c32bf699449c92cf82105fb663c352.zip
Having a reject-all policy summarized with a lack of summary is stupid. Explicitly mention them as reject 1-65535.
svn:r16543
Diffstat (limited to 'proposals/141-jit-sd-downloads.txt')
-rw-r--r--proposals/141-jit-sd-downloads.txt23
1 files changed, 13 insertions, 10 deletions
diff --git a/proposals/141-jit-sd-downloads.txt b/proposals/141-jit-sd-downloads.txt
index d12fb7a..f03c673 100644
--- a/proposals/141-jit-sd-downloads.txt
+++ b/proposals/141-jit-sd-downloads.txt
@@ -233,18 +233,21 @@ Status: Draft
at most two /8 networks).
An exit policy summary will be included in votes and consensus as a
- new line attached to each exit node. A lack of policy should indicate
- a non-exit policy. The line will have the format
+ new line attached to each exit node. The line will have the format
"p" <space> "accept"|"reject" <portlist>
where portlist is a comma seperated list of single port numbers or
- portranges (e.g. "22,80-88,1024-6000,6667"). Whether the summary
- shows the list of accepted ports or the list of rejected ports depends
- on which list is shorter (has a shorter string representation). In
- case of ties we choose the list of accepted ports. As an exception to
- this rule an allow-all policy is represented as "accept 1-65535"
- instead of "reject ". Summary items are compressed, that is instead
- of "80-88,89-100" there only is a single item of "80-100", similarly
- instead of "20,21" a summary will say "20-21".
+ portranges (e.g. "22,80-88,1024-6000,6667").
+
+ Whether the summary shows the list of accepted ports or the list of
+ rejected ports depends on which list is shorter (has a shorter string
+ representation). In case of ties we choose the list of accepted
+ ports. As an exception to this rule an allow-all policy is
+ represented as "accept 1-65535" instead of "reject " and a reject-all
+ policy is similarly given as "reject 1-65535".
+
+ Summary items are compressed, that is instead of "80-88,89-100" there
+ only is a single item of "80-100", similarly instead of "20,21" a
+ summary will say "20-21".
Port lists are sorted in ascending order.