aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_or.c
Commit message (Expand)AuthorAge
* 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
* Just because both are obsolete does not mean we prefer the newer•••svn:r6016 Peter Palfrader2006-02-14
* Our connection_or_get_by_identity_digest() was slightly wrong. If best•••didn't have any circuits on it, but conn had circuits, we would not make conn our new best unless it was also newer. Also, restructure the code a bit to maybe make it clearer. svn:r6012 Peter Palfrader2006-02-14
* more log conversions.•••whee. svn:r6003 Roger Dingledine2006-02-13
* Happy new year!•••svn:r5949 Roger Dingledine2006-02-09
* entry nodes are now entry guards.•••this is our last easy chance for a wholesale change. heave ho. svn:r5782 Roger Dingledine2006-01-10
* Add reasons to DESTROY and RELAY_TRUNCATED cells.•••svn:r5734 Nick Mathewson2006-01-05
* helper nodes are dead. long live entry nodes.•••(config options EntryNodes and StrictEntryNodes still not implemented.) svn:r5673 Roger Dingledine2005-12-28
* when we connect to a helper node for the first time, close•••that connection and its circuits. this lets us go back to using the old helper nodes rather than immediately using the last one in the list. svn:r5670 Roger Dingledine2005-12-28
* clean up some comments•••svn:r5644 Roger Dingledine2005-12-24
* Bite the bullet and limit all our source lines to 80 characters, the way IBM ...•••svn:r5582 Nick Mathewson2005-12-14