From 5bdb65d526f0b42c9d2a11c516d99d5ab5ce7101 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 13 Aug 2008 19:25:18 +0000 Subject: Fix an overflow when counting rejects for *, truncate exit summaries after 1000 chars svn:r16530 --- proposals/141-jit-sd-downloads.txt | 7 +++++++ 1 file changed, 7 insertions(+) (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 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). -- cgit v1.2.3-54-g00ecf