Roger Dingledine
f606d74f56
backport candidate:
...
- 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
2007-08-15 15:26:14 +00:00
Roger Dingledine
659cdae145
a patch on r11016 that makes it work better
...
svn:r11018
2007-08-02 04:28:29 +00:00
Nick Mathewson
322b6f7e65
r13892@Kushana: nickm | 2007-08-01 18:27:13 -0700
...
Close immediately after anything but a successful authentication attempt on the control port. Backport candidate.
svn:r11016
2007-08-02 01:28:40 +00:00
Nick Mathewson
34a3a5e2f4
r14016@catbus: nickm | 2007-07-30 13:45:55 -0400
...
More documentation
svn:r10992
2007-07-30 17:46:14 +00:00
Nick Mathewson
964e4a305d
r13972@catbus: nickm | 2007-07-29 00:01:38 -0400
...
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-29 04:03:25 +00:00
Nick Mathewson
025a81fc18
r13907@catbus: nickm | 2007-07-25 18:51:25 -0400
...
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 22:57:02 +00:00
Nick Mathewson
a8821e2d82
r13905@catbus: nickm | 2007-07-25 18:48:44 -0400
...
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-25 22:56:54 +00:00
Nick Mathewson
6e9f1f76f2
r13784@catbus: nickm | 2007-07-16 13:27:32 -0400
...
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 17:27:35 +00:00
Nick Mathewson
26a25edaec
r13777@catbus: nickm | 2007-07-16 12:58:08 -0400
...
Patch from tup: new address-mappings/ GETINFO that includes expiry times.
svn:r10844
2007-07-16 16:58:11 +00:00
Roger Dingledine
98ce45bebf
Backport candidate:
...
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-16 00:11:03 +00:00
Nick Mathewson
d6ba1c3d96
r13676@catbus: nickm | 2007-07-10 13:41:24 -0400
...
Man. I thought I removed that code.
svn:r10785
2007-07-10 17:41:26 +00:00
Nick Mathewson
a8465adaa2
r13667@catbus: nickm | 2007-07-10 13:12:52 -0400
...
Patch from tup: add GETINFO status/enough-dir-info
svn:r10782
2007-07-10 17:14:55 +00:00
Nick Mathewson
74711479eb
r13666@catbus: nickm | 2007-07-10 13:10:00 -0400
...
Get the RESOLVE controller code working.
svn:r10781
2007-07-10 17:14:51 +00:00
Nick Mathewson
7705314777
r13637@catbus: nickm | 2007-07-06 14:24:27 -0400
...
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-07-10 17:13:24 +00:00
Nick Mathewson
d828915136
r13463@catbus: nickm | 2007-06-17 11:10:17 -0400
...
Add a SOURCE_ADDR field to STREAM NEW events so that controllers can match requests to applications. (Patch from Robert Hogan.)
svn:r10639
2007-06-17 15:10:51 +00:00
Nick Mathewson
77502ac82d
r13102@catbus: nickm | 2007-05-31 13:56:25 -0400
...
Make "authdir_newdesc rejected" work again.
svn:r10421
2007-05-31 18:48:28 +00:00
Nick Mathewson
a312afd67e
r12936@catbus: nickm | 2007-05-24 14:12:34 -0400
...
Review XXXX comments without a version; upgrade some to XXXX020.
svn:r10315
2007-05-24 18:12:52 +00:00
Nick Mathewson
6975a093e9
r12853@catbus: nickm | 2007-05-22 11:36:54 -0400
...
Make connection_array into a smartlist.
svn:r10292
2007-05-22 15:49:14 +00:00
Nick Mathewson
e935d73b34
r12852@catbus: nickm | 2007-05-22 11:00:27 -0400
...
Use svn revisions consistently throughout all log messages.
svn:r10291
2007-05-22 15:48:46 +00:00
Nick Mathewson
b837191fd0
r12768@catbus: nickm | 2007-05-16 17:25:33 -0400
...
Fix GCC warnings related to local parameters/variables getting shadowed.
svn:r10198
2007-05-16 22:15:14 +00:00
Nick Mathewson
e043b86f47
r12764@catbus: nickm | 2007-05-15 17:17:39 -0400
...
Enable (and cope with) more GCC 4.2 warnings.
svn:r10196
2007-05-15 21:17:48 +00:00
Nick Mathewson
ca32b4d5b5
r12761@catbus: nickm | 2007-05-15 03:13:52 -0400
...
Be a lot smarter when parsing lists of routers and extrainfos.
svn:r10193
2007-05-15 07:13:56 +00:00
Roger Dingledine
440b7f0c70
polish r9726-r9903
...
svn:r10182
2007-05-13 09:25:06 +00:00
Nick Mathewson
11f3e894d3
r12708@catbus: nickm | 2007-05-10 15:18:08 -0400
...
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-10 19:30:02 +00:00
Roger Dingledine
43411ceed3
Implement "getinfo status/circuit-established"
...
svn:r10120
2007-05-05 22:51:02 +00:00
Nick Mathewson
e97a6dd01f
r12587@catbus: nickm | 2007-04-30 15:47:39 -0400
...
Backport candidate: correctly set the purpose of routers that are inserted by the controller with purpose=controller.
svn:r10071
2007-04-30 19:48:45 +00:00
Roger Dingledine
5ba4eaba1c
Let the controller specify HOP=%d as an argument to ATTACHSTREAM,
...
so we can exit from the middle of the circuit.
svn:r10056
2007-04-30 11:10:45 +00:00
Roger Dingledine
5bdb138d11
cleanups, and note a bug
...
svn:r10022
2007-04-25 06:05:46 +00:00
Nick Mathewson
38a5f09502
r12349@catbus: nickm | 2007-04-11 09:18:15 -0400
...
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-04-11 13:18:25 +00:00
Nick Mathewson
306d5400c3
r12643@0-41-wifi: nickm | 2007-03-23 14:56:35 -0400
...
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-24 15:57:51 +00:00
Nick Mathewson
141efb86ff
r12230@catbus: nickm | 2007-03-17 17:34:32 -0400
...
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 21:34:41 +00:00
Nick Mathewson
d787ef906a
r12229@catbus: nickm | 2007-03-17 17:20:28 -0400
...
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-17 21:34:37 +00:00
Roger Dingledine
9d7dc1b37b
forward-port r9850 and the changelogs
...
(it's a band)
svn:r9853
2007-03-17 04:32:04 +00:00
Roger Dingledine
ad304a5cbb
change my mind -- correct the spec to match the code's
...
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-15 06:25:00 +00:00
Roger Dingledine
8ca31c8195
Make the response to 'getinfo addr-mappings/*' follow the spec.
...
svn:r9822
2007-03-15 06:10:58 +00:00
Roger Dingledine
c995a36972
typo in error message led to breaking the protocol. also
...
pointed out by daejees.
svn:r9819
2007-03-15 03:15:34 +00:00
Roger Dingledine
5b8adc7c9b
Make 'getinfo fingerprint' return a 551 error if we're not a
...
server, so we match what the control spec claims we do. Reported
by daejees.
svn:r9818
2007-03-15 03:11:53 +00:00
Roger Dingledine
5740071674
the spec called it a GUARDS event, but the code called
...
it a GUARD event. standardize on GUARD, but support people
asking for GUARDS too. reported by daejees.
backport candidate.
svn:r9817
2007-03-14 23:50:41 +00:00
Nick Mathewson
02ce8e6b12
r12474@Kushana: nickm | 2007-03-06 16:10:05 -0500
...
We have a PATH_SEPARATOR macro. How about we use it?
svn:r9782
2007-03-09 21:39:30 +00:00
Nick Mathewson
92f62b3684
r12077@catbus: nickm | 2007-03-04 16:08:23 -0500
...
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-03-04 21:08:28 +00:00
Nick Mathewson
af57074f08
r11931@catbus: nickm | 2007-02-24 15:28:34 -0500
...
crank up the length of the maximum allowed control message.
svn:r9644
2007-02-24 20:28:41 +00:00
Roger Dingledine
50f22e858a
doc pedant
...
svn:r9634
2007-02-24 07:50:38 +00:00
Nick Mathewson
55cbbdf9bf
r11895@catbus: nickm | 2007-02-23 15:12:58 -0500
...
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-23 20:13:02 +00:00
Nick Mathewson
11e5656ab7
r11826@catbus: nickm | 2007-02-16 14:58:38 -0500
...
Resolve 56 DOCDOC comments.
svn:r9594
2007-02-16 20:01:02 +00:00
Nick Mathewson
6e35b11851
r11813@catbus: nickm | 2007-02-14 11:42:58 -0500
...
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 16:46:55 +00:00
Nick Mathewson
4a74812c70
r11812@catbus: nickm | 2007-02-14 11:22:08 -0500
...
Apply stream_bw patch from Robert Hogan.
svn:r9585
2007-02-14 16:46:49 +00:00
Nick Mathewson
759c58151e
r11775@catbus: nickm | 2007-02-12 16:39:09 -0500
...
Update copyright dates.
svn:r9570
2007-02-12 21:39:53 +00:00
Nick Mathewson
24e7b9b983
r12213@Kushana: nickm | 2007-02-10 16:25:39 -0500
...
Refactor setconf implementation to be a little slower, but far less error prone.
svn:r9549
2007-02-10 21:26:29 +00:00
Roger Dingledine
01ddb05fba
Stop crashing when the controller asks us to resetconf more than
...
one config option at once. (Vidalia 0.0.11 does this.)
Backport candidate.
svn:r9545
2007-02-10 07:04:46 +00:00
Nick Mathewson
69def349e0
r11716@catbus: nickm | 2007-02-08 14:19:24 -0500
...
Warn when we get a v0 control connection.
svn:r9530
2007-02-08 19:44:48 +00:00