aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
Commit message (Expand)AuthorAge
* Remove duplicate words and a duplicate newline.Karsten Loesing2009-12-18
* Fix bridge statistics.•••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. Karsten Loesing2009-12-17
* Merge branch 'safelogging2'•••Conflicts: ChangeLog Nick Mathewson2009-12-15
|\
| * Refactor the safe_str_*() API to make more sense.•••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". Nick Mathewson2009-12-15
| * Allow SafeLogging to exclude client related informationSebastian Hahn2009-12-12
* | New controller command "getinfo config-text"•••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. Roger Dingledine2009-12-13
* | 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)•••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). Nick Mathewson2009-10-26
* Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-10-26
|\
| * Fix two memory leaks found by Coverity (CIDs 417-418)•••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. Nick Mathewson2009-10-26
* | 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 Leopard•••Big thanks to nickm and arma for helping me with this! Sebastian Hahn2009-09-01
| * Add getinfo accepted-server-descriptor. Clean spec.•••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. Roger Dingledine2009-08-31
* | remove experimental 'getinfo unregistered-servers-'•••it never really worked, and hasn't been used for years. Roger Dingledine2009-07-13
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-06-24
|\|
| * Ignore control port commands after a QUIT•••When a QUIT has been issued on a control port connection, then ignore further commands on that port. This fixes bug 1016. Marcus Griep2009-06-24
| * Flush long replies over control port on QUIT•••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. Marcus Griep2009-06-24
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-05-31
|\|
| * Don't attempt to log messages to a controller from a worker thread.•••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". Nick Mathewson2009-05-30
* | 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.•••Supporting the old formats made our code complex; running without them has been discouraged since 0.2.1.x. Nick Mathewson2009-05-25
* | 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 ...•••svn:r19079 Nick Mathewson2009-03-18
* send the newconsensus event if the controller has asked for newconsensus•••events, not if he's asked for ns events svn:r18656 Roger Dingledine2009-02-20
* docdoc and changelog for r18556•••svn:r18566 Roger Dingledine2009-02-16
* and list the new event here too•••svn:r18557 Roger Dingledine2009-02-16
* new controller event NEWCONSENSUS that lists the networkstatus•••lines for every recommended relay. still needs docdoc and changelog entry. svn:r18556 Roger Dingledine2009-02-16
* clean up r18287•••svn:r18288 Roger Dingledine2009-01-28
* patch from matt to implement 'getinfo status/clients-seen'•••svn:r18287 Roger Dingledine2009-01-28
* gah. yet another place that needs to be edited when we add•••a new event. what a mess. svn:r18277 Roger Dingledine2009-01-27
* Let controllers actually ask for the "clients_seen" event. Bugfix•••on 0.2.1.10-alpha; reported by Matt Edman. svn:r18201 Roger Dingledine2009-01-21
* Fix up (I hope) most ot the things that coverity suddenly claimed were REVERS...•••svn:r18096 Nick Mathewson2009-01-13
* Remove svn $Id$s from our source, and remove tor --version --version.•••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 Nick Mathewson2009-01-04
* While I'm at it, refactor control.c a little so that the dead code no longer ...•••svn:r17810 Nick Mathewson2008-12-29
* New controller event "clients_seen" to report a geoip-based summary•••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 Roger Dingledine2008-12-27
* Remove a deprecated controller alias; make another one generate a warning.•••svn:r17793 Nick Mathewson2008-12-27
* some fixes i found in my sandbox•••svn:r17771 Roger Dingledine2008-12-25
* Document most undocumented variables.•••svn:r17754 Nick Mathewson2008-12-23
* Add DOCDOC entries for undocumented static and global variables.•••svn:r17739 Nick Mathewson2008-12-22
* Make doxygen not complain about the way we spell CRLFNUL in control.c•••svn:r17735 Nick Mathewson2008-12-22
* Fix most DOCDOCs remaining and/or added by redox.•••svn:r17734 Nick Mathewson2008-12-22