aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
Commit message (Collapse)AuthorAge
* r15598@catbus: nickm | 2007-10-09 16:37:35 -0400Nick Mathewson2007-10-09
| | | | | | | Turn all "Is DirPort nonzero? Because if it is, we must be a directory" logic into calls to dirserver_mode(). svn:r11817
* r14812@Kushana: nickm | 2007-10-09 10:22:00 -0400Nick Mathewson2007-10-09
| | | | | | | Merge extra fields in local_routerstatus_t back into routerstatus_t. See changelog for rationale. svn:r11799
* r15530@catbus: nickm | 2007-10-04 12:16:27 -0400Nick Mathewson2007-10-04
| | | | | | | Add a bunch of function documentation; clean up a little code; fix some XXXXs; tag the nonsensical EXTRAINFO_PURPOSE_GENERAL as nonsesnse; note another bit of "do not cache special routers" code to nuke. svn:r11761
* r15422@catbus: nickm | 2007-09-27 16:42:35 -0400Nick Mathewson2007-09-27
| | | | | | | Use descriptor annotations to record the source, download t time, and purpose of every descriptor we add to the store. The remaining to-do item is to stop setting do_not_cache on bridges. svn:r11680
* r15143@catbus: nickm | 2007-09-18 11:49:46 -0400Nick Mathewson2007-09-18
| | | | | | | Add getinfo status/good-server-descriptor and status/reachability-succeeded. Patch from Robert Hogan. svn:r11483
* r15068@catbus: nickm | 2007-09-14 15:25:02 -0400Nick Mathewson2007-09-14
| | | | | | | Fix a couple typos in control.c; spotted by Robert Hogan. svn:r11440
* r14363@Kushana: nickm | 2007-09-08 16:25:45 -0400Nick Mathewson2007-09-08
| | | | | | | Another round of whitespeace fixes. svn:r11407
* Make sure that even dumb compilers can tell that bad_cookie and bad_password ↵Nick Mathewson2007-09-06
| | | | | | are set before use. svn:r11390
* r14328@Kushana: nickm | 2007-09-04 20:17:34 -0400Nick Mathewson2007-09-05
| | | | | | | There is no good reason to make hashedcontrolpassword and cookieauthentication mutually exclusive. So let's not. svn:r11377
* r14830@catbus: nickm | 2007-08-29 13:50:10 -0400Nick Mathewson2007-08-29
| | | | | | | Make controllers accept LF as well as CRLF. Update spec to reflect this. Remove now-dead code. Make controller warning about v0 protocol more accurate. svn:r11299
* r14204@Kushana: nickm | 2007-08-24 10:24:36 -0400Nick Mathewson2007-08-24
| | | | | | | Fix a bug in last patch; add support for getting extrainfo documents by the control port (since it is silly to tell tools to do it without actually giving them an interface). svn:r11270
* r14203@Kushana: nickm | 2007-08-24 10:15:58 -0400Nick Mathewson2007-08-24
| | | | | | | Add a hacked-up GETINFO desc/all-recent-extrainfo-hack so that torstat can keep working with a minimum of fuss, until it learns about extrainfo documents. svn:r11269
* a single quote != a single double quote. i can't hear theRoger Dingledine2007-08-23
| | | | | | | circus music from here, perhaps we should move closer. svn:r11256
* backport candidate:Roger Dingledine2007-08-22
| | | | | | | | Make it possible to read the PROTOCOLINFO response in a way that conforms to our control-spec. Reported by Matt Edman. svn:r11251
* avoid double-punctuation when we're reporting errors from theRoger Dingledine2007-08-20
| | | | | | | config functions to the controller. svn:r11221
* Fix a bug in ADDRMAP controller replies that would sometimesRoger Dingledine2007-08-19
| | | | | | | try to print a NULL. Patch from tup. svn:r11181
* r14606@catbus: nickm | 2007-08-16 13:45:01 -0400Nick Mathewson2007-08-16
| | | | | | | Implement CookieAuthFile and CookieAuthFileGroupReadable. Backport candidate. svn:r11141
* r14600@catbus: nickm | 2007-08-16 13:30:22 -0400Nick Mathewson2007-08-16
| | | | | | | Implement proposal 119. Backport candidate. svn:r11138
* r14051@Kushana: nickm | 2007-08-15 15:55:36 -0400Nick Mathewson2007-08-15
| | | | | | | Fix an XXXX020 and a few DOCDOCs. svn:r11127
* this does not actually change anything (i hope), but it makes me a lotRoger Dingledine2007-08-15
| | | | | | | | more comfortable. nick, can you confirm this? svn:r11119
* backport candidate:Roger Dingledine2007-08-15
| | | | | | | | | | | - If we require CookieAuthentication but we fail to write the cookie file, we would warn but not exit, and end up in a state where no controller could authenticate. Now we exit. - If we require CookieAuthentication, stop generating a new cookie every time we change any piece of our config. svn:r11117
* a patch on r11016 that makes it work betterRoger Dingledine2007-08-02
| | | | svn:r11018
* r13892@Kushana: nickm | 2007-08-01 18:27:13 -0700Nick Mathewson2007-08-02
| | | | | | | Close immediately after anything but a successful authentication attempt on the control port. Backport candidate. svn:r11016
* r14016@catbus: nickm | 2007-07-30 13:45:55 -0400Nick Mathewson2007-07-30
| | | | | | | More documentation svn:r10992
* r13972@catbus: nickm | 2007-07-29 00:01:38 -0400Nick Mathewson2007-07-29
| | | | | | | Make our control events for multi-line async replies conform to our old grammar. Change back to the old grammar (which got "corrected" in r10931). svn:r10964
* r13907@catbus: nickm | 2007-07-25 18:51:25 -0400Nick Mathewson2007-07-25
| | | | | | | | Patch from tup: translate LFs to CRLFs in NS replies and ensures the data section is properly terminated with "\r\n.\r\n svn:r10932
* r13905@catbus: nickm | 2007-07-25 18:48:44 -0400Nick Mathewson2007-07-25
| | | | | | | ADDRMAP events should never have specified local time. Extend them to have the proper gmt time, and make GETINFO address-mappings always do the right thing (since it is new in this version). svn:r10930
* r13784@catbus: nickm | 2007-07-16 13:27:32 -0400Nick Mathewson2007-07-16
| | | | | | | Apply patch from tup: remove extra space at the end of some circuit-status events, and stop translating CRLF to CRCRLF in control replies. svn:r10845
* r13777@catbus: nickm | 2007-07-16 12:58:08 -0400Nick Mathewson2007-07-16
| | | | | | | Patch from tup: new address-mappings/ GETINFO that includes expiry times. svn:r10844
* Backport candidate:Roger Dingledine2007-07-16
| | | | | | | | | Fix a potential crash bug when we load many server descriptors at once and some of them make others of them obsolete. Fixes bug 458. [Bugfix on 0.1.2.x] svn:r10832
* r13676@catbus: nickm | 2007-07-10 13:41:24 -0400Nick Mathewson2007-07-10
| | | | | | | Man. I thought I removed that code. svn:r10785
* r13667@catbus: nickm | 2007-07-10 13:12:52 -0400Nick Mathewson2007-07-10
| | | | | | | Patch from tup: add GETINFO status/enough-dir-info svn:r10782
* r13666@catbus: nickm | 2007-07-10 13:10:00 -0400Nick Mathewson2007-07-10
| | | | | | | Get the RESOLVE controller code working. svn:r10781
* r13637@catbus: nickm | 2007-07-06 14:24:27 -0400Nick Mathewson2007-07-10
| | | | | | | | | | fix copy-paste error in config message src/or/config.c . Apply initial (but pared-down) version of launch-resolve-via-controller patch from Robert Hogan. svn:r10780
* r13463@catbus: nickm | 2007-06-17 11:10:17 -0400Nick Mathewson2007-06-17
| | | | | | | Add a SOURCE_ADDR field to STREAM NEW events so that controllers can match requests to applications. (Patch from Robert Hogan.) svn:r10639
* r13102@catbus: nickm | 2007-05-31 13:56:25 -0400Nick Mathewson2007-05-31
| | | | | | | Make "authdir_newdesc rejected" work again. svn:r10421
* r12936@catbus: nickm | 2007-05-24 14:12:34 -0400Nick Mathewson2007-05-24
| | | | | | | Review XXXX comments without a version; upgrade some to XXXX020. svn:r10315
* r12853@catbus: nickm | 2007-05-22 11:36:54 -0400Nick Mathewson2007-05-22
| | | | | | | Make connection_array into a smartlist. svn:r10292
* r12852@catbus: nickm | 2007-05-22 11:00:27 -0400Nick Mathewson2007-05-22
| | | | | | | Use svn revisions consistently throughout all log messages. svn:r10291
* r12768@catbus: nickm | 2007-05-16 17:25:33 -0400Nick Mathewson2007-05-16
| | | | | | | Fix GCC warnings related to local parameters/variables getting shadowed. svn:r10198
* r12764@catbus: nickm | 2007-05-15 17:17:39 -0400Nick Mathewson2007-05-15
| | | | | | | Enable (and cope with) more GCC 4.2 warnings. svn:r10196
* r12761@catbus: nickm | 2007-05-15 03:13:52 -0400Nick Mathewson2007-05-15
| | | | | | | Be a lot smarter when parsing lists of routers and extrainfos. svn:r10193
* polish r9726-r9903Roger Dingledine2007-05-13
| | | | svn:r10182
* r12708@catbus: nickm | 2007-05-10 15:18:08 -0400Nick Mathewson2007-05-10
| | | | | | | Patch from shibz: implement a getinfo status/version/... so a controller can tell whether the current version is recommended, whether any versions are good, and how many authorities agree. svn:r10162
* Implement "getinfo status/circuit-established"Roger Dingledine2007-05-05
| | | | svn:r10120
* r12587@catbus: nickm | 2007-04-30 15:47:39 -0400Nick Mathewson2007-04-30
| | | | | | | Backport candidate: correctly set the purpose of routers that are inserted by the controller with purpose=controller. svn:r10071
* Let the controller specify HOP=%d as an argument to ATTACHSTREAM,Roger Dingledine2007-04-30
| | | | | | | so we can exit from the middle of the circuit. svn:r10056
* cleanups, and note a bugRoger Dingledine2007-04-25
| | | | svn:r10022
* r12349@catbus: nickm | 2007-04-11 09:18:15 -0400Nick Mathewson2007-04-11
| | | | | | | Add code to shrink the cell memory pool by discarding empty chunks that have been empty for the last 60 seconds. Also, instead of having test.c duplicate declarations for exposed functions, put them inside #ifdef foo_PRIVATE blocks in the headers. This prevents bugs where test.c gets out of sync. svn:r9944
* r12643@0-41-wifi: nickm | 2007-03-23 14:56:35 -0400Nick Mathewson2007-03-24
| | | | | | | Refactor a bunch of functions that take edge_connection_t not to also take a crypt_path_t; the cpath is implicit. svn:r9899