aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
Commit message (Collapse)AuthorAge
* Remove duplicate words and a duplicate newline.Karsten Loesing2009-12-18
|
* Fix bridge statistics.Karsten Loesing2009-12-17
| | | | | | 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.
* Merge branch 'safelogging2'Nick Mathewson2009-12-15
|\ | | | | | | | | Conflicts: ChangeLog
| * Refactor the safe_str_*() API to make more sense.Nick Mathewson2009-12-15
| | | | | | | | | | | | 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".
| * Allow SafeLogging to exclude client related informationSebastian Hahn2009-12-12
| |
* | New controller command "getinfo config-text"Roger Dingledine2009-12-13
| | | | | | | | | | 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.
* | Now that FOO_free(NULL) always works, remove checks before calling it.Nick Mathewson2009-12-12
|/
* Fix an accidentally removed free in 385853a282138a61, and repair a check.Nick Mathewson2009-10-26
|
* Fix/annotate deadcode for CID 402,403Nick Mathewson2009-10-26
|
* Remove checks for array existence. (CID 410..415)Nick Mathewson2009-10-26
| | | | | | | | | | | | In C, the code "char x[10]; if (x) {...}" always takes the true branch of the if statement. Coverity notices this now. In some cases, we were testing arrays to make sure that an operation we wanted to do would suceed. Those cases are now always-true. In some cases, we were testing arrays to see if something was _set_. Those caes are now tests for strlen(s), or tests for !tor_mem_is_zero(d,len).
* Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-10-26
|\
| * Fix two memory leaks found by Coverity (CIDs 417-418)Nick Mathewson2009-10-26
| | | | | | | | | | | | The first happens on an error case when a controller wants an impossible directory object. The second happens when we can't write our fingerprint file.
* | Actually remember all the consensus types when we are done generating them.Nick Mathewson2009-10-15
| |
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-09-01
|\|
| * Fix compile warnings on Snow LeopardSebastian Hahn2009-09-01
| | | | | | | | Big thanks to nickm and arma for helping me with this!
| * Add getinfo accepted-server-descriptor. Clean spec.Roger Dingledine2009-08-31
| | | | | | | | | | | | | | | | Add a "getinfo status/accepted-server-descriptor" controller command, which is the recommended way for controllers to learn whether our server descriptor has been successfully received by at least on directory authority. Un-recommend good-server-descriptor getinfo and status events until we have a better design for them.
* | remove experimental 'getinfo unregistered-servers-'Roger Dingledine2009-07-13
| | | | | | | | it never really worked, and hasn't been used for years.
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-06-24
|\|
| * Ignore control port commands after a QUITMarcus Griep2009-06-24
| | | | | | | | | | When a QUIT has been issued on a control port connection, then ignore further commands on that port. This fixes bug 1016.
| * Flush long replies over control port on QUITMarcus Griep2009-06-24
| | | | | | | | | | | | | | Marks the control port connection for flushing before closing when the QUIT command is issued. This allows a QUIT to be issued during a long reply over the control port, flushing the reply and then closing the connection. Fixes bug 1015.
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-05-31
|\|
| * Don't attempt to log messages to a controller from a worker thread.Nick Mathewson2009-05-30
| | | | | | | | | | | | | | | | | | | | | | This patch adds a function to determine whether we're in the main thread, and changes control_event_logmsg() to return immediately if we're in a subthread. This is necessary because otherwise we will call connection_write_to_buf, which modifies non-locked data structures. Bugfix on 0.2.0.x; fix for at least one of the things currently called "bug 977".
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-05-27
|\|
| * Spell-check Tor.Nick Mathewson2009-05-27
| |
| * Fix misreporting of stream bandwidths.Mike Perry2009-05-14
| |
| * Update copyright to 2009.Karsten Loesing2009-05-04
| |
* | Update newer control_event_stream_bandwidth code to revised control implNick Mathewson2009-05-25
| |
* | Remove support for events without the extended format or long names.Nick Mathewson2009-05-25
| | | | | | | | | | Supporting the old formats made our code complex; running without them has been discouraged since 0.2.1.x.
* | Fix misreporting of stream bandwidths.potentiate2009-05-14
| |
* | Update copyright to 2009.Karsten Loesing2009-05-02
| |
* | Remove the long-deprecated GETINFO addr-mappings/Nick Mathewson2009-05-01
|/
* Do not generate the non-verbose circuit path when generating a circuit event ↵Nick Mathewson2009-03-18
| | | | | | unless we will use it. svn:r19079
* send the newconsensus event if the controller has asked for newconsensusRoger Dingledine2009-02-20
| | | | | | | events, not if he's asked for ns events svn:r18656
* docdoc and changelog for r18556Roger Dingledine2009-02-16
| | | | svn:r18566
* and list the new event here tooRoger Dingledine2009-02-16
| | | | svn:r18557
* new controller event NEWCONSENSUS that lists the networkstatusRoger Dingledine2009-02-16
| | | | | | | | | lines for every recommended relay. still needs docdoc and changelog entry. svn:r18556
* clean up r18287Roger Dingledine2009-01-28
| | | | svn:r18288
* patch from matt to implement 'getinfo status/clients-seen'Roger Dingledine2009-01-28
| | | | svn:r18287
* gah. yet another place that needs to be edited when we addRoger Dingledine2009-01-27
| | | | | | | a new event. what a mess. svn:r18277
* Let controllers actually ask for the "clients_seen" event. BugfixRoger Dingledine2009-01-21
| | | | | | | on 0.2.1.10-alpha; reported by Matt Edman. svn:r18201
* Fix up (I hope) most ot the things that coverity suddenly claimed were ↵Nick Mathewson2009-01-13
| | | | | | REVERSE_INULL. This is what we get for bragging about being down to 0 issues. svn:r18096
* Remove svn $Id$s from our source, and remove tor --version --version.Nick Mathewson2009-01-04
| | | | | | | | The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867
* While I'm at it, refactor control.c a little so that the dead code no longer ↵Nick Mathewson2008-12-29
| | | | | | exists. svn:r17810
* New controller event "clients_seen" to report a geoip-based summaryRoger Dingledine2008-12-27
| | | | | | | | | of which countries we've seen clients from recently. Now controllers like Vidalia can show bridge operators that they're actually making a difference. svn:r17796
* Remove a deprecated controller alias; make another one generate a warning.Nick Mathewson2008-12-27
| | | | svn:r17793
* some fixes i found in my sandboxRoger Dingledine2008-12-25
| | | | svn:r17771
* Document most undocumented variables.Nick Mathewson2008-12-23
| | | | svn:r17754
* Add DOCDOC entries for undocumented static and global variables.Nick Mathewson2008-12-22
| | | | svn:r17739
* Make doxygen not complain about the way we spell CRLFNUL in control.cNick Mathewson2008-12-22
| | | | svn:r17735
* Fix most DOCDOCs remaining and/or added by redox.Nick Mathewson2008-12-22
| | | | svn:r17734