[tor-commits] [torspec/master] Spec the maximum descriptor size.

nickm at torproject.org nickm at torproject.org
Fri Nov 23 15:19:16 UTC 2012


commit b783355e8cf087ba427f4cc0db6e652540e9e272
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Nov 23 10:18:41 2012 -0500

    Spec the maximum descriptor size.
    
    Fixed 3176
---
 dir-spec.txt |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dir-spec.txt b/dir-spec.txt
index e223b2a..cb3fe46 100644
--- a/dir-spec.txt
+++ b/dir-spec.txt
@@ -354,6 +354,9 @@
 
       http://<hostname:port>/tor/
 
+   Neither router descriptors nor extra-info documents may exceed 20,000
+   bytes in length. If they do, the authorities SHOULD reject them.
+
 2.1. Router descriptor format
 
    Router descriptors consist of the following items.  For backward



More information about the tor-commits mailing list