refactoring
Commits on Oct 15, 2011
-
Using --help gives the list of options required for SoaT.
-
Make sure the commandline arguments are correct before proceding. If not, show error message and correct usage.
-
Commits on Oct 1, 2011
-
Mike Perry committed
Oct 1, 2011 -
Suggest add_torctl.sh if torctl is missing.
Mike Perry committedOct 1, 2011 -
Merge branch 'fixes_rebased_2018_4066_4067_4077'
Mike Perry committedOct 1, 2011
Commits on Sep 30, 2011
-
Bug #4077: Remove UseMicrodescriptors.
Mike Perry committedSep 30, 2011 -
4077 remove UseMicrodescriptors from torrc
"Tor 0.2.3.4-alpha makes 'FetchUselessDescriptors' cause all descriptor types and all consensus types (including microdescriptors) to get fetched. Fixes bug 3851; bugfix on 0.2.3.1-alpha."
-
4067 - update BwAuthority README
update README to bump library versions recommend using newer versions of SQLAlchemy and Elixir in the README. direct postgresql users to install python-psycopg2.
-
4067 update BwAuthority README
Add Appendix B: for postgres configuration Explain how to get a postgres backend working with BwAuthority
-
4066 example db_url should refer to unique db
BwAuthority sample db_url should refer to distinct databases.
-
Wraps custom library imports in try/except, and adds error messages in format: """ TorCtl not found in os.path.abspath($cwd/../..) Exiting... """
-
Set FetchDirInfoExtraEarly and FetchDirInfoEarly for bwauth and soat.
We want to ensure they always have fresh consensus data from within the hour.
Mike Perry committedSep 30, 2011
Commits on Sep 28, 2011
-
4127 - refill_targets uses wrong type
refill_targets maps add_target to a list of urls add_target expects tuple (url, filetype) and adds a target ('h', 't') -- probably from 'http://...' -
4106 - undefined variable 'content_prefix'
replaced content_prefix+".content" with: self.address_to_context(address)+".content",
-
4105 - undefined variable 'INCONCLUSIVE_DYNAMIC'
Added this to libsoat.py
-
4104 - 'fetch_targets' is not defined anywhere
This looks safe to comment
-
4103 - using variable 'code' before assignment
It looks as if this was meant to be 'search_req.code' and not 'code'
-
4102 - address_to_failed_prefix is not defined
fixed missing 'self'; also corrected a reference-before-assignment
Commits on Sep 22, 2011
-
This fix corrects 2 references to an undefined variable sha1sum: fix for missing sha1sum #1 just uses the sha() of the content from the new request because compare() already declares the content equal: if req.content == new_req.content: assert(sha(req.content) == sha(new_req.content)) fix for missing sha1sum #2 is to load the original content (from disk) and compute sha(). I added a helper function load_original_sha1sum() for clarity.
Commits on Sep 20, 2011
-
Clarify soat_config names for emailing results.
Mike Perry committedSep 20, 2011 -
Fix an exception in emailed results.
Mike Perry committedSep 20, 2011
Commits on Sep 15, 2011
-
Dust off and polish up README a bit.
Mike Perry committedSep 15, 2011 -
Allow SSL tests to have a port.
This should fix bug 2697 by allowing us to scan for failures on port 80 SSL hosts. Also use the new TorCtl.connect() method.
Mike Perry committedSep 15, 2011
Commits on Sep 14, 2011
-
Merge remote branch 'canderson/master'
Mike Perry committedSep 14, 2011
Commits on Sep 7, 2011
-
Mike Perry committed
Sep 7, 2011
Commits on Sep 6, 2011
-
The fix for 3798 (https://trac.torproject.org/projects/tor/ticket/3798) introduced a new error: TorCtl.Connection.close() at program exit will occasionally cause BwAuthority to hang indefinitely. This issue was originally reported in ticket 3834 (https://trac.torproject.org/projects/tor/ticket/3834) TorCtl.Connection.close() should not be used at this time. The issue occurs when called in either atexit handlers as well as at the end of the main thread.
Commits on Sep 1, 2011
-
Mike Perry committed
Sep 1, 2011 -
Commits on Aug 30, 2011
-
christian committed
Aug 30, 2011 -
Incorporating ssl test into new infrastructure
christian committedAug 30, 2011
Commits on Aug 25, 2011
-
wait for connection to close before exiting
TorCtl.Connection.close() doesn't block; use TorCtl.Connection.block_until_close() to join the _eventLoop thread