aboutsummaryrefslogtreecommitdiff
path: root/doc/spec
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2008-08-13 19:25:18 +0000
committerPeter Palfrader <peter@palfrader.org>2008-08-13 19:25:18 +0000
commit171a7d4b0fb4341520dcf3ef512ad74eb9a86ed0 (patch)
tree2e830fe82ddbbfc5ab43a9f8831a017c71c5f3d8 /doc/spec
parent864b4a009d609841043402fa1572ab13cf59e5a1 (diff)
downloadtor-171a7d4b0fb4341520dcf3ef512ad74eb9a86ed0.tar
tor-171a7d4b0fb4341520dcf3ef512ad74eb9a86ed0.tar.gz
Fix an overflow when counting rejects for *, truncate exit summaries after 1000 chars
svn:r16530
Diffstat (limited to 'doc/spec')
-rw-r--r--doc/spec/proposals/141-jit-sd-downloads.txt7
1 files changed, 7 insertions, 0 deletions
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).