From 720aa488e6c32bf699449c92cf82105fb663c352 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 14 Aug 2008 12:37:50 +0000 Subject: Having a reject-all policy summarized with a lack of summary is stupid. Explicitly mention them as reject 1-65535. svn:r16543 --- proposals/141-jit-sd-downloads.txt | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'proposals/141-jit-sd-downloads.txt') 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" "accept"|"reject" 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. -- cgit v1.2.3-54-g00ecf