aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_or.c
Commit message (Expand)AuthorAge
...
* Catch and report a few more bootstrapping failure cases when Tor•••fails to establish a TCP connection. Cleanup on 0.2.1.x. svn:r16803 Roger Dingledine2008-09-09
* Refactor use of connection_new so that we get more verifiable typesafety.•••svn:r16785 Nick Mathewson2008-09-05
* r17680@tombo: nickm | 2008-08-07 16:06:30 -0400••• Add a missing safe_str for a debug_log_message. Fix the bad part of bug 674. svn:r16462 Nick Mathewson2008-08-07
* r17641@31-33-44: nickm | 2008-08-05 16:07:53 -0400••• Initial conversion of uint32_t addr to tor_addr_t addr in connection_t and related types. Most of the Tor wire formats using these new types are in, but the code to generate and use it is not. This is a big patch. Let me know what it breaks for you. svn:r16435 Nick Mathewson2008-08-05
* r17346@aud-055: nickm | 2008-07-24 15:37:19 +0200••• Make generic address manipulation functions work better. Switch address policy code to use tor_addr_t, so it can handle IPv6. That is a good place to start. svn:r16178 Nick Mathewson2008-07-24
* r17322@aud-055: nickm | 2008-07-23 16:50:50 +0200••• Make circid_t and streamid_t get used instead of uint16_t; it is possible we will soon want to make circid_t change to uint32_t. svn:r16155 Nick Mathewson2008-07-23
* Directory authorities shouldn't complain about bootstrapping•••problems just because they do a lot of reachability testing and some of the connection attempts fail. svn:r15348 Roger Dingledine2008-06-18
* start sending "bootstrap problem" status events when we're having troubles•••reaching relays. svn:r15116 Roger Dingledine2008-06-11
* minor fixes and notes•••svn:r15111 Roger Dingledine2008-06-10
* Start noticing and reporting bootstrapping failures too. It looks like•••we never bothered learning why OR conns fail, so next step is to add some infrastructure for that. svn:r15091 Roger Dingledine2008-06-09
* infrastructure for the 'bootstrap status event' feature, so we can•••tell the controller how we're doing at bootstrapping, and it can tell the user. svn:r15008 Roger Dingledine2008-06-07
* New code to implement proposal for local geoip stats. Only enabled with --ena...•••svn:r14802 Nick Mathewson2008-05-29
* When we choose to abandon a new entry guard because we think our•••older ones might be better, close any circuits pending on that new entry guard connection. Bugfix on 0.1.2.8-beta; found by lodger. svn:r14417 Roger Dingledine2008-04-22
* r19273@catbus: nickm | 2008-04-09 14:44:23 -0400••• Do a slightly better fix for r14329: don't call time() quite so much. Also note the time(NULL) hack we wanted to do in the TODO. svn:r14334 Nick Mathewson2008-04-09
* r14399@tombo: nickm | 2008-02-22 14:09:38 -0500••• More 64-to-32 fixes. Partial backport candidate. still not done. svn:r13680 Nick Mathewson2008-02-22
* r18218@catbus: nickm | 2008-02-19 17:27:40 -0500••• When SafeLogging is off, have TLS errors and messages logged with their associated addresses. svn:r13591 Nick Mathewson2008-02-19
* r14181@tombo: nickm | 2008-02-15 16:48:17 -0500••• Fix all but 2 DOCDOC items; defer many XXX020s (particularly those where fixing them would fix no bugs at the risk of introducing some bugs). svn:r13529 Nick Mathewson2008-02-15
* r18056@catbus: nickm | 2008-02-12 17:21:10 -0500••• Add roger's responses from IRC to some XXX020 items. svn:r13487 Nick Mathewson2008-02-12
* r18051@catbus: nickm | 2008-02-12 15:20:43 -0500••• Re-tune mempool parametes based on testing on peacetime: use smaller chuncks, free them a little more aggressively, and try very hard to concentrate allocations on fuller chunks. Also, lots of new documentation. svn:r13484 Nick Mathewson2008-02-12
* r14108@tombo: nickm | 2008-02-10 20:09:10 -0500••• add some documentation svn:r13462 Nick Mathewson2008-02-11
* r14101@tombo: nickm | 2008-02-10 13:24:27 -0500••• Merge connection_or_act_on_netinfo into command.c; remove some fields from or_handshake_state(). svn:r13458 Nick Mathewson2008-02-10
* doxygen and other cleanups•••svn:r13440 Roger Dingledine2008-02-09
* r17991@catbus: nickm | 2008-02-08 18:41:26 -0500••• More protocol negotiation work. Make the negotiation actually complete and set the state to open. Fix a crash bug that occured when we forcibly stopped the connection from writing. svn:r13434 Nick Mathewson2008-02-08
* r14063@tombo: nickm | 2008-02-08 15:48:32 -0500••• Add a bunch more code documentation; change the interface of fetch_var_cell_from_buf() so it takes the current link protocol into account and can't get confused by weird command bytes on v1 connections. svn:r13430 Nick Mathewson2008-02-08
* Update some copyright notices: it is now 2008.•••svn:r13412 Nick Mathewson2008-02-07
* r17955@catbus: nickm | 2008-02-06 16:53:07 -0500••• The SSL portion of the revised handshake now seems to work: I just finally got a client and a server to negotiate versions. Now to make sure certificate verification is really happening, connections are getting opened, etc. svn:r13409 Nick Mathewson2008-02-06
* r17936@catbus: nickm | 2008-02-06 00:31:11 -0500••• Fix/downgrade some more XXX020s. svn:r13397 Nick Mathewson2008-02-06
* r17915@catbus: nickm | 2008-02-05 16:28:57 -0500••• Remove a dead function. svn:r13389 Nick Mathewson2008-02-05
* r17852@catbus: nickm | 2008-01-30 17:23:36 -0500••• Correctly insert connections into the identity->connection map when we connect to a bridge without having specified its key. Fixes bug 574. svn:r13341 Nick Mathewson2008-01-30
* minor cleanups•••svn:r13190 Roger Dingledine2008-01-19
* r15891@tombo: nickm | 2008-01-12 19:20:24 -0500••• Basic hacks to get TLS handshakes working: remove dead code; fix post-handshake logic; keep servers from writing while the client is supposed to be renegotiating. This may work. Needs testing. svn:r13122 Nick Mathewson2008-01-13
* r17473@catbus: nickm | 2008-01-05 22:15:05 -0500••• Add a reverse mapping from SSL to tor_tls_t*: we need this in order to do a couple of things the sensible way from inside callbacks. Also, add a couple of missing cases in connection_or.c svn:r13040 Nick Mathewson2008-01-06
* The bridge GeoIP stats were counting other relays, for example•••self-reachability and authority-reachability tests. svn:r12960 Roger Dingledine2007-12-25
* r15530@tombo: nickm | 2007-12-17 16:54:03 -0500••• First wodge of geoip code so bridges can figure out which countries are blocking them. svn:r12845 Nick Mathewson2007-12-17
* 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