[or-cvs] [torperf/master] Fix bug 2566: Set UseEntryGuards 1 to override the torperf torrc.

sebastian at torproject.org sebastian at torproject.org
Tue Feb 15 16:21:44 UTC 2011


commit 06c564ce2333972952e1bb933d804aec93926bc9
Author: Mike Perry <mikeperry-git at fscked.org>
Date:   Tue Feb 15 05:58:37 2011 -0800

    Fix bug 2566: Set UseEntryGuards 1 to override the torperf torrc.
    
    This lets us actually choose guards from the control port.
---
 entrycons.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/entrycons.py b/entrycons.py
index f7d22a7..d1c8f34 100755
--- a/entrycons.py
+++ b/entrycons.py
@@ -122,6 +122,7 @@ def main():
 
   conn.set_events(["NEWCONSENSUS", "NEWDESC", "NS", "GUARD"])
   conn.set_option("StrictEntryNodes", "1")
+  conn.set_option("UseEntryNodes", "1")
 
   EntryTracker(conn, speed)
   conn.block_until_close()





More information about the tor-commits mailing list