aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_or.c
Commit message (Expand)AuthorAge
* r12330@catbus: nickm | 2007-04-09 19:15:42 -0400••• Split type of "packed cell" from "parsed cell"; pack cells before queueing them on circuits. This will help us avoid dumb errors when we confuse the two types. svn:r9935 Nick Mathewson2007-04-09
* r12326@catbus: nickm | 2007-04-09 17:36:41 -0400••• Clean up crap from 9930. I can hardly wait till I trust SVK 2.x enough to upgrade. svn:r9933 Nick Mathewson2007-04-09
* svn:r9930Nick Mathewson2007-04-09
* Comment out the "clear queue when sending a destroy" logic: it seems potentia...•••svn:r9913 Nick Mathewson2007-03-29
* r12654@Kushana: nickm | 2007-03-25 19:03:44 -0400••• Add documentation for cell queue functions; make destroy cells result in cell queues getting cleared before the destroy gets sent. svn:r9907 Nick Mathewson2007-03-26
* r12652@Kushana: nickm | 2007-03-25 15:01:48 -0400••• A surprisingly simple patch to stop reading on edge connections when their circuits get too full, and start again when they empty out. This lets us remove the logic to block begin_dir conns when the corresponding or conns get full: it was already broken by cell queues anyway. svn:r9905 Nick Mathewson2007-03-26
* r12651@Kushana: nickm | 2007-03-24 18:26:42 -0400••• Initial version of circuit-based cell queues. Instead of hammering or_conns with piles of cells, queue cells on their corresponding circuits, and append them to the or_conn as needed. This seems to work so far, but needs a bit more work. This will break the memory-use-limitation patch for begin_dir conns: the solution will be a fun but fiddly. svn:r9904 Nick Mathewson2007-03-26
* correct a function comment that's become wrong•••svn:r9879 Roger Dingledine2007-03-19
* r12074@catbus: nickm | 2007-03-04 15:11:43 -0500••• 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 Nick Mathewson2007-03-04
* r12053@catbus: nickm | 2007-03-03 16:45:38 -0500••• Remove some XXX012s: leave a check in connection_or_set_identity_digest it costs basically nothing to do on average. Forget about reinstating the user check on NT Service creation. Note that a notice message in main.c ("Is something wrong with your network connection?") is really useless. svn:r9721 Nick Mathewson2007-03-03
* bugfix on r9568: we were throwing around an uninitialized•••nickname array, and only treating a server as reachable if the array magically has the right nickname in it. this was causing the authorities to label only themselves as running, and clients were "mysteriously" failing. svn:r9628 Roger Dingledine2007-02-24
* cosmetic, comment, and todo fixes•••svn:r9627 Roger Dingledine2007-02-24
* r11775@catbus: nickm | 2007-02-12 16:39:09 -0500••• Update copyright dates. svn:r9570 Nick Mathewson2007-02-12
* r11773@catbus: nickm | 2007-02-12 15:18:48 -0500••• Implement proposal 106: stop requiring clients to have certificates, and stop checking for nicknames in certificates. [See proposal 106 for rationale.] Also improve messages when checking TLS handshake, to re-resolve bug 382. svn:r9568 Nick Mathewson2007-02-12
* 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 Mathewson2007-02-08
* cleanups based on looking through svn commits•••svn:r9491 Roger Dingledine2007-02-06
* 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
* r11552@catbus: nickm | 2007-01-27 03:55:02 -0500••• This one is a little tricky. Our BEGIN_DIR implementation has a problem: the dirserv conns will decide they can flush all their data immediately, since the edge_conns will read greedily. For our 0.1.2 workaround, we track which or_conn a bridged dirserv conn is attached to, and stop writing when its outbuf is too full, and start writing again when the or_conn's outbuf empties out a little. This requires a bit of pointer management. Let's hope it works. svn:r9432 Nick Mathewson2007-01-27
* r11277@catbus: nickm | 2007-01-23 14:08:08 -0500••• When logging TLS certificate and identity-related errors, scrub IP addresses for incoming connections, and distinguish between incoming and outgoing connections in log messages. Backport candidate. svn:r9391 Nick Mathewson2007-01-23
* Flush local controller connection buffers periodically as we're•••writing to them, so we avoid queueing 4+ megabytes of data before trying to flush. Also add a new XXX012. svn:r9382 Roger Dingledine2007-01-22
* svn:r9357Nick Mathewson2007-01-15
* 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
* 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
* r11736@Kushana: nickm | 2006-12-28 17:46:23 -0500••• Mark a pile of XXXX comments as targetted for 0.1.2: some because they look important, some because they look easy. svn:r9205 Nick Mathewson2006-12-29
* write-limiting fix: avoid a rare bug where we don't remember•••that there's stuff on the outbuf we want to flush. svn:r9142 Roger Dingledine2006-12-16
* remove some dead comments, and resolve some XXXs•••svn:r9141 Roger Dingledine2006-12-16
* reenable write limiting. nick finally convinced me this was•••a smart move. more todo sub-items remain for it. svn:r9101 Roger Dingledine2006-12-13
* r9449@Kushana: nickm | 2006-10-31 00:12:02 -0500••• Dump breakdown of PK operations when we get a USR2 signal. This should help us figure out of we are doing some of them for stupid reasons. svn:r8881 Nick Mathewson2006-10-31
* r8967@totoro: nickm | 2006-10-08 23:38:50 -0400••• Fix some test and warn failures in last commit svn:r8665 Nick Mathewson2006-10-09
* r8933@totoro: nickm | 2006-10-07 20:33:16 -0400••• whitespace fixes; add changelog for last commit. svn:r8644 Nick Mathewson2006-10-08
* bugfix and cleanups re: entry guards.•••svn:r8620 Roger Dingledine2006-10-06
* r8973@Kushana: nickm | 2006-09-28 16:53:19 -0400••• 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 Nick Mathewson2006-09-28
* r6909@Kushana: nickm | 2006-07-26 13:05:58 -0400••• Clean up wide lines from last patch. svn:r6907 Nick Mathewson2006-07-26
* r6908@Kushana: nickm | 2006-07-26 12:38:52 -0400••• 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 Nick Mathewson2006-07-26
* minor fixes•••svn:r6709 Roger Dingledine2006-07-04
* harmless typo•••svn:r6613 Roger Dingledine2006-06-13
* Fix the bug that was causing servers to not find themselves•••reachable if they changed IP addresses. This happened because middle servers knew the old descriptor, and kept swapping the addr/port we asked for with the one they thought was right. So the create cell never got sent, because it was asking for a different addr/port than we believed we had connected to. svn:r6610 Roger Dingledine2006-06-13
* take out the reachability bandaid in 0.1.2.x as well.•••maybe we will actually be able to fix it, instead. svn:r6585 Roger Dingledine2006-06-10
* re-enable per-connection rate limiting. get rid of the "OP bandwidth"•••concept. lay groundwork for "bandwidth classes" -- separate global buckets that apply depending on what sort of conn it is. svn:r6563 Roger Dingledine2006-06-07
* put a bandaid in place so servers will have an easier time•••believing that they're reachable. this may help resolve the servers-on-dynamic-ip-addresses problem. svn:r6561 Roger Dingledine2006-06-07
* make connection_or_nonopen_was_started_here() based on something less•••voodooey. it turns out we already do keep a flag like that around. svn:r6560 Roger Dingledine2006-06-07
* and now the exciting part: there is now no such thing as doing•••a client-only tls, that is, one with no certs. svn:r6558 Roger Dingledine2006-06-07
* remove some unused code (i think)•••svn:r6539 Roger Dingledine2006-06-05
* connection_t kept the identity_pkey but all it did was store it and•••free it. perhaps we don't need it after all? svn:r6518 Roger Dingledine2006-05-30
* if we're a server and some peer has a broken tls certificate, don't•••shout about it unless we want to hear about protocol violations. svn:r6507 Roger Dingledine2006-05-26
* auth dir servers were only modifying a server's is_running field•••when they created a network status. so if nobody asked for a network status, they would never discover that any servers are is_running, so they could never build a circuit. svn:r6183 Roger Dingledine2006-03-18
* More cleanups noticed by weasel; also, remove macros that nobody uses.•••svn:r6143 Nick Mathewson2006-03-12
* Add some functions to escape values from the network before sending them to t...•••svn:r6087 Nick Mathewson2006-03-05