aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
Commit message (Expand)AuthorAge
* 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 Hahn2011-05-09
* Fix a docstringSebastian Hahn2011-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 Mathewson2011-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 Hahn2011-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 Mathewson2011-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 Mathewson2011-01-03
|\
| * Bump copyright statements to 2011Nick Mathewson2011-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 Mathewson2010-12-02
* | Rename has_completed_circuit to can_complete_circuit•••Also redocument it. Related to #1362. Nick Mathewson2010-09-22
* | Fix misplaced labelsSebastian Hahn2010-08-16
* | Create routerparse.hSebastian Hahn2010-07-27
* | Create reasons.hSebastian Hahn2010-07-27
* | Create policies.hSebastian Hahn2010-07-27
* | Create networkstatus.hSebastian Hahn2010-07-27
* | Create main.hSebastian Hahn2010-07-27
* | Create hibernate.hSebastian Hahn2010-07-27
* | Create dirserv.hSebastian Hahn2010-07-27
* | Create directory.hSebastian Hahn2010-07-27
* | Create control.hSebastian Hahn2010-07-27
* | Create connection_edge.hSebastian Hahn2010-07-27
* | Create connection.hSebastian Hahn2010-07-27
* | Create config.hSebastian Hahn2010-07-27
* | Create circuituse.hSebastian Hahn2010-07-27
* | Create circuitlist.hSebastian Hahn2010-07-27
* | Create circuitbuild.hSebastian Hahn2010-07-27
* | Create buffers.hSebastian Hahn2010-07-27
* | Create routerlist.hSebastian Hahn2010-07-27
* | Create router.hSebastian Hahn2010-07-27
* | Create geoip.hSebastian Hahn2010-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 Hahn2010-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 Mathewson2010-07-18
* | Merge remote branch 'mikeperry/cbt-bugfixes3'Nick Mathewson2010-06-29
|\ \
| * | Add CLOSE_MS and CLOSE_RATE keywords to buildtimeout event.Mike Perry2010-06-15
| * | Add a TIMEOUT_RATE keyword to buildtimeout event.Mike Perry2010-05-10
* | | Remove the extra space that is sent in certain STREAM messages from the contr...Kat Magic2010-06-22
|/ /
* | Merge branch 'asprintf'Nick Mathewson2010-04-02
|\ \
| * | Tweak users of snprintf to use asprintf where appropriateNick Mathewson2010-02-28
* | | Merge remote branch 'origin/maint-0.2.1'•••Conflicts: src/common/test.h src/or/test.c Nick Mathewson2010-02-27
|\ \ \ | |/ / |/| / | |/
| * Update Tor Project copyright yearsNick Mathewson2010-02-27
| * Fix an apparently bogus check; fortunately, it seems to be untriggered.Nick Mathewson2009-10-26
* | Fix another coverity-spotted memleakSebastian Hahn2010-02-23
* | Break early on unknown extendcircuit purpose•••Don't continue handling EXTENDCIRCUIT messages when we get an unknown purpose. Sebastian Hahn2010-02-22
* | Fix a memory leak, found by coveritySebastian Hahn2010-02-22
* | Remove some redundand code in control.c•••Found by coverity Sebastian Hahn2010-02-22
* | Future-proof the control protocol by ignoring unrecognized keyword argsNick Mathewson2010-02-18
* | Make more arguments in control.c properly case-insensitive.Nick Mathewson2010-02-18
* | Move CBT params into consensus.Mike Perry2010-02-18
* | Allow "EXTENDCIRCUIT 0" to omit a path.Mike Perry2010-02-18
* | Add BUILDTIMEOUT_SET event for CBT stress testing.Mike Perry2010-02-18
* | Fix comments for getinfo_helper_t•••rieo pointed out something isn't right here Sebastian Hahn2010-01-27