summaryrefslogtreecommitdiff
path: root/src/or/control.c
AgeCommit message (Collapse)Author
2011-01-03Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson
Conflicts: src/common/test.h src/or/test.c
2011-01-03Bump copyright statements to 2011Nick Mathewson
2010-12-02Fix a harmless off-by-one error in counting controller argument lengthsNick Mathewson
Bugfix on 0.1.1.1-alpha; found by boboper.
2010-09-22Rename has_completed_circuit to can_complete_circuitNick Mathewson
Also redocument it. Related to #1362.
2010-08-16Fix misplaced labelsSebastian Hahn
2010-07-27Create routerparse.hSebastian Hahn
2010-07-27Create reasons.hSebastian Hahn
2010-07-27Create policies.hSebastian Hahn
2010-07-27Create networkstatus.hSebastian Hahn
2010-07-27Create main.hSebastian Hahn
2010-07-27Create hibernate.hSebastian Hahn
2010-07-27Create dirserv.hSebastian Hahn
2010-07-27Create directory.hSebastian Hahn
2010-07-27Create control.hSebastian Hahn
2010-07-27Create connection_edge.hSebastian Hahn
2010-07-27Create connection.hSebastian Hahn
2010-07-27Create config.hSebastian Hahn
2010-07-27Create circuituse.hSebastian Hahn
2010-07-27Create circuitlist.hSebastian Hahn
2010-07-27Create circuitbuild.hSebastian Hahn
2010-07-27Create buffers.hSebastian Hahn
2010-07-27Create routerlist.hSebastian Hahn
2010-07-27Create router.hSebastian Hahn
2010-07-27Create geoip.hSebastian Hahn
2010-07-27Split headers for dnsserv.c functions out of or.hSebastian Hahn
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).
2010-07-18Make the controller act more usefully when GETINFO failsNick Mathewson
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.
2010-06-29Merge remote branch 'mikeperry/cbt-bugfixes3'Nick Mathewson
2010-06-22Remove the extra space that is sent in certain STREAM messages from the ↵Kat Magic
controller. (closes #1583)
2010-06-15Add CLOSE_MS and CLOSE_RATE keywords to buildtimeout event.Mike Perry
2010-05-10Add a TIMEOUT_RATE keyword to buildtimeout event.Mike Perry
2010-04-02Merge branch 'asprintf'Nick Mathewson
2010-02-28Tweak users of snprintf to use asprintf where appropriateNick Mathewson
2010-02-27Merge remote branch 'origin/maint-0.2.1'Nick Mathewson
Conflicts: src/common/test.h src/or/test.c
2010-02-27Update Tor Project copyright yearsNick Mathewson
2010-02-23Fix another coverity-spotted memleakSebastian Hahn
2010-02-22Break early on unknown extendcircuit purposeSebastian Hahn
Don't continue handling EXTENDCIRCUIT messages when we get an unknown purpose.
2010-02-22Fix a memory leak, found by coveritySebastian Hahn
2010-02-22Remove some redundand code in control.cSebastian Hahn
Found by coverity
2010-02-18Future-proof the control protocol by ignoring unrecognized keyword argsNick Mathewson
2010-02-18Make more arguments in control.c properly case-insensitive.Nick Mathewson
2010-02-18Move CBT params into consensus.Mike Perry
2010-02-18Allow "EXTENDCIRCUIT 0" to omit a path.Mike Perry
2010-02-18Add BUILDTIMEOUT_SET event for CBT stress testing.Mike Perry
2010-01-27Fix comments for getinfo_helper_tSebastian Hahn
rieo pointed out something isn't right here
2010-01-26Fix a memory corruption bug while collecting bridge statsKarsten Loesing
We accidentally freed the internal buffer for bridge stats when we were writing the bridge stats file or honoring a control port request for said data. Change the interfaces for geoip_get_bridge_stats* to prevent these problems, and remove the offending free/add a tor_strdup. Fixes bug 1208.
2009-12-18Remove duplicate words and a duplicate newline.Karsten Loesing
2009-12-17Fix bridge statistics.Karsten Loesing
Fix statistics on client numbers by country as seen by bridges that were broken in 0.2.2.1-alpha. Also switch to reporting full 24-hour intervals instead of variable 12-to-48-hour intervals.
2009-12-15Merge branch 'safelogging2'Nick Mathewson
Conflicts: ChangeLog
2009-12-15Refactor the safe_str_*() API to make more sense.Nick Mathewson
The new rule is: safe_str_X() means "this string is a piece of X information; make it safe to log." safe_str() on its own means "this string is a piece of who-knows-what; make it safe to log".
2009-12-13New controller command "getinfo config-text"Roger Dingledine
It returns the contents that Tor would write if you send it a SAVECONF command, so the controller can write the file to disk itself.