| Commit message (Expand) | Author | Age |
* | Add an assert to un-confuse clang's analyzer•••The analyzer assumed that bootstrap_percent could be less than 0 when we
call control_event_bootstrap_problem(), which would mean we're calling
log_fn() with undefined values. The assert makes it clear this can't
happen.
| Sebastian Hahn | 2011-05-09 |
* | Fix a docstring | Sebastian Hahn | 2011-05-09 |
* | Expose a new process_signal(uintptr_t), not signal_callback()•••This is a tweak to the bug2917 fix. Basically, if we want to simulate
a signal arriving in the controller, we shouldn't have to pretend that
we're Libevent, or depend on how Tor sets up its Libevent callbacks.
| Nick Mathewson | 2011-04-26 |
* | Make SIGNAL DUMP work on FreeBSD•••While doing so, get rid of the now unnecessary function
control_signal_act().
Fixes bug 2917, reported by Robert Ransom. Bugfix on commit
9b4aa8d2abbce71398e58188209a1b1d04885b96. This patch is loosely based on
a patch by Robert (Changelog entry).
| Sebastian Hahn | 2011-04-15 |
* | Allow controllers a more up-to-date view of bridge usage.•••Instead of answering GETINFO requests about our geoip usage only after
running for 24 hours, this patch makes us answer GETINFO requests
immediately. We still round and quantize as before.
Implements bug2711.
Also, refactor the heck out of the bridge usage formatting code. No
longer should we need to do a generate-parse-and-regenerate cycle to
get the controller string, and that lets us simplify the code a lot.
| Nick Mathewson | 2011-04-07 |
* | Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2•••Conflicts:
src/common/test.h
src/or/test.c
| Nick Mathewson | 2011-01-03 |
|\ |
|
| * | Bump copyright statements to 2011 | Nick Mathewson | 2011-01-03 |
* | | Fix a harmless off-by-one error in counting controller argument lengths•••Bugfix on 0.1.1.1-alpha; found by boboper.
| Nick Mathewson | 2010-12-02 |
* | | Rename has_completed_circuit to can_complete_circuit•••Also redocument it. Related to #1362.
| Nick Mathewson | 2010-09-22 |
* | | Fix misplaced labels | Sebastian Hahn | 2010-08-16 |
* | | Create routerparse.h | Sebastian Hahn | 2010-07-27 |
* | | Create reasons.h | Sebastian Hahn | 2010-07-27 |
* | | Create policies.h | Sebastian Hahn | 2010-07-27 |
* | | Create networkstatus.h | Sebastian Hahn | 2010-07-27 |
* | | Create main.h | Sebastian Hahn | 2010-07-27 |
* | | Create hibernate.h | Sebastian Hahn | 2010-07-27 |
* | | Create dirserv.h | Sebastian Hahn | 2010-07-27 |
* | | Create directory.h | Sebastian Hahn | 2010-07-27 |
* | | Create control.h | Sebastian Hahn | 2010-07-27 |
* | | Create connection_edge.h | Sebastian Hahn | 2010-07-27 |
* | | Create connection.h | Sebastian Hahn | 2010-07-27 |
* | | Create config.h | Sebastian Hahn | 2010-07-27 |
* | | Create circuituse.h | Sebastian Hahn | 2010-07-27 |
* | | Create circuitlist.h | Sebastian Hahn | 2010-07-27 |
* | | Create circuitbuild.h | Sebastian Hahn | 2010-07-27 |
* | | Create buffers.h | Sebastian Hahn | 2010-07-27 |
* | | Create routerlist.h | Sebastian Hahn | 2010-07-27 |
* | | Create router.h | Sebastian Hahn | 2010-07-27 |
* | | Create geoip.h | Sebastian Hahn | 2010-07-27 |
* | | Split headers for dnsserv.c functions out of or.h•••The next series of commits begins addressing the issue that we're
currently including the complete or.h file in all of our source files.
To change that, we're splitting function definitions into new header
files (one header file per source file).
| Sebastian Hahn | 2010-07-27 |
* | | Make the controller act more usefully when GETINFO fails•••Right now it says "552 internal error" because there's no way for
getinfo_helper_*() countries to specify an error message. This
patch changes the getinfo_helper_*() interface, and makes most of the
getinfo helpers give useful error messages in response to failures.
This should prevent recurrences of bug 1699, where a missing GeoIPFile
line in the torrc made GETINFO ip-to-county/* fail in a "not obvious
how to fix" way.
| Nick Mathewson | 2010-07-18 |
* | | Merge remote branch 'mikeperry/cbt-bugfixes3' | Nick Mathewson | 2010-06-29 |
|\ \ |
|
| * | | Add CLOSE_MS and CLOSE_RATE keywords to buildtimeout event. | Mike Perry | 2010-06-15 |
| * | | Add a TIMEOUT_RATE keyword to buildtimeout event. | Mike Perry | 2010-05-10 |
* | | | Remove the extra space that is sent in certain STREAM messages from the contr... | Kat Magic | 2010-06-22 |
|/ / |
|
* | | Merge branch 'asprintf' | Nick Mathewson | 2010-04-02 |
|\ \ |
|
| * | | Tweak users of snprintf to use asprintf where appropriate | Nick Mathewson | 2010-02-28 |
* | | | Merge remote branch 'origin/maint-0.2.1'•••Conflicts:
src/common/test.h
src/or/test.c
| Nick Mathewson | 2010-02-27 |
|\ \ \
| |/ /
|/| /
| |/ |
|
| * | Update Tor Project copyright years | Nick Mathewson | 2010-02-27 |
| * | Fix an apparently bogus check; fortunately, it seems to be untriggered. | Nick Mathewson | 2009-10-26 |
* | | Fix another coverity-spotted memleak | Sebastian Hahn | 2010-02-23 |
* | | Break early on unknown extendcircuit purpose•••Don't continue handling EXTENDCIRCUIT messages when we get an
unknown purpose.
| Sebastian Hahn | 2010-02-22 |
* | | Fix a memory leak, found by coverity | Sebastian Hahn | 2010-02-22 |
* | | Remove some redundand code in control.c•••Found by coverity
| Sebastian Hahn | 2010-02-22 |
* | | Future-proof the control protocol by ignoring unrecognized keyword args | Nick Mathewson | 2010-02-18 |
* | | Make more arguments in control.c properly case-insensitive. | Nick Mathewson | 2010-02-18 |
* | | Move CBT params into consensus. | Mike Perry | 2010-02-18 |
* | | Allow "EXTENDCIRCUIT 0" to omit a path. | Mike Perry | 2010-02-18 |
* | | Add BUILDTIMEOUT_SET event for CBT stress testing. | Mike Perry | 2010-02-18 |
* | | Fix comments for getinfo_helper_t•••rieo pointed out something isn't right here
| Sebastian Hahn | 2010-01-27 |