diff options
author | Peter Palfrader <peter@palfrader.org> | 2008-08-14 12:37:50 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2008-08-14 12:37:50 +0000 |
commit | ff32708d0e6e031d3b634a88abee03680ed61dcc (patch) | |
tree | 84a7d3e1fb3d72ba66c7a67dec013a7bfe9e1ea1 /doc/spec | |
parent | 2f91a3528a704c1c1782d3dfce36e3ad865e7117 (diff) | |
download | tor-ff32708d0e6e031d3b634a88abee03680ed61dcc.tar.gz tor-ff32708d0e6e031d3b634a88abee03680ed61dcc.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 'doc/spec')
-rw-r--r-- | doc/spec/proposals/141-jit-sd-downloads.txt | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/doc/spec/proposals/141-jit-sd-downloads.txt b/doc/spec/proposals/141-jit-sd-downloads.txt index d12fb7a911..f03c67323d 100644 --- a/doc/spec/proposals/141-jit-sd-downloads.txt +++ b/doc/spec/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. |