[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit a16bfe14bb463af2b3e60b6eff2c4783946d3f52
Author: Arlo Breault <arlolra@xxxxxxxxx>
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()

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits