From 171a7d4b0fb4341520dcf3ef512ad74eb9a86ed0 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 --- doc/spec/proposals/141-jit-sd-downloads.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/spec') diff --git a/doc/spec/proposals/141-jit-sd-downloads.txt b/doc/spec/proposals/141-jit-sd-downloads.txt index af78d9750..d12fb7a91 100644 --- a/doc/spec/proposals/141-jit-sd-downloads.txt +++ b/doc/spec/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