aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
Commit message (Collapse)AuthorAge
* r12644@0-41-wifi: nickm | 2007-03-23 16:02:23 -0400Nick Mathewson2007-03-24
| | | | | | | Eliminate more redundant circuit_t arguments when edge_connection_t is already supplied and the circuit is already attached. svn:r9900
* r12074@catbus: nickm | 2007-03-04 15:11:43 -0500Nick Mathewson2007-03-04
| | | | | | | Make all LD_BUG log messsages get prefixed with "Bug: ". Remove manually-generated "Bug: "s from log-messages. (Apparently, we remembered to add them about 40% of the time.) svn:r9733
* bonus points if it builds on 64 bitRoger Dingledine2007-03-01
| | | | svn:r9698
* make the prefertunnel stuff less obviously brokenRoger Dingledine2007-03-01
| | | | svn:r9697
* doc pedantRoger Dingledine2007-02-24
| | | | svn:r9634
* r11877@catbus: nickm | 2007-02-22 02:24:50 -0500Nick Mathewson2007-02-22
| | | | | | | Fix doc about when circuit_build_needed_circs() is called. Resolves another xxxx012. svn:r9617
* r11858@catbus: nickm | 2007-02-21 00:27:44 -0500Nick Mathewson2007-02-21
| | | | | | | As a trivial optimization, remove a redundant call to router_have_minimum_dir_info. This might shave 2% on some systems by according to some profilers. svn:r9610
* r11832@catbus: nickm | 2007-02-16 15:31:59 -0500Nick Mathewson2007-02-16
| | | | | | | Fix 35 remaining DOCDOC comments. Yowza. svn:r9596
* r11775@catbus: nickm | 2007-02-12 16:39:09 -0500Nick Mathewson2007-02-12
| | | | | | | Update copyright dates. svn:r9570
* 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
* Bring us one step closer to being able to establish an encryptedRoger Dingledine2007-01-27
| | | | | | | | | directory tunnel without knowing a descriptor first. Still not ready yet. As part of the change, now assume we can use a create_fast cell if we don't know anything about a router. svn:r9440
* Expire socks connections if they spend too long waiting for theRoger Dingledine2007-01-15
| | | | | | | | | | | | | handshake to finish. Previously we would let them sit around for days, if the connecting application didn't close them either. Also take this opportunity to refactor a duplicate bit of circuituse.c. And change the semantics of SocksTimeout slightly, but I think it'll be ok. svn:r9350
* 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
* fix whitespace; add a todo itemRoger Dingledine2006-12-18
| | | | svn:r9148
* 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
* a better fix. puts r8446 to bed.Roger Dingledine2006-12-12
| | | | svn:r9096
* Fix a bug in 0.1.2.2-alpha that prevented clients from askingRoger Dingledine2006-12-12
| | | | | | | | to resolve an address at a given exit node even when they ask for it by name. svn:r9095
* some more cleanups and a bugfix on r9052Roger Dingledine2006-12-10
| | | | svn:r9062
* r9855@Kushana: nickm | 2006-12-04 00:55:09 -0500Nick Mathewson2006-12-04
| | | | | | | Merge circuit_about_to_close_connection and connection_about_to_close_connection. svn:r9021
* r9060@totoro: nickm | 2006-10-17 11:12:48 -0400Nick Mathewson2006-10-17
| | | | | | | Apply patch from Mike Perry: add more reasons for circuit destroys. (Slightly tweaked to avoid allocating a number for an "internal" reason.) svn:r8739
* clean up and downgrade some log messagesRoger Dingledine2006-10-15
| | | | svn:r8727
* - Stop triggering asserts if the controller tries to extend hiddenRoger Dingledine2006-10-09
| | | | | | | | service circuits. (also found by mwenge) svn:r8682
* r8973@totoro: nickm | 2006-10-09 11:45:47 -0400Nick Mathewson2006-10-09
| | | | | | | | | | | 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
* r8972@totoro: nickm | 2006-10-09 10:36:22 -0400Nick Mathewson2006-10-09
| | | | | | | Patch from Mike Perry: add a REASON field to closed and failed circ events. svn:r8671
* bugfix and cleanups re: entry guards.Roger Dingledine2006-10-06
| | | | svn:r8620
* r8861@totoro: nickm | 2006-10-03 14:49:54 -0400Nick Mathewson2006-10-03
| | | | | | | Fix bug in r8579: TrackHostExits .foo.bar implies TrackHostExits foo.bar; also fix logic error. svn:r8592
* r8850@totoro: nickm | 2006-10-02 17:21:11 -0400Nick Mathewson2006-10-02
| | | | | | | Make TrackExitHosts case-insensitive, and fix the behavior of .suffix TrackExitHosts items to avoid matching in the middle of an address. (Resolves an XXXX) svn:r8579
* if we fail to build a circuit to an intended enclave, and it'sRoger Dingledine2006-10-01
| | | | | | | not mandatory that we use that enclave, stop wanting it. svn:r8559
* r8973@Kushana: nickm | 2006-09-28 16:53:19 -0400Nick Mathewson2006-09-28
| | | | | | | | | | Refactor entry guard status logic a lot; allow more factors [like not having a Guard flag or being listed in ExcludeNodes] to render a guard "unlisted" (now called "unusable"); track guard down status (now called "unreachable") separately from is_running. svn:r8519
* r8895@Kushana: nickm | 2006-09-21 20:05:11 -0400Nick Mathewson2006-09-22
| | | | | | | Debug client-side reverse dns code. svn:r8452
* r8881@Kushana: nickm | 2006-09-21 17:27:59 -0400Nick Mathewson2006-09-21
| | | | | | | Allow resolve requests to non-exits when they are specifically requested (via resolve foo.bar.exit). svn:r8446
* r8877@Kushana: nickm | 2006-09-21 17:12:33 -0400Nick Mathewson2006-09-21
| | | | | | | Consider non-exit servers unsuitable for RESOLVE commands. svn:r8442
* good god, that was a bad idea. i've built 500 circuits in the past 5Roger Dingledine2006-09-18
| | | | | | | minutes, trying to establish reachability of my unreachable server. svn:r8415
* build testing circuits more rapidly. this has a failure modeRoger Dingledine2006-09-17
| | | | | | | | where if circuits fail quickly, we'll fail a lot of them very quickly and not retry for a while. so be it. svn:r8407
* make my bandwidth exercises actually happenRoger Dingledine2006-09-15
| | | | svn:r8400
* Send out a burst of long-range drop cells after we've established thatRoger Dingledine2006-09-15
| | | | | | | | we're reachable. Spread them over 4 circuits, so hopefully a few will be fast. This exercises our bandwidth and bootstraps us quicker. svn:r8399
* r8576@Kushana: nickm | 2006-08-25 17:16:01 -0400Nick Mathewson2006-08-25
| | | | | | | Fix bug 314: Instead of checking address_in_virtualrange, check addressmap_have_mapping(). This should be more accurate. [Rename to addressmap_have_mapping() from addressmap_already_mapped().] svn:r8226
* r6922@Kushana: nickm | 2006-07-26 16:32:24 -0400Nick Mathewson2006-07-27
| | | | | | | Rename some fields, compress a bitfield, and document some structs and fields svn:r6919
* r6909@Kushana: nickm | 2006-07-26 13:05:58 -0400Nick Mathewson2006-07-26
| | | | | | | Clean up wide lines from last patch. svn:r6907
* r6908@Kushana: nickm | 2006-07-26 12:38:52 -0400Nick Mathewson2006-07-26
| | | | | | | Refactor connection_t into edge, or, dir, control, and base subtypes. This might save some RAM on busy exit servers, but really matters most in terms of correctness. svn:r6906
* r6902@Kushana: nickm | 2006-07-25 17:30:27 -0400Nick Mathewson2006-07-26
| | | | | | | Move rend_query to origin_circuit_t where it belongs; save another 17 bytes per OR circuit. svn:r6903
* Don't tell anybody, but we're going OO here. This patch splitsNick Mathewson2006-07-23
| | | | | | | | | | | | | | | circuit_t into origin_circuit_t and or_circuit_t. I fixed some segaults; there may be more. We still need to move more rendezvous stuff into subtypes. This is a trial run for splitting up connection_t; if the approach is insane, please say so soon so we can do something smarter. Also, this discards the old HALF_OPEN code, which nobody seems to want. svn:r6817
* If we are using an exit enclave and we can't connect, e.g. becauseRoger Dingledine2006-07-18
| | | | | | | | its webserver is misconfigured to not listen on localhost, then back off and try connecting from somewhere else before we fail. svn:r6783
* pick a log domain; resolve an xxxxRoger Dingledine2006-07-18
| | | | svn:r6782
* remove a bit more obsolete codeRoger Dingledine2006-06-08
| | | | svn:r6566
* don't tell people that the testing circuit failed if we alreadyRoger Dingledine2006-06-05
| | | | | | | consider ourselves reachable. this just confuses them. svn:r6546
* simplify some code, since circuit_build_failed() is only calledRoger Dingledine2006-06-05
| | | | | | | on non-open circuits. svn:r6540
* Add a new warning to our "warn a lot" list: unused parameters. This means ↵Nick Mathewson2006-06-04
| | | | | | we have to explicitly "use" unuseds, but it can catch bugs. (It caught two coding mistakes so far.) svn:r6532
* stop fetching descriptors if we're not a dir mirror and weRoger Dingledine2006-05-30
| | | | | | | haven't tried to establish any circuits lately. svn:r6516