| Commit message (Expand) | Author | Age |
* | 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
| Nick Mathewson | 2007-04-11 |
* | 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
| Nick Mathewson | 2007-03-24 |
* | 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
| Nick Mathewson | 2007-03-17 |
* | 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
| Nick Mathewson | 2007-03-17 |
* | forward-port r9850 and the changelogs•••(it's a band)
svn:r9853
| Roger Dingledine | 2007-03-17 |
* | 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
| Roger Dingledine | 2007-03-15 |
* | Make the response to 'getinfo addr-mappings/*' follow the spec.•••svn:r9822
| Roger Dingledine | 2007-03-15 |
* | typo in error message led to breaking the protocol. also•••pointed out by daejees.
svn:r9819
| Roger Dingledine | 2007-03-15 |
* | 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
| Roger Dingledine | 2007-03-15 |
* | 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
| Roger Dingledine | 2007-03-14 |
* | r12474@Kushana: nickm | 2007-03-06 16:10:05 -0500••• We have a PATH_SEPARATOR macro. How about we use it?
svn:r9782
| Nick Mathewson | 2007-03-09 |
* | 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
| Nick Mathewson | 2007-03-04 |
* | r11931@catbus: nickm | 2007-02-24 15:28:34 -0500••• crank up the length of the maximum allowed control message.
svn:r9644
| Nick Mathewson | 2007-02-24 |
* | doc pedant•••svn:r9634
| Roger Dingledine | 2007-02-24 |
* | 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
| Nick Mathewson | 2007-02-23 |
* | r11826@catbus: nickm | 2007-02-16 14:58:38 -0500••• Resolve 56 DOCDOC comments.
svn:r9594
| Nick Mathewson | 2007-02-16 |
* | 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
| Nick Mathewson | 2007-02-14 |
* | r11812@catbus: nickm | 2007-02-14 11:22:08 -0500••• Apply stream_bw patch from Robert Hogan.
svn:r9585
| Nick Mathewson | 2007-02-14 |
* | r11775@catbus: nickm | 2007-02-12 16:39:09 -0500••• Update copyright dates.
svn:r9570
| Nick Mathewson | 2007-02-12 |
* | 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
| Nick Mathewson | 2007-02-10 |
* | 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
| Roger Dingledine | 2007-02-10 |
* | r11716@catbus: nickm | 2007-02-08 14:19:24 -0500••• Warn when we get a v0 control connection.
svn:r9530
| Nick Mathewson | 2007-02-08 |
* | r11702@catbus: nickm | 2007-02-08 02:10:19 -0500••• Wow. Remember when I wrote that script to tell me about macros that were never used? Good times.
svn:r9525
| Nick Mathewson | 2007-02-08 |
* | r11673@catbus: nickm | 2007-02-06 14:40:07 -0500••• Report stream end events where a resolve succeeded or where we got a socks protocol error correctly, rather than calling both of them "INTERNAL". Turn ALREADY_SOCKS_REPLIED into a flag rather than a reason. This will help debug 367 part 2 a little.
svn:r9511
| Nick Mathewson | 2007-02-07 |
* | r11672@catbus: nickm | 2007-02-06 14:16:56 -0500••• Fix third case of bug 367: make circuit get sent along with END_STREAM_REASON_DESTROY stream CLOSED events.
svn:r9510
| Nick Mathewson | 2007-02-07 |
* | more changes. i'm all caught up now.•••svn:r9495
| Roger Dingledine | 2007-02-06 |
* | r11641@catbus: nickm | 2007-02-05 13:59:26 -0500••• Add a REMAP state to stream events so that controllers can learn exactly when the target address for a stream has changed. May help Vidalia resolve confusions related to bug 375.
svn:r9484
| Nick Mathewson | 2007-02-05 |
* | r11637@catbus: nickm | 2007-02-05 12:41:51 -0500••• Fix an XXXX012, and make circuits_pending_or_conns a static variable. In addition to cleaning up the code, this may also resolve Bug 386 if Roger has the right intuition there.
svn:r9482
| Nick Mathewson | 2007-02-05 |
* | r11629@catbus: nickm | 2007-02-02 15:06:17 -0500••• Removing the last DOCDOC comment hurt so much that I had to use Doxygen to identify undocumented macros and comments, and add 150 more DOCDOCs to point out where they were. Oops. Hey, kids! Fixing some of these could be your first Tor patch!
svn:r9477
| Nick Mathewson | 2007-02-02 |
* | r12123@Kushana: nickm | 2007-02-02 13:57:42 -0500••• Resolve remaining DOCDOC comments.
svn:r9476
| Nick Mathewson | 2007-02-02 |
* | r11607@catbus: nickm | 2007-01-30 17:19:27 -0500••• Audit non-const char arguments; make a lot more of them const.
svn:r9466
| Nick Mathewson | 2007-01-30 |
* | r11966@Kushana: nickm | 2007-01-15 16:12:17 -0500••• Tidy up ORCONN reason patch from Mike Perry. Changes: make some of the handling of TLS error codes less error prone. Enforce house style wrt spaces. Make it compile with --enable-gcc-warnings. Only set or_conn->tls_error in the case of an actual error. Add a changelog entry.
svn:r9355
| Nick Mathewson | 2007-01-15 |
* | r11957@Kushana: nickm | 2007-01-15 15:25:57 -0500••• Patch from Mike Perry: Track reasons for OR connection failure; display them in control events. Needs review and revision.
svn:r9354
| Nick Mathewson | 2007-01-15 |
* | r11938@Kushana: nickm | 2007-01-11 11:02:28 -0500••• Check addresses for rfc953-saneness at exit too, and give a PROTOCOL_WARN when they fail. Also provide a mechanism to override this, so blossom can have its @@##$$^.whatever.exit hostnames if it wants.
svn:r9336
| Nick Mathewson | 2007-01-11 |
* | r11824@Kushana: nickm | 2007-01-03 17:15:28 -0500••• control-spec: upcase arguments in status events; note unimplemented events individually
r11825@Kushana: nickm | 2007-01-03 17:41:43 -0500
Implement EXTERNAL IP server status event.
r11826@Kushana: nickm | 2007-01-03 17:47:10 -0500
Implement BAD_SERVER_DESCRIPTOR server status event.
r11827@Kushana: nickm | 2007-01-03 18:01:56 -0500
Implement SOCKS_UNKNOWN_PROTOCOL and DANGEROUS_SOCKS client events.
r11828@Kushana: nickm | 2007-01-03 18:23:22 -0500
Implement BUG controller events. Also, flush ERR-level status events just like ERR-level log messages.
r11829@Kushana: nickm | 2007-01-03 23:37:27 -0500
Yet more status events: CLOCK_SKEW, GOOD/ACCEPTED_SERVER_DESCRIPTOR, {CHECKING_}REACHABILITY_{SUCCEEDED|FAILED}
r11833@Kushana: nickm | 2007-01-05 16:56:37 -0500
Note some unimplementedness in control-spec.txt
svn:r9279
| Nick Mathewson | 2007-01-06 |
* | Set orport= for 4 of the 5 dir authorities; Fix getinfo ns/all; Fix seg•••fault when starting a server without a fingerprint file present.
svn:r9261
| Roger Dingledine | 2007-01-04 |
* | r11749@Kushana: nickm | 2006-12-29 00:51:42 -0500••• Remove dead code; make targets of addressmap commands/configs use AllowNonRFC953Hostnames
svn:r9211
| Nick Mathewson | 2006-12-29 |
* | r11743@Kushana: nickm | 2006-12-28 23:13:21 -0500••• Refactor _connection_controller_force_write back into conncetion_handle_write. Again, the line count goes down: groovy!
svn:r9208
| Nick Mathewson | 2006-12-29 |
* | r11614@Kushana: nickm | 2006-12-15 17:39:42 -0500••• Implement SETEVENTS GUARD. Needs review and testing.
svn:r9137
| Nick Mathewson | 2006-12-15 |
* | r11609@Kushana: nickm | 2006-12-15 16:42:21 -0500••• Implement GETINFO fingerprint.
svn:r9136
| Nick Mathewson | 2006-12-15 |
* | finish enabling begin-dir cells. require one-hop circs for•••socks-command-connect-dir streams, so we don't open new anonymity
questions.
svn:r9099
| Roger Dingledine | 2006-12-13 |
* | Infrastructure to test BEGIN_DIR cells.•••New socks command CONNECT_DIR. New config option TunnelDirConns that
builds a circ ending at the directory server and delivers a BEGIN_DIR
cell if it's running 0.1.2.2-alpha or later. We still need to make
one-hop circs when appropriate, while making other conns avoid them.
svn:r9098
| Roger Dingledine | 2006-12-13 |
* | fix another bug in r9052, pointed out by robert hogan•••svn:r9063
| Roger Dingledine | 2006-12-10 |
* | some more cleanups and a bugfix on r9052•••svn:r9062
| Roger Dingledine | 2006-12-10 |
* | resolve a buffer overflow / crash from r9051•••svn:r9061
| Roger Dingledine | 2006-12-10 |
* | r11479@Kushana: nickm | 2006-12-07 23:38:54 -0500••• Refactor GETINFO into a table-driven dispatch, as suggested by arma. My brain hurts.
svn:r9052
| Nick Mathewson | 2006-12-08 |
* | r11475@Kushana: nickm | 2006-12-07 20:49:21 -0500••• Make GETINFO dir/status/... work even when we are not a directory. Needs a little cleanup. Closes bug 263.
svn:r9051
| Nick Mathewson | 2006-12-08 |
* | r9561@Kushana: nickm | 2006-11-16 22:32:54 -0500••• Tweaks to test-connection patch: use ".noconnect" instead of ".test" (since there are lots of ways to test things). Use a regular sequence of STREAM events (NEW followed by CLOSED) instead of a new event type. Make the function that checks the address be static and use const and strcasecmpend properly.
svn:r8959
| Nick Mathewson | 2006-11-17 |
* | r9560@Kushana: nickm | 2006-11-16 22:09:12 -0500••• Check in an implementation of "test" connections from Scott Squires:
these connections immediately close upon reaching Tor. They're useful
for apps that want to check whether they're talking to the same Tor as
a given controller. (I'll be tweaking this a bit before I push.)
svn:r8958
| Nick Mathewson | 2006-11-17 |
* | r9313@totoro: nickm | 2006-11-13 20:07:41 -0500••• Try to compile with fewer warnings on irix64's MIPSpro compiler /
environment, which apparently believes that:
- off_t can be bigger than size_t.
- only mean kids assign things they do not subsequently inspect.
I don't try to fix the "error" that makes it say:
cc-3970 cc: WARNING File = main.c, Line = 1277
conversion from pointer to same-sized integral type (potential portability
problem)
uintptr_t sig = (uintptr_t)arg;
Because really, what can you do about a compiler that claims to be c99
but doesn't understand that void* x = NULL; uintptr_t y = (uintptr_t) x;
is safe?
svn:r8948
| Nick Mathewson | 2006-11-14 |