summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 4271 integrity checking4271-integrity-checkingaagbsn2011-10-21
| | | | | | Add logging when SSL verification fails, and discard the download TODO: determine if we should make more noise
* 4271 integrity checkingaagbsn2011-10-21
| | | | add import ssl...
* 4271 integrity checkingaagbsn2011-10-21
| | | | | | | It turns out that a self-signed cert will work just fine if it is in the ca_certs file. TODO: find some way of verifying this is the right cert :-)
* 4271 integrity checkingaagbsn2011-10-21
| | | | Place the opener registration call somewhere after the class definition.
* 4271 - add https integrity checkingaagbsn2011-10-20
| | | | | | | | | | | The blog post at: http://thejosephturner.com/blog/2011/03/19/\ https-certificate-verification-in-python-with-urllib2/ describes how to do HTTPS certificate verification with urllib2 Note: it seems that the self-signed cert used does not have a CA; we will need to resolve this.
* Add --help option for snakeinspector.pySathyanarayanan Gunasekaran2011-10-15
| | | | Use --help to view usage.
* Add --help OptionSathyanarayanan Gunasekaran2011-10-15
| | | | | Using --help gives the list of options required for SoaT.
* Check cmdline argumentsSathyanarayanan Gunasekaran2011-10-15
| | | | | | Make sure the commandline arguments are correct before proceding. If not, show error message and correct usage.
* Added usage() functionSathyanarayanan Gunasekaran2011-10-15
|
* Submodule...Mike Perry2011-09-30
|
* Suggest add_torctl.sh if torctl is missing.Mike Perry2011-09-30
|
* Merge branch 'fixes_rebased_2018_4066_4067_4077'Mike Perry2011-09-30
|\
| * 4077 remove UseMicrodescriptors from torrcaagbsn2011-09-30
| | | | | | | | | | | | "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 READMEaagbsn2011-09-30
| | | | | | | | | | | | | | 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 READMEaagbsn2011-09-30
| | | | | | | | | | | | | | Add Appendix B: for postgres configuration Explain how to get a postgres backend working with BwAuthority
| * 4066 example db_url should refer to unique dbaagbsn2011-09-30
| | | | | | | | BwAuthority sample db_url should refer to distinct databases.
| * 2018 - better error messagesaagbsn2011-09-30
| | | | | | | | | | | | | | | | | | Wraps custom library imports in try/except, and adds error messages in format: """ TorCtl not found in os.path.abspath($cwd/../..) Exiting... """
* | Bug #4077: Remove UseMicrodescriptors.Mike Perry2011-09-30
|/
* Set FetchDirInfoExtraEarly and FetchDirInfoEarly for bwauth and soat.Mike Perry2011-09-30
| | | | We want to ensure they always have fresh consensus data from within the hour.
* 4127 - refill_targets uses wrong typeaagbsn2011-09-28
| | | | | | 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://...'
* 4109 - misspelled property nameaagbsn2011-09-28
| | | | renamed 'contet' to 'content'
* 4106 - undefined variable 'content_prefix'aagbsn2011-09-28
| | | | | replaced content_prefix+".content" with: self.address_to_context(address)+".content",
* 4105 - undefined variable 'INCONCLUSIVE_DYNAMIC'aagbsn2011-09-28
| | | | Added this to libsoat.py
* 4104 - 'fetch_targets' is not defined anywhereaagbsn2011-09-28
| | | | This looks safe to comment
* 4103 - using variable 'code' before assignmentaagbsn2011-09-28
| | | | It looks as if this was meant to be 'search_req.code' and not 'code'
* 4102 - address_to_failed_prefix is not definedaagbsn2011-09-28
| | | | fixed missing 'self'; also corrected a reference-before-assignment
* 4101 - 'address_to_context' is not definedaagbsn2011-09-28
| | | | missing 'self'
* 4080 sha1sum not definedaagbsn2011-09-22
| | | | | | | | | | | | | | 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.
* Clarify soat_config names for emailing results.Mike Perry2011-09-20
|
* Fix an exception in emailed results.Mike Perry2011-09-20
|
* Dust off and polish up README a bit.Mike Perry2011-09-15
|
* Allow SSL tests to have a port.Mike Perry2011-09-15
| | | | | | | This should fix bug 2697 by allowing us to scan for failures on port 80 SSL hosts. Also use the new TorCtl.connect() method.
* Merge remote branch 'canderson/master'Mike Perry2011-09-13
|\
| * Removing deprecated HTMLTestchristian2011-08-30
| |
| * Incorporating ssl test into new infrastructurechristian2011-08-30
| |
| * Better registering test results for HttpTestchristian2011-08-22
| |
| * Better mechanism for remembering directly loaded content.christian2011-08-22
| |
| * Replacing HTMLTest with customizable HTTPTest.christian2011-07-22
| |
| * Incorporating new container for targets. SearchBasedHTTPTest and ↵christian2011-06-02
| | | | | | | | FixedTargetHTTPTest now seem to run.
| * New Targets classchristian2011-06-02
| |
| * SearchBasedHTTPTest.get_targets duplicated the effort of ↵Christian Anderson2011-05-24
| | | | | | | | BaseHTTP.add_target. BaseHTTPTest.remove_target became confused
| * Modernizing search modes. Adding support to soat.pyChristian Anderson2011-05-24
| |
* | Submodule..Mike Perry2011-09-06
| |
* | revert fix for 3798aagbsn2011-09-06
| | | | | | | | | | | | | | | | | | | | 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.
* | Update submodule..Mike Perry2011-08-31
| |
* | log branch and head to bw.logaagbsn2011-08-31
| |
* | wait for connection to close before exitingaagbsn2011-08-24
| | | | | | | | | | TorCtl.Connection.close() doesn't block; use TorCtl.Connection.block_until_close() to join the _eventLoop thread
* | Disable microdescriptorsaagbsn2011-08-24
| | | | | | | | | | microdescriptors are enabled by default since v0.2.3.2-alpha-dev TorCtl does not support microdescriptors
* | fix atexit handler to call connection.close()aagbsn2011-08-23
| | | | | | | | | | | | the _eventLoop thread raised an exception before bwauthority_child exited; the new behavior is to call connection.close() in the atexit handler.
* | fix regarding #3701aagbsn2011-08-15
| | | | | | | | | | | | | | | | https://trac.torproject.org/projects/tor/ticket/3701 bwauthority.py will no longer exit if the child dies with SIGTERM also modified run_scan.sh to kill -9