aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
Commit message (Collapse)AuthorAge
* r11931@catbus: nickm | 2007-02-24 15:28:34 -0500Nick Mathewson2007-02-24
| | | | | | | crank up the length of the maximum allowed control message. svn:r9644
* doc pedantRoger Dingledine2007-02-24
| | | | svn:r9634
* r11895@catbus: nickm | 2007-02-23 15:12:58 -0500Nick Mathewson2007-02-23
| | | | | | | 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
* r11826@catbus: nickm | 2007-02-16 14:58:38 -0500Nick Mathewson2007-02-16
| | | | | | | Resolve 56 DOCDOC comments. svn:r9594
* r11813@catbus: nickm | 2007-02-14 11:42:58 -0500Nick Mathewson2007-02-14
| | | | | | | 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
* r11812@catbus: nickm | 2007-02-14 11:22:08 -0500Nick Mathewson2007-02-14
| | | | | | | Apply stream_bw patch from Robert Hogan. svn:r9585
* r11775@catbus: nickm | 2007-02-12 16:39:09 -0500Nick Mathewson2007-02-12
| | | | | | | Update copyright dates. svn:r9570
* r12213@Kushana: nickm | 2007-02-10 16:25:39 -0500Nick Mathewson2007-02-10
| | | | | | | Refactor setconf implementation to be a little slower, but far less error prone. svn:r9549
* Stop crashing when the controller asks us to resetconf more thanRoger Dingledine2007-02-10
| | | | | | | | one config option at once. (Vidalia 0.0.11 does this.) Backport candidate. svn:r9545
* r11716@catbus: nickm | 2007-02-08 14:19:24 -0500Nick Mathewson2007-02-08
| | | | | | | Warn when we get a v0 control connection. svn:r9530
* r11702@catbus: nickm | 2007-02-08 02:10:19 -0500Nick Mathewson2007-02-08
| | | | | | | Wow. Remember when I wrote that script to tell me about macros that were never used? Good times. svn:r9525
* r11673@catbus: nickm | 2007-02-06 14:40:07 -0500Nick Mathewson2007-02-07
| | | | | | | 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
* r11672@catbus: nickm | 2007-02-06 14:16:56 -0500Nick Mathewson2007-02-07
| | | | | | | Fix third case of bug 367: make circuit get sent along with END_STREAM_REASON_DESTROY stream CLOSED events. svn:r9510
* more changes. i'm all caught up now.Roger Dingledine2007-02-06
| | | | svn:r9495
* r11641@catbus: nickm | 2007-02-05 13:59:26 -0500Nick Mathewson2007-02-05
| | | | | | | 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
* r11637@catbus: nickm | 2007-02-05 12:41:51 -0500Nick Mathewson2007-02-05
| | | | | | | 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
* r11629@catbus: nickm | 2007-02-02 15:06:17 -0500Nick Mathewson2007-02-02
| | | | | | | 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
* r12123@Kushana: nickm | 2007-02-02 13:57:42 -0500Nick Mathewson2007-02-02
| | | | | | | Resolve remaining DOCDOC comments. svn:r9476
* r11607@catbus: nickm | 2007-01-30 17:19:27 -0500Nick Mathewson2007-01-30
| | | | | | | Audit non-const char arguments; make a lot more of them const. svn:r9466
* r11966@Kushana: nickm | 2007-01-15 16:12:17 -0500Nick Mathewson2007-01-15
| | | | | | | 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
* r11957@Kushana: nickm | 2007-01-15 15:25:57 -0500Nick Mathewson2007-01-15
| | | | | | | Patch from Mike Perry: Track reasons for OR connection failure; display them in control events. Needs review and revision. svn:r9354
* r11938@Kushana: nickm | 2007-01-11 11:02:28 -0500Nick Mathewson2007-01-11
| | | | | | | 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
* r11824@Kushana: nickm | 2007-01-03 17:15:28 -0500Nick Mathewson2007-01-06
| | | | | | | | | | | | | | | | | | | 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
* Set orport= for 4 of the 5 dir authorities; Fix getinfo ns/all; Fix segRoger Dingledine2007-01-04
| | | | | | | fault when starting a server without a fingerprint file present. svn:r9261
* r11749@Kushana: nickm | 2006-12-29 00:51:42 -0500Nick Mathewson2006-12-29
| | | | | | | Remove dead code; make targets of addressmap commands/configs use AllowNonRFC953Hostnames svn:r9211
* r11743@Kushana: nickm | 2006-12-28 23:13:21 -0500Nick Mathewson2006-12-29
| | | | | | | Refactor _connection_controller_force_write back into conncetion_handle_write. Again, the line count goes down: groovy! svn:r9208
* r11614@Kushana: nickm | 2006-12-15 17:39:42 -0500Nick Mathewson2006-12-15
| | | | | | | Implement SETEVENTS GUARD. Needs review and testing. svn:r9137
* r11609@Kushana: nickm | 2006-12-15 16:42:21 -0500Nick Mathewson2006-12-15
| | | | | | | Implement GETINFO fingerprint. svn:r9136
* finish enabling begin-dir cells. require one-hop circs forRoger Dingledine2006-12-13
| | | | | | | | socks-command-connect-dir streams, so we don't open new anonymity questions. svn:r9099
* Infrastructure to test BEGIN_DIR cells.Roger Dingledine2006-12-13
| | | | | | | | | | 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
* fix another bug in r9052, pointed out by robert hoganRoger Dingledine2006-12-10
| | | | svn:r9063
* some more cleanups and a bugfix on r9052Roger Dingledine2006-12-10
| | | | svn:r9062
* resolve a buffer overflow / crash from r9051Roger Dingledine2006-12-10
| | | | svn:r9061
* r11479@Kushana: nickm | 2006-12-07 23:38:54 -0500Nick Mathewson2006-12-08
| | | | | | | Refactor GETINFO into a table-driven dispatch, as suggested by arma. My brain hurts. svn:r9052
* r11475@Kushana: nickm | 2006-12-07 20:49:21 -0500Nick Mathewson2006-12-08
| | | | | | | Make GETINFO dir/status/... work even when we are not a directory. Needs a little cleanup. Closes bug 263. svn:r9051
* r9561@Kushana: nickm | 2006-11-16 22:32:54 -0500Nick Mathewson2006-11-17
| | | | | | | | 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
* r9560@Kushana: nickm | 2006-11-16 22:09:12 -0500Nick Mathewson2006-11-17
| | | | | | | | | | | 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
* r9313@totoro: nickm | 2006-11-13 20:07:41 -0500Nick Mathewson2006-11-14
| | | | | | | | | | | | | | | | | | | | | | | 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
* r9308@totoro: nickm | 2006-11-13 18:41:23 -0500Nick Mathewson2006-11-14
| | | | | | | | | | Add support for (Free?)BSD's natd, which was an old way to let you have your firewall automatically redirect traffic. (Original patch from Zajcev Evgeny, updated for 0.1.2.x by tup.) svn:r8946
* r9307@totoro: nickm | 2006-11-13 18:25:56 -0500Nick Mathewson2006-11-14
| | | | | | | Patch from tup based on patch from Zajcev Evgeny: Make TransPort work even when the server wants to talk before the client. svn:r8945
* r9395@Kushana: nickm | 2006-10-26 22:06:51 -0400Nick Mathewson2006-10-27
| | | | | | | Fix Bug 349: Have GETINFO network-status return even old routers, and use long nicknames where appropriate. Document this. svn:r8834
* r9389@Kushana: nickm | 2006-10-25 17:46:16 -0400Nick Mathewson2006-10-25
| | | | | | | Add a CLEARDNSCACHE signal to clear the client-side DNS cache. svn:r8829
* r9386@Kushana: nickm | 2006-10-25 17:35:38 -0400Nick Mathewson2006-10-25
| | | | | | | Resolve bug 347: translate v0 controller signal numbers into internal signal numbers; leave v1 signal numbers alone. svn:r8828
* and update the pile of getinfo strings that's impossible to rememberRoger Dingledine2006-10-24
| | | | | | | to update svn:r8813
* r9364@Kushana: nickm | 2006-10-23 22:57:48 -0400Nick Mathewson2006-10-24
| | | | | | | Remove reference to NS_FULL event; add two GETINFO targets. svn:r8812
* implement a few status events, so we can make sure they work,Roger Dingledine2006-10-23
| | | | | | | and so vidalia can start handling them if it wants. svn:r8802
* r9347@Kushana: nickm | 2006-10-23 01:24:48 -0400Nick Mathewson2006-10-23
| | | | | | | Implement status event backend logic. svn:r8799
* stop writing arbitrary memory out on the controller port.Roger Dingledine2006-10-20
| | | | | | | | it's an ugly patch, but at least this way we can see that it's fixed. maybe clean up the whole "@" syntax later on. svn:r8783
* r9313@Kushana: nickm | 2006-10-20 17:04:11 -0400Nick Mathewson2006-10-20
| | | | | | | Oops. Conform to spec. svn:r8782
* r9312@Kushana: nickm | 2006-10-20 14:45:22 -0400Nick Mathewson2006-10-20
| | | | | | | Add an event type to tell the controller when our opinion of a router status has changed. I might have missed some cases here. svn:r8781