Skip to content
Permalink
refactoring

Commits on Oct 15, 2011

  1. Add --help option for snakeinspector.py

    Use --help to view usage.
    gsathya committed Oct 15, 2011
  2. Add --help Option

    Using --help gives the list of
    options required for SoaT.
    gsathya committed Oct 15, 2011
  3. Check cmdline arguments

    Make sure the commandline arguments are correct
    before proceding. If not, show error message and
    correct usage.
    gsathya committed Oct 15, 2011
  4. Added usage() function

    gsathya committed Oct 15, 2011

Commits on Oct 1, 2011

  1. Submodule...

    Mike Perry
    Mike Perry committed Oct 1, 2011
  2. Suggest add_torctl.sh if torctl is missing.

    Mike Perry
    Mike Perry committed Oct 1, 2011
  3. Merge branch 'fixes_rebased_2018_4066_4067_4077'

    Mike Perry
    Mike Perry committed Oct 1, 2011

Commits on Sep 30, 2011

  1. Bug #4077: Remove UseMicrodescriptors.

    Mike Perry
    Mike Perry committed Sep 30, 2011
  2. 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."
    aagbsn committed Sep 30, 2011
  3. 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.
    aagbsn committed Sep 30, 2011
  4. 4067 update BwAuthority README

    Add Appendix B: for postgres configuration
    
    Explain how to get a postgres backend working
    with BwAuthority
    aagbsn committed Sep 30, 2011
  5. 4066 example db_url should refer to unique db

    BwAuthority sample db_url should refer to distinct databases.
    aagbsn committed Sep 30, 2011
  6. 2018 - better error messages

    Wraps custom library imports in try/except, and
    adds error messages in format:
    """
    TorCtl not found in os.path.abspath($cwd/../..)
    Exiting...
    """
    aagbsn committed Sep 30, 2011
  7. Set FetchDirInfoExtraEarly and FetchDirInfoEarly for bwauth and soat.

    We want to ensure they always have fresh consensus data from within the hour.
    Mike Perry
    Mike Perry committed Sep 30, 2011

Commits on Sep 28, 2011

  1. 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://...'
    aagbsn committed Sep 28, 2011
  2. 4109 - misspelled property name

    renamed 'contet' to 'content'
    aagbsn committed Sep 28, 2011
  3. 4106 - undefined variable 'content_prefix'

    replaced content_prefix+".content" with:
    self.address_to_context(address)+".content",
    aagbsn committed Sep 28, 2011
  4. 4105 - undefined variable 'INCONCLUSIVE_DYNAMIC'

    Added this to libsoat.py
    aagbsn committed Sep 28, 2011
  5. 4104 - 'fetch_targets' is not defined anywhere

    This looks safe to comment
    aagbsn committed Sep 28, 2011
  6. 4103 - using variable 'code' before assignment

    It looks as if this was meant to be 'search_req.code' and not 'code'
    aagbsn committed Sep 28, 2011
  7. 4102 - address_to_failed_prefix is not defined

    fixed missing 'self'; also corrected a reference-before-assignment
    aagbsn committed Sep 28, 2011
  8. 4101 - 'address_to_context' is not defined

    missing 'self'
    aagbsn committed Sep 28, 2011

Commits on Sep 22, 2011

  1. 4080 sha1sum not defined

    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.
    aagbsn committed Sep 22, 2011

Commits on Sep 20, 2011

  1. Clarify soat_config names for emailing results.

    Mike Perry
    Mike Perry committed Sep 20, 2011
  2. Fix an exception in emailed results.

    Mike Perry
    Mike Perry committed Sep 20, 2011

Commits on Sep 15, 2011

  1. Dust off and polish up README a bit.

    Mike Perry
    Mike Perry committed Sep 15, 2011
  2. 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
    Mike Perry committed Sep 15, 2011

Commits on Sep 14, 2011

  1. Merge remote branch 'canderson/master'

    Mike Perry
    Mike Perry committed Sep 14, 2011

Commits on Sep 7, 2011

  1. Submodule..

    Mike Perry
    Mike Perry committed Sep 7, 2011

Commits on Sep 6, 2011

  1. revert fix for 3798

    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.
    aagbsn committed Sep 6, 2011

Commits on Sep 1, 2011

  1. Update submodule..

    Mike Perry
    Mike Perry committed Sep 1, 2011
  2. log branch and head to bw.log

    aagbsn committed Sep 1, 2011

Commits on Aug 30, 2011

  1. Removing deprecated HTMLTest

    christian
    christian committed Aug 30, 2011
  2. Incorporating ssl test into new infrastructure

    christian
    christian committed Aug 30, 2011

Commits on Aug 25, 2011

  1. wait for connection to close before exiting

    TorCtl.Connection.close() doesn't block;
    use TorCtl.Connection.block_until_close() to join the _eventLoop thread
    aagbsn committed Aug 25, 2011
Older