[tor-commits] [check/master] Turn off descriptor validation

arlo at torproject.org arlo at torproject.org
Thu May 28 21:07:44 UTC 2015


commit a16bfe14bb463af2b3e60b6eff2c4783946d3f52
Author: Arlo Breault <arlolra at gmail.com>
Date:   Thu May 28 14:06:48 2015 -0700

    Turn off descriptor validation
    
     * At least until trac 16227 is resolved and stem upgraded.
---
 scripts/exitips.py |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/scripts/exitips.py b/scripts/exitips.py
index 81059b1..44bbdeb 100755
--- a/scripts/exitips.py
+++ b/scripts/exitips.py
@@ -49,7 +49,8 @@ def main(consensuses, exit_lists):
 
         # read in consensus and store routes in exits
         for router in parse_file("data/consensuses/" + f,
-                                 "network-status-consensus-3 1.0"):
+                                 "network-status-consensus-3 1.0",
+                                 validate=False):
             if router.fingerprint in exits:
                 continue
             r = Router(router, t)
@@ -72,7 +73,7 @@ def main(consensuses, exit_lists):
 
         # update exit addresses with data from TorDNSEL
         for descriptor in parse_file("data/exit-lists/" + m[0],
-                                     "tordnsel 1.0"):
+                                     "tordnsel 1.0", validate=False):
             e = exits.get(descriptor.fingerprint, None)
             if e is not None:
                 if e.Tminus == t:
@@ -83,7 +84,7 @@ def main(consensuses, exit_lists):
 
     # update all with server descriptor info
     for descriptor in parse_file("data/cached-descriptors",
-                                 "server-descriptor 1.0"):
+                                 "server-descriptor 1.0", validate=False):
         if descriptor.fingerprint in exits:
             r = exits[descriptor.fingerprint]
             r.IsAllowed = descriptor.exit_policy.is_exiting_allowed()



More information about the tor-commits mailing list