summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Use UTC consistentlynarrow-portsSebastian Hahn2011-09-04
|
* Actually start the timer for the refreshSebastian Hahn2011-09-04
|
* Add the bulk exit list toolSebastian Hahn2011-09-04
|
* Update the checkweb toolSebastian Hahn2011-09-04
|
* query.ExitList expects filename argumentSebastian Hahn2011-09-02
|
* Add some new requirements to the READMESebastian Hahn2011-07-21
|
* Add metadata to CSV export format.Harry Bock2010-10-20
| | | | | | | | | Add metadata to CSV format specification and implementation (query and export). This allows torbel to know what version of the CSV format to use, allowing for changes in the future and backward compatibility. Not implemented yet for the JSON format.
* Fix bug in torbel.query gzip import support.Harry Bock2010-09-18
| | | | Missing a negative sign in the index.
* Implement narrow port test and recording.Harry Bock2010-09-07
|
* Fix problem with reactor and LoopingCall.Harry Bock2010-09-07
| | | | | | | Reactor would not properly schedule connectTCP calls when LoopingCall was used. Might only be an issue with older Twisted versions (from Lenny, circa 8.1.0), but replacing it with callLater seems to work for now.
* Specify and implement narrow exit policy check.Harry Bock2010-09-03
| | | | | | | | | A "narrow" port is a port that a router explicitly rejects our active tester but could possibly accept other traffic; e.g., from an exit enclave. Add a NarrowPorts data field in TorBEL exports. Implement the check, export, and import functionality.
* Fix bugs in query driver.Harry Bock2010-09-03
| | | | Used older API revision.
* Remove unused time import.Harry Bock2010-09-03
|
* Fix typo in test-spec.Harry Bock2010-09-03
|
* Fix incorrect statement in data-spec.Harry Bock2010-09-03
| | | | | We now test all ports regardless of what the router's published exit policy is. The spec should be updated to reflect this.
* Use atagar's new TorCtl.TorCtl.connect() convenience function.Harry Bock2010-08-30
| | | | | Makes connecting much simpler using the PROTOCOLINFO controller functionality.
* Use TorCtl.ErrorReply.status integer code.Harry Bock2010-08-30
| | | | | New TorCtl API addition allows checking intege status code instead of "parsing" e.args :)
* Fix bug in error message.Harry Bock2010-08-22
| | | | it's config.control_auth_secret not config.auth_secret.
* Refactor controller debugging into main app.Harry Bock2010-08-22
|
* Implement authentication methods in addition to password.Harry Bock2010-08-22
| | | | | | | | | | | CookieAuthentication and no authentication are now supported. This changes the TorBEL configuration file syntax, adding two new keys: - control_auth_method : one of "password", "cookie", "none". - control_auth_secret : password for "password", cookie file path for "cookie", ignored for "none". And removes the following key: - control_password
* Rename Controller.start; init tests in Controller initHarry Bock2010-08-22
| | | | | - Controller.__init__ initializes tests (binding ports, etc). - Controller.start() -> Controller.connect()
* Logging/OS privilege rework.Harry Bock2010-08-22
| | | | | | | | | | | | | | - The controller no longer creates the log. This is up to the main application to do so. - "torbel" is the root logger, all modules get their own logger under this root which inherits the "torbel" configuration, including default level, log file, syslog support, etc. - Support for TorCtl without Python logging support for plog() is now removed. - root privileges are dropped in the main application now. logs are also chown()ed at this point. - This change also makes the application call Controller.run_tests(), which is no longer called from Controller.start()
* Add README to dnsel.Harry Bock2010-08-16
|
* dnsel: Implement privilege drop support.Harry Bock2010-08-16
| | | | | - Add user, group configuration keys in dnsel.config - Implement dropping privs for dnsel.
* Break privilege dropping, uid/gid lookup into utils.py.Harry Bock2010-08-16
| | | | Reusable.
* dnsel: fix bug in fetching stale updates.Harry Bock2010-08-15
| | | | | If we get a stale update, don't barf on it. Wait 10 minutes to try and find a new update.
* dnsel: Try to open JSON export if CSV export not found.Harry Bock2010-08-15
|
* Set default log level for TorCtl to NOTICE.Harry Bock2010-08-15
|
* Improve README.Harry Bock2010-08-15
|
* Write torbel vs. tordnsel implementation comparison.Harry Bock2010-08-15
|
* Fix bug in Controller.start_test.Harry Bock2010-08-15
| | | | | | If Tor doesn't know about a router we try and build a circuit to, it will return "552 No such router..." to the controller. Handle this exception.
* tests: brief blurb about how the consistency checker operates.Harry Bock2010-08-14
|
* tests: test random source IPs not known to be Tor exits.Harry Bock2010-08-14
| | | | | test random IP addresses that are not known to be Tor exits to test false positives outside the consensus.
* dnsel: return NXDOMAIN on any failure.Harry Bock2010-08-14
| | | | Handles all possible malformed queries.
* dnsel: Implement configuration checker.Harry Bock2010-08-14
|
* dnsel: Allow switching off individual query types.Harry Bock2010-08-14
| | | | | | To allow an operator to disable type #4 for bandwidth/anti-DoS purposes. type #3 will also cause DNS cache issues if the server is not queried directly.
* tests: Fix format string.Harry Bock2010-08-14
| | | | Missing type specifier.
* Make check_type global in torbel.utils.Harry Bock2010-08-14
| | | | Useful to dnsel config implementation.
* Implement torbel/tordnsel consistency checker.Harry Bock2010-08-14
| | | | | | | | | | Currently checks the current consensus against a smattering of random IP addresses and random ports as well as the ports torbel is configured to test. We report on whether TorBEL, the public TorDNSEL, and a local TorBEL-powered DNSEL server agree on exit status. TODO: Test more sources than just the current consensus.
* dnsel: Provide automatic updates.Harry Bock2010-08-13
| | | | | | Automatically update the exit list using the new status file. Fail if the status file is not available. TODO: Fail more gracefully.
* Fix useless date string format in status file spec.Harry Bock2010-08-13
| | | | | | Didn't specify the year; it could be inferred but for clarity's sake it should be explicit. Fixes updating in clients. Bad news.
* Lower log level for ignored stream failure events.Harry Bock2010-08-13
| | | | | Was CRITICAL so I would notice when the event occurred. No need for it anymore.
* Check current_test in Controller.passed().Harry Bock2010-08-13
| | | | | Not ideal. The test results scheme is riddled with race conditions and needs to be centralized and fixed immediately after GSoC.
* Remove not useful debugging stats in ConservativeScheduler.Harry Bock2010-08-13
|
* Don't export immediately after getting the consensus.Harry Bock2010-08-13
| | | | | | | Stupid me. That should've been removed long ago. We don't want exports until the first export_interval, especially on instances of the torbel controller that aren't supposed to be exporting at all!
* Add status file and update support to query API.Harry Bock2010-08-13
|
* tests: start unit test implementation.Harry Bock2010-08-13
| | | | | unit test suite shell driver implemented. now to make it do something!
* Break configuration checker into utils.py.Harry Bock2010-08-13
| | | | So it can be re-used by a unit test driver.
* dnsel: Implement basic config file.Harry Bock2010-08-13
|
* Add license/copyright information to router.py, torbelHarry Bock2010-08-13
|