aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_or.c
Commit message (Expand)AuthorAge
* 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
* orconn_identity_map was another static variable that started•••out NULL and didn't change until it needed to change. svn:r5578 Roger Dingledine2005-12-14
* don't mark the helper node as down when we fail to connect to•••our https proxy. svn:r5566 Roger Dingledine2005-12-11
* when we changed from log_fn to debug/info/notice/warn/err,•••we screwed up the formatting in wild and unpredictable ways. fix it before it becomes convention to format logs in wild and unpredictable ways. still need to do src/common/ someday. svn:r5551 Roger Dingledine2005-12-10
* Change how OR conns get removed from the identity map; fix some warnings on s...•••svn:r5509 Nick Mathewson2005-12-05
* remove some functions that are not used; #if0 out some files that are not lik...•••svn:r5471 Nick Mathewson2005-11-30
* Rename connection_get_by_identity_digest to reflect that it is OR-only. Make...•••svn:r5469 Nick Mathewson2005-11-30
* Recover better from TCP connections to Tor servers that are broken but•••don't tell you (it happens!); and rotate TLS connections once a week. 1) If an OR conn becomes more than a week old, make it obsolete. 2) If it's obsolete and empty, kill it. 3) When an OR makes a second connection to you, allow it. 4) If we want to send a new create cell, but the best conn we've got is obsolete, and the router is 0.1.1.9-alpha-cvs or later, ask for a new conn instead. 5) When we time out on circuit building on the first hop, make that connection obsolete. svn:r5429 Roger Dingledine2005-11-19
* On directory servers, old_routers was wasting hundreds of bytes per supersede...•••svn:r5349 Nick Mathewson2005-11-05
* Remove last vestiges of old logging interface.•••svn:r5317 Nick Mathewson2005-10-25
* Efficiency hack: call tor_fix_source_file late, not early. Add "BUG" domain....•••svn:r5309 Nick Mathewson2005-10-25
* Downgrade a few INFO level logs to DEBUG again. Also add two or three new•••logs in cases where a calling function's log was downgraded and we wouldn't get any log message otherwise. svn:r5263 Peter Palfrader2005-10-17
* more log uncluttering•••svn:r5254 Roger Dingledine2005-10-17
* start the process of reducing clutter in server logs•••svn:r5253 Roger Dingledine2005-10-17
* Try to extract as many descriptors as possible from truncated http responses....•••svn:r5249 Nick Mathewson2005-10-14
* without braces, what will hold up the code?•••svn:r5209 Roger Dingledine2005-10-06
* Make doxygen marginally happier•••svn:r5208 Nick Mathewson2005-10-06
* Check for named servers when looking them up by nickname;•••warn when we'recalling a non-named server by its nickname; don't warn twice about the same name. Fix a bug in routers_update_status_from_networkstatus that made nearly all clients never update routerinfo_t.is_named. Try to list MyFamily elements by key, not by nickname. Only warn about names that we generated ourself, or got from the local user. On TLS handshake, only check the other router's nickname against its expected nickname if is_named is set. svn:r5185 Nick Mathewson2005-10-04
* Make a new AssumeReachable config option that will publish anyway.•••Also, let authdirservers start without setting their Address field. Something is still not working though. Will fix in morning. svn:r4839 Roger Dingledine2005-08-26
* Dirservers now do their own external reachability testing of each•••Tor server, and only list them as running if they've been found to be reachable. Dirservers also log trouble servers, but only start complaining loudly after they've been up for an hour, to reduce false positives. We still need to do something about the fact that it is quite loud when there are many trouble servers. svn:r4829 Roger Dingledine2005-08-24
* Our logic to decide if the OR we connected to was the right guy•••was brittle and maybe open to a mitm for unverified routers. Now we be sure to check the digest, and if the nickname he claims is not a verified one then we don't care what nickname he claims. svn:r4823 Roger Dingledine2005-08-23
* Initial, somewhat dodgy implementation of helper nodes. It has too many XXXX...•••svn:r4633 Nick Mathewson2005-07-22
* be consistent about printing out key digest $'s when we're getting a•••different key than we expect svn:r4609 Roger Dingledine2005-07-19