aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
Commit message (Expand)AuthorAge
* more changes. i'm all caught up now.•••svn:r9495 Roger Dingledine2007-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 Mathewson2007-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 Mathewson2007-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 Mathewson2007-02-02
* r12123@Kushana: nickm | 2007-02-02 13:57:42 -0500••• Resolve remaining DOCDOC comments. svn:r9476 Nick Mathewson2007-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 Mathewson2007-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 Mathewson2007-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 Mathewson2007-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 Mathewson2007-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 Mathewson2007-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 Dingledine2007-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 Mathewson2006-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 Mathewson2006-12-29
* r11614@Kushana: nickm | 2006-12-15 17:39:42 -0500••• Implement SETEVENTS GUARD. Needs review and testing. svn:r9137 Nick Mathewson2006-12-15
* r11609@Kushana: nickm | 2006-12-15 16:42:21 -0500••• Implement GETINFO fingerprint. svn:r9136 Nick Mathewson2006-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 Dingledine2006-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 Dingledine2006-12-13
* fix another bug in r9052, pointed out by robert hogan•••svn:r9063 Roger Dingledine2006-12-10
* some more cleanups and a bugfix on r9052•••svn:r9062 Roger Dingledine2006-12-10
* resolve a buffer overflow / crash from r9051•••svn:r9061 Roger Dingledine2006-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 Mathewson2006-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 Mathewson2006-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 Mathewson2006-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 Mathewson2006-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 Mathewson2006-11-14
* r9308@totoro: nickm | 2006-11-13 18:41:23 -0500••• 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 Nick Mathewson2006-11-14
* r9307@totoro: nickm | 2006-11-13 18:25:56 -0500••• Patch from tup based on patch from Zajcev Evgeny: Make TransPort work even when the server wants to talk before the client. svn:r8945 Nick Mathewson2006-11-14
* r9395@Kushana: nickm | 2006-10-26 22:06:51 -0400••• Fix Bug 349: Have GETINFO network-status return even old routers, and use long nicknames where appropriate. Document this. svn:r8834 Nick Mathewson2006-10-27
* r9389@Kushana: nickm | 2006-10-25 17:46:16 -0400••• Add a CLEARDNSCACHE signal to clear the client-side DNS cache. svn:r8829 Nick Mathewson2006-10-25
* r9386@Kushana: nickm | 2006-10-25 17:35:38 -0400••• Resolve bug 347: translate v0 controller signal numbers into internal signal numbers; leave v1 signal numbers alone. svn:r8828 Nick Mathewson2006-10-25
* and update the pile of getinfo strings that's impossible to remember•••to update svn:r8813 Roger Dingledine2006-10-24
* r9364@Kushana: nickm | 2006-10-23 22:57:48 -0400••• Remove reference to NS_FULL event; add two GETINFO targets. svn:r8812 Nick Mathewson2006-10-24
* implement a few status events, so we can make sure they work,•••and so vidalia can start handling them if it wants. svn:r8802 Roger Dingledine2006-10-23
* r9347@Kushana: nickm | 2006-10-23 01:24:48 -0400••• Implement status event backend logic. svn:r8799 Nick Mathewson2006-10-23
* stop writing arbitrary memory out on the controller port.•••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 Roger Dingledine2006-10-20
* r9313@Kushana: nickm | 2006-10-20 17:04:11 -0400••• Oops. Conform to spec. svn:r8782 Nick Mathewson2006-10-20
* r9312@Kushana: nickm | 2006-10-20 14:45:22 -0400••• 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 Nick Mathewson2006-10-20
* checkpoint some changes as i read diffs•••svn:r8780 Roger Dingledine2006-10-20
* r9307@Kushana: nickm | 2006-10-20 13:53:54 -0400••• Have connection_about_to_close use an end_reason field in edge_connection_t to tell what reason to tell the controller for closing the stream. Set end_reason in connection_edge_end, connection_mark_unattached_ap, and everwhere we set edge_has_sent_end. Add a changelog entry. svn:r8779 Nick Mathewson2006-10-20
* r9306@Kushana: nickm | 2006-10-20 13:27:43 -0400••• Enable reasons for stream events in all cases but CLOSED in about_to_close_connection. That one will take a little longer. svn:r8778 Nick Mathewson2006-10-20
* r9303@Kushana: nickm | 2006-10-20 12:07:34 -0400••• Start implementing reason extension for stream events to match the one one used by circuit events. (Not a complete implementation yet; actual reasons are not passed to control.c) svn:r8777 Nick Mathewson2006-10-20
* r9290@31-35-219: nickm | 2006-10-20 10:32:33 -0400••• Add a GETINFO target so controllers can ask Tor for the current state of a router. (Results given in networkstatus format.) svn:r8772 Nick Mathewson2006-10-20
* r9272@Kushana: nickm | 2006-10-19 12:52:37 -0400••• Fix an XXX in handling destroy cells: when we get a destroy cell with reason FOO, do not tell the controller REASON=FOO. Instead, say REASON=DESTROYED REMOTE_REASON=FOO. Suggested by a conversation with Mike Perry. svn:r8760 Nick Mathewson2006-10-19
* r9077@totoro: nickm | 2006-10-18 11:41:16 -0400••• Another patch from Mike Perry; sprintfing a NULL pointer. (with comment). svn:r8747 Nick Mathewson2006-10-18
* r9060@totoro: nickm | 2006-10-17 11:12:48 -0400••• Apply patch from Mike Perry: add more reasons for circuit destroys. (Slightly tweaked to avoid allocating a number for an "internal" reason.) svn:r8739 Nick Mathewson2006-10-17
* r9021@totoro: nickm | 2006-10-13 01:42:45 -0400••• Fix for last patch. "", though empty, is true. This ain't Python, Nick. svn:r8701 Nick Mathewson2006-10-13
* r9019@totoro: nickm | 2006-10-13 01:32:34 -0400••• Fix extraneous space in CIRC events when path is empty. svn:r8700 Nick Mathewson2006-10-13
* r9017@totoro: nickm | 2006-10-13 01:27:33 -0400••• Second patch to work on circuit close reasons from Mike Perry. Disabled partially; see comment. Whitespace cleaned up. svn:r8699 Nick Mathewson2006-10-13
* r8983@totoro: nickm | 2006-10-09 14:19:18 -0400••• Add missing ! to code to generate short/verbose nicknames for orconn events. svn:r8674 Nick Mathewson2006-10-09
* r8973@totoro: nickm | 2006-10-09 11:45:47 -0400••• Touch up last patch (to add REASON to CIRC events): make some reasons more sensible, send reasons only to controllers that have enabled extended events, and clean up whitespace. svn:r8672 Nick Mathewson2006-10-09