aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_or.c
Commit message (Expand)AuthorAge
...
* clean up copyrights, and assign 2007 copyrights to The Tor Project, Inc•••svn:r12786 Roger Dingledine2007-12-12
* r15155@tombo: nickm | 2007-12-05 11:11:14 -0500••• Add a missing "not" to check of whether to use revised handshake. svn:r12678 Nick Mathewson2007-12-05
* r15094@tombo: nickm | 2007-12-01 03:46:07 -0500••• server-side code (for when v2 negotiation occurred) to check for renegotiation and adjust client ID info accordingly. server-side of new TLS code is now implemented, but needs testing and debugging. svn:r12624 Nick Mathewson2007-12-01
* r15088@tombo: nickm | 2007-11-30 23:47:29 -0500••• Add support to get a callback invoked when the client renegotiate a connection. Also, make clients renegotiate. (not enabled yet, until they detect that the server acted like a v2 server) svn:r12623 Nick Mathewson2007-12-01
* r15087@tombo: nickm | 2007-11-30 22:32:26 -0500••• Start getting freaky with openssl callbacks in tortls.c: detect client ciphers, and if the list doesn't look like the list current Tors use, present only a single cert do not ask for a client cert. Also, support for client-side renegotiation. None of this is enabled unless you define V2_HANDSHAKE_SERVER. svn:r12622 Nick Mathewson2007-12-01
* r16669@catbus: nickm | 2007-11-14 14:50:03 -0500••• When we complete an OR handshake, set up all the internal fields and mark the connection as open. svn:r12495 Nick Mathewson2007-11-14
* r16663@catbus: nickm | 2007-11-13 21:51:28 -0500••• Back out parts of r12376: replace file locations in scripts. svn:r12490 Nick Mathewson2007-11-14
* r16570@catbus: nickm | 2007-11-08 11:04:20 -0500••• Keep track, for each OR connection, of the last time we added a non-padding cell to its outbuf. Use this timestamp, not "lastwritten" to tell if it is time to close a circuitless connection. (We can'tuse lastwritten, since lastwritten is updated when ever the connection flushes anything, and by that point we can no longer tell what is a padding cell and what is not.) svn:r12437 Nick Mathewson2007-11-08
* start hunting a bug where bridge users don't always put•••their un-keyed connections onto the orconn_identity_map. svn:r12418 Roger Dingledine2007-11-07
* r16533@catbus: nickm | 2007-11-07 12:42:58 -0500••• Fix another "TLS error. breaking connection".~ svn:r12416 Nick Mathewson2007-11-07
* r16525@catbus: nickm | 2007-11-07 12:10:01 -0500••• Clean up log messages from bug 543 fix, and make old_routers also keep track of their indices. This will probably crash some until all the bugs are fixed. svn:r12412 Nick Mathewson2007-11-07
* r16455@catbus: nickm | 2007-11-06 12:48:00 -0500••• Parse CERT cells and act correctly when we get them. svn:r12396 Nick Mathewson2007-11-06
* r14729@31-33-67: nickm | 2007-11-05 18:54:50 -0500••• Send and Parse CERT cells correctly. Still need to understand the certs inside. svn:r12392 Nick Mathewson2007-11-05
* r14727@31-33-67: nickm | 2007-11-05 18:34:35 -0500••• Make VERSIONS variable-length. svn:r12391 Nick Mathewson2007-11-05
* r16438@catbus: nickm | 2007-11-05 16:45:45 -0500••• Initial code for variable-length cells. CERT and VERSIONS need to use them. svn:r12390 Nick Mathewson2007-11-05
* r16432@catbus: nickm | 2007-11-05 14:18:57 -0500••• Send and parse link_auth cells properly. svn:r12386 Nick Mathewson2007-11-05
* r16414@catbus: nickm | 2007-11-05 13:14:46 -0500••• Function to process link auth cells; stub function for cert cell processing svn:r12385 Nick Mathewson2007-11-05
* r16411@catbus: nickm | 2007-11-05 11:27:37 -0500••• Remember X509 certificates in the context. Store peer/self certificate digests in handshake state. svn:r12382 Nick Mathewson2007-11-05
* r16410@catbus: nickm | 2007-11-05 10:54:29 -0500••• Code to remember client_random and server_random values, and to compute hmac using TLS master secret. svn:r12381 Nick Mathewson2007-11-05
* r16409@catbus: nickm | 2007-11-05 10:38:25 -0500••• Split handshake state into its own structure. Revise versions and netinfo code to use this structure. svn:r12380 Nick Mathewson2007-11-05
* Stop leaking conn->nickname every time we make a connection to a•••Tor relay without knowing its expected identity digest (e.g. when using bridges). Bugfix on 0.2.0.3-alpha. svn:r12355 Roger Dingledine2007-11-03
* r16302@catbus: nickm | 2007-10-31 16:45:16 -0400••• Clean spaces. svn:r12301 Nick Mathewson2007-10-31
* r16285@catbus: nickm | 2007-10-30 17:43:25 -0400••• Implement (but do not enable) link connection version negotiation svn:r12286 Nick Mathewson2007-10-30
* r16282@catbus: nickm | 2007-10-30 14:28:58 -0400••• Implement lots of proposal 105. None of it is enabled yet. svn:r12285 Nick Mathewson2007-10-30
* now we can specify a bridge without specifying its key,•••and we will still connect to it and use it. getting closer! svn:r10609 Roger Dingledine2007-06-15
* Be clearer on the various roles for auth dir types.•••Bridge authorities no longer write bridge descriptors to their cached-routers file -- this gets complex because of extrainfo documents. svn:r10545 Roger Dingledine2007-06-09
* r13266@catbus: nickm | 2007-06-05 16:38:08 -0400••• Patch from peter palfrader: control interface via unix domain socket svn:r10504 Nick Mathewson2007-06-05
* polish r9933-r9994•••svn:r10335 Roger Dingledine2007-05-25
* r12853@catbus: nickm | 2007-05-22 11:36:54 -0400••• Make connection_array into a smartlist. svn:r10292 Nick Mathewson2007-05-22
* New config option V2AuthoritativeDirectory that all directory•••authorities should set. This will let future authorities choose not to serve V2 directory information. Also, go through and revamp all the authdir_mode stuff so it tries to do the right thing if you're an auth but not a V1 or V2 auth. svn:r10092 Roger Dingledine2007-05-02
* 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