diff options
author | Peter Palfrader <peter@palfrader.org> | 2008-08-13 19:25:18 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2008-08-13 19:25:18 +0000 |
commit | 5bdb65d526f0b42c9d2a11c516d99d5ab5ce7101 (patch) | |
tree | e7a2afc0a90208d4e589d866222f1cb84779bb63 /proposals/141-jit-sd-downloads.txt | |
parent | 66f3ed04285efb72fd53ffee2a45866c2126326e (diff) | |
download | torspec-5bdb65d526f0b42c9d2a11c516d99d5ab5ce7101.tar.gz torspec-5bdb65d526f0b42c9d2a11c516d99d5ab5ce7101.zip |
Fix an overflow when counting rejects for *, truncate exit summaries after 1000 chars
svn:r16530
Diffstat (limited to 'proposals/141-jit-sd-downloads.txt')
-rw-r--r-- | proposals/141-jit-sd-downloads.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/proposals/141-jit-sd-downloads.txt b/proposals/141-jit-sd-downloads.txt index af78d97..d12fb7a 100644 --- a/proposals/141-jit-sd-downloads.txt +++ b/proposals/141-jit-sd-downloads.txt @@ -246,6 +246,13 @@ Status: Draft 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. + + The maximum allowed length of a policy summary (including the "accept " + or "reject ") is 1000 characters. If a summary exceeds that length we + use an accept-style summary and list as much of the port list as is + possible within these 1000 bytes. + Similarly to IP address, ports, and timestamp a consensus should list the exit policy matching the descriptor digest referenced in the consensus document (See dir-spec section 3.4). |