[or-cvs] r20452: {torflow} Add a TODO from arma and fix an exception. (torflow/trunk/NetworkScanners/ExitAuthority)
mikeperry at seul.org
mikeperry at seul.org
Tue Sep 1 01:47:28 UTC 2009
Author: mikeperry
Date: 2009-08-31 21:47:28 -0400 (Mon, 31 Aug 2009)
New Revision: 20452
Modified:
torflow/trunk/NetworkScanners/ExitAuthority/soat.py
Log:
Add a TODO from arma and fix an exception.
Modified: torflow/trunk/NetworkScanners/ExitAuthority/soat.py
===================================================================
--- torflow/trunk/NetworkScanners/ExitAuthority/soat.py 2009-08-31 22:22:07 UTC (rev 20451)
+++ torflow/trunk/NetworkScanners/ExitAuthority/soat.py 2009-09-01 01:47:28 UTC (rev 20452)
@@ -75,6 +75,13 @@
# XXX: Handle wedged tor streams a-la bwauthority
+# TODO:
+# < armadev> mikeperry: something to put on the badnode-detector todo
+# list: make sure that each relay can extend to most other relays.
+# e.g. if a relay can only extend to relays running on ports 80
+# and 443, then it's a bad relay.
+
+
search_cookies=None
scanhdlr=None
datahandler=None
@@ -2776,13 +2783,13 @@
for test in to_run:
if test.finished(): continue
current_exit = test.get_node()
- scanhdlr.set_exit_node("$"+current_exit.idhex)
+ scanhdlr.set_exit_node("$"+current_exit_idhex)
scanhdlr.new_exit()
result = test.run_test()
if result != TEST_INCONCLUSIVE:
test.mark_chosen(current_exit_idhex, result)
datahandler.saveTest(test)
- plog("INFO", test.proto+" test via "+current_exit.idhex+" has result "+str(result))
+ plog("INFO", test.proto+" test via "+current_exit_idhex+" has result "+str(result))
plog("INFO", test.proto+" attempts: "+str(test.tests_run)+". Completed: "+str(test.total_nodes - test.scan_nodes)+"/"+str(test.total_nodes)+" ("+str(test.percent_complete())+"%)")
# Check each test for rewind
More information about the tor-commits
mailing list