aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
AgeCommit message (Collapse)Author
2007-08-02a patch on r11016 that makes it work betterRoger Dingledine
svn:r11018
2007-08-02 r13892@Kushana: nickm | 2007-08-01 18:27:13 -0700Nick Mathewson
Close immediately after anything but a successful authentication attempt on the control port. Backport candidate. svn:r11016
2007-07-30 r14016@catbus: nickm | 2007-07-30 13:45:55 -0400Nick Mathewson
More documentation svn:r10992
2007-07-29 r13972@catbus: nickm | 2007-07-29 00:01:38 -0400Nick Mathewson
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
2007-07-25 r13907@catbus: nickm | 2007-07-25 18:51:25 -0400Nick Mathewson
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
2007-07-25 r13905@catbus: nickm | 2007-07-25 18:48:44 -0400Nick Mathewson
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
2007-07-16 r13784@catbus: nickm | 2007-07-16 13:27:32 -0400Nick Mathewson
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
2007-07-16 r13777@catbus: nickm | 2007-07-16 12:58:08 -0400Nick Mathewson
Patch from tup: new address-mappings/ GETINFO that includes expiry times. svn:r10844
2007-07-16Backport candidate:Roger Dingledine
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
2007-07-10 r13676@catbus: nickm | 2007-07-10 13:41:24 -0400Nick Mathewson
Man. I thought I removed that code. svn:r10785
2007-07-10 r13667@catbus: nickm | 2007-07-10 13:12:52 -0400Nick Mathewson
Patch from tup: add GETINFO status/enough-dir-info svn:r10782
2007-07-10 r13666@catbus: nickm | 2007-07-10 13:10:00 -0400Nick Mathewson
Get the RESOLVE controller code working. svn:r10781
2007-07-10 r13637@catbus: nickm | 2007-07-06 14:24:27 -0400Nick Mathewson
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
2007-06-17 r13463@catbus: nickm | 2007-06-17 11:10:17 -0400Nick Mathewson
Add a SOURCE_ADDR field to STREAM NEW events so that controllers can match requests to applications. (Patch from Robert Hogan.) svn:r10639
2007-05-31 r13102@catbus: nickm | 2007-05-31 13:56:25 -0400Nick Mathewson
Make "authdir_newdesc rejected" work again. svn:r10421
2007-05-24 r12936@catbus: nickm | 2007-05-24 14:12:34 -0400Nick Mathewson
Review XXXX comments without a version; upgrade some to XXXX020. svn:r10315
2007-05-22 r12853@catbus: nickm | 2007-05-22 11:36:54 -0400Nick Mathewson
Make connection_array into a smartlist. svn:r10292
2007-05-22 r12852@catbus: nickm | 2007-05-22 11:00:27 -0400Nick Mathewson
Use svn revisions consistently throughout all log messages. svn:r10291
2007-05-16 r12768@catbus: nickm | 2007-05-16 17:25:33 -0400Nick Mathewson
Fix GCC warnings related to local parameters/variables getting shadowed. svn:r10198
2007-05-15 r12764@catbus: nickm | 2007-05-15 17:17:39 -0400Nick Mathewson
Enable (and cope with) more GCC 4.2 warnings. svn:r10196
2007-05-15 r12761@catbus: nickm | 2007-05-15 03:13:52 -0400Nick Mathewson
Be a lot smarter when parsing lists of routers and extrainfos. svn:r10193
2007-05-13polish r9726-r9903Roger Dingledine
svn:r10182
2007-05-10 r12708@catbus: nickm | 2007-05-10 15:18:08 -0400Nick Mathewson
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
2007-05-05Implement "getinfo status/circuit-established"Roger Dingledine
svn:r10120
2007-04-30 r12587@catbus: nickm | 2007-04-30 15:47:39 -0400Nick Mathewson
Backport candidate: correctly set the purpose of routers that are inserted by the controller with purpose=controller. svn:r10071
2007-04-30Let the controller specify HOP=%d as an argument to ATTACHSTREAM,Roger Dingledine
so we can exit from the middle of the circuit. svn:r10056
2007-04-25cleanups, and note a bugRoger Dingledine
svn:r10022
2007-04-11 r12349@catbus: nickm | 2007-04-11 09:18:15 -0400Nick Mathewson
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
2007-03-24 r12643@0-41-wifi: nickm | 2007-03-23 14:56:35 -0400Nick Mathewson
Refactor a bunch of functions that take edge_connection_t not to also take a crypt_path_t; the cpath is implicit. svn:r9899
2007-03-17 r12230@catbus: nickm | 2007-03-17 17:34:32 -0400Nick Mathewson
Remove some duplicated code in control.c: unify the "parse space-separated arguments and warn if there are too few" logic into a single helper function. svn:r9866
2007-03-17 r12229@catbus: nickm | 2007-03-17 17:20:28 -0400Nick Mathewson
Add a warning when using obsolete "GUARDS" event. Also, remove obsolete "if (1) {}"s from control.c: big patch, mostly just dedenting block contents. svn:r9865
2007-03-17forward-port r9850 and the changelogsRoger Dingledine
(it's a band) svn:r9853
2007-03-15change my mind -- correct the spec to match the code'sRoger Dingledine
behavior for getinfo addr-mappings/*. this is because the code and spec have been mismatched since at least 0.1.1.x, so i would be surprised if nobody at all is relying on the current behavior. backport candidate. backbackport candidate. svn:r9823
2007-03-15Make the response to 'getinfo addr-mappings/*' follow the spec.Roger Dingledine
svn:r9822
2007-03-15typo in error message led to breaking the protocol. alsoRoger Dingledine
pointed out by daejees. svn:r9819
2007-03-15Make 'getinfo fingerprint' return a 551 error if we're not aRoger Dingledine
server, so we match what the control spec claims we do. Reported by daejees. svn:r9818
2007-03-14the spec called it a GUARDS event, but the code calledRoger Dingledine
it a GUARD event. standardize on GUARD, but support people asking for GUARDS too. reported by daejees. backport candidate. svn:r9817
2007-03-09 r12474@Kushana: nickm | 2007-03-06 16:10:05 -0500Nick Mathewson
We have a PATH_SEPARATOR macro. How about we use it? svn:r9782
2007-03-04 r12077@catbus: nickm | 2007-03-04 16:08:23 -0500Nick Mathewson
Remove support for v0 control protocol from 0.2.0.x trunk; send back error when we receive a v0 control message. (Leave "if(v1){...}"blocks indented for now so this patch is easier to read.) ((Finally, the linecount goes _down_ a little.)) svn:r9735
2007-02-24 r11931@catbus: nickm | 2007-02-24 15:28:34 -0500Nick Mathewson
crank up the length of the maximum allowed control message. svn:r9644
2007-02-24doc pedantRoger Dingledine
svn:r9634
2007-02-23 r11895@catbus: nickm | 2007-02-23 15:12:58 -0500Nick Mathewson
Make remap stream events have a souce; make them generated every time we get a successful connected or resolved cell. Also change reported stream target address to IP consistently when we get the IP from an exit node. svn:r9624
2007-02-16 r11826@catbus: nickm | 2007-02-16 14:58:38 -0500Nick Mathewson
Resolve 56 DOCDOC comments. svn:r9594
2007-02-14 r11813@catbus: nickm | 2007-02-14 11:42:58 -0500Nick Mathewson
Tweak stream_bw patch: Remove a couple of redundant checks, save 8 bytes per edge connection, fix spelling in the changelog; expand spec. svn:r9586
2007-02-14 r11812@catbus: nickm | 2007-02-14 11:22:08 -0500Nick Mathewson
Apply stream_bw patch from Robert Hogan. svn:r9585
2007-02-12 r11775@catbus: nickm | 2007-02-12 16:39:09 -0500Nick Mathewson
Update copyright dates. svn:r9570
2007-02-10 r12213@Kushana: nickm | 2007-02-10 16:25:39 -0500Nick Mathewson
Refactor setconf implementation to be a little slower, but far less error prone. svn:r9549
2007-02-10Stop crashing when the controller asks us to resetconf more thanRoger Dingledine
one config option at once. (Vidalia 0.0.11 does this.) Backport candidate. svn:r9545
2007-02-08 r11716@catbus: nickm | 2007-02-08 14:19:24 -0500Nick Mathewson
Warn when we get a v0 control connection. svn:r9530
2007-02-08 r11702@catbus: nickm | 2007-02-08 02:10:19 -0500Nick Mathewson
Wow. Remember when I wrote that script to tell me about macros that were never used? Good times. svn:r9525