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

[or-cvs] [torflow/master 74/92] Don't remove false positives if --exit is given



Author: John M. Schanck <john@xxxxxxxxxxx>
Date: Sat, 14 Aug 2010 22:47:32 -0400
Subject: Don't remove false positives if --exit is given
Commit: 8d11b879777e14581c125206e47565acd7df52d8

---
 NetworkScanners/ExitAuthority/soat.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/NetworkScanners/ExitAuthority/soat.py b/NetworkScanners/ExitAuthority/soat.py
index 688ccc3..7fd35c7 100755
--- a/NetworkScanners/ExitAuthority/soat.py
+++ b/NetworkScanners/ExitAuthority/soat.py
@@ -3144,7 +3144,10 @@ def main(argv):
       else:
         plog("NOTICE", test.proto+" test has finished all nodes.")
         datahandler.saveTest(test)
-        test.remove_false_positives()
+        if not fixed_exits:
+          test.remove_false_positives()
+        else:
+          plog("NOTICE", "Not removing false positives for fixed-exit scan")
         if not do_rescan and rescan_at_finish:
           test.toggle_rescan()
           test.rewind()
-- 
1.7.1