aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
Commit message (Expand)AuthorAge
* Create rephist.hSebastian Hahn2010-07-27
* Create policies.hSebastian Hahn2010-07-27
* Create control.hSebastian Hahn2010-07-27
* Create connection_edge.hSebastian Hahn2010-07-27
* Create connection.hSebastian Hahn2010-07-27
* Create config.hSebastian Hahn2010-07-27
* Create circuituse.hSebastian Hahn2010-07-27
* Create circuitlist.hSebastian Hahn2010-07-27
* Create circuitbuild.hSebastian Hahn2010-07-27
* Create rendservice.hSebastian Hahn2010-07-27
* Create rendclient.hSebastian Hahn2010-07-27
* Create rendcommon.hSebastian Hahn2010-07-27
* Create routerlist.hSebastian Hahn2010-07-27
* Create router.hSebastian Hahn2010-07-27
* Fix bugs with assuming time_t can be implicitly cast to long•••Many friendly operating systems have 64-bit times, and it's not nice to pass them to an %ld format. It's also extremely not-nice to write a time to the log as an integer. Most people think it's 2010 June 29 23:57 UTC+epsilon, not 1277855805+epsilon. Nick Mathewson2010-06-29
* Mention the purpose field for leaked circuits.Mike Perry2010-06-16
* Be more proactive about closing unused circuits.•••We need to ensure that we close timeout measurement circuits. While we're at it, we should close really old circuits of certain types that aren't in use, and log really old circuits of other types. Mike Perry2010-06-15
* Split the circuit timeout and close codepaths.•••We need to record different statistics at point of timeout, vs the point of forcible closing. Also, give some better names to constants and state file variables to indicate they are not dealing with timeouts, but abandoned circuits. Mike Perry2010-06-15
* Fix initialization and reset issues with close_ms.•••Also clean up some log messages. Mike Perry2010-06-15
* Keep circuits open until the greater of 95th CDF percentile or 60s.•••This is done to provide better data to our right-censored Pareto model. We do this by simply marking them with a new purpose. Mike Perry2010-06-09
* Bug 1245: Ignore negative and large timeouts.•••This should prevent some asserts and storage of incorrect build times for the cases where Tor is suspended during a circuit construction, or just after completing a circuit. The idea is that if the circuit build time is much greater than we would have cut it off at, we probably had a suspend event along this codepath, and we should discard the value. Mike Perry2010-05-10
* Merge branch 'maint-0.2.1'Roger Dingledine2010-04-23
|\
| * close idle dir-fetch circs earlyRoger Dingledine2010-04-23
* | Merge remote branch 'origin/maint-0.2.1'•••Conflicts: src/common/test.h src/or/test.c Nick Mathewson2010-02-27
|\|
| * Update Tor Project copyright yearsNick Mathewson2010-02-27
* | Be more willing to use an unsuitable circuit for exit.•••Specifically, there are two cases: a) are we willing to start a new circuit at a node not in your ExitNodes config option, and b) are we willing to make use of a circuit that's already established but has an unsuitable exit. Now we discard all your circuits when you set ExitNodes, so the only way you could end up with an exit circuit that ends at an unsuitable place is if we explicitly ran out of exit nodes, StrictNodes was 0, and we built this circuit to solve a stream that needs solving. Fixes bug in dc322931, which would ignore the just-built circuit because it has an unsuitable exit. Roger Dingledine2009-12-21
* | Merge branch 'safelogging2'•••Conflicts: ChangeLog Nick Mathewson2009-12-15
|\ \
| * | Refactor the safe_str_*() API to make more sense.•••The new rule is: safe_str_X() means "this string is a piece of X information; make it safe to log." safe_str() on its own means "this string is a piece of who-knows-what; make it safe to log". Nick Mathewson2009-12-15
* | | Now that FOO_free(NULL) always works, remove checks before calling it.Nick Mathewson2009-12-12
|/ /
* | Fix typos and comments, plus two bugs•••A) We were considering a circuit had timed out in the special cases where we close rendezvous circuits because the final rendezvous circuit couldn't be built in time. B) We were looking at the wrong timestamp_created when considering a timeout. Roger Dingledine2009-09-20
* | Implement and document new network liveness algorithm.•••Based on irc discussion with arma. Mike Perry2009-09-20
* | Fix some precision-related asserts in unit tests.•••Mostly by storing the timeout as milliseconds and not seconds internally. Mike Perry2009-09-20
* | Choose early circuit idle timeout better.•••Don't discard all circuits every MaxCircuitDirtiness, because the user might legitimately have set that to a very lower number. Also don't use up all of our idle circuits with testing circuits, since that defeats the point of preemptive circuits. Roger Dingledine2009-09-17
* | Fix issues found by arma in review.Mike Perry2009-09-16
* | space/indent cleanups, plus point out three bugsRoger Dingledine2009-09-16
* | Use our variable directly for timeout.•••Using CircuitBuildTimeout is prone to issues with SIGHUP, etc. Also, shuffle the circuit build times array after loading it in so that newer measurements don't replace chunks of similarly timed measurements. Mike Perry2009-09-16
* | Fix the math.h log() conflict.•••It was compiling, but causing segfaults. Also, adjust when the timer starts for new test circs and save state every 25 circuits. Mike Perry2009-09-16
* | Recover from changing network connections.•••Also add code to keep creating circuits every minute until we hit our minimum threshhold. Mike Perry2009-09-16
* | Implement the pareto fitting and timeout calculating bits.Mike Perry2009-09-16
* | Merge branch 'maint-0.2.1'Roger Dingledine2009-08-31
|\|
| * Only send reachability status events on overall success/failure•••We were telling the controller about CHECKING_REACHABILITY and REACHABILITY_FAILED status events whenever we launch a testing circuit or notice that one has failed. Instead, only tell the controller when we want to inform the user of overall success or overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported by SwissTorExit. Roger Dingledine2009-08-31
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-05-28
|\|
| * Fixes to spelling fixes. Thanks, Roger!Nick Mathewson2009-05-28
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-05-27
|\|
| * Spell-check Tor.Nick Mathewson2009-05-27
| * Update copyright to 2009.Karsten Loesing2009-05-04
* | Clients do not request version 0 hidserv descs anymore.Karsten Loesing2009-05-04
* | Update copyright to 2009.Karsten Loesing2009-05-02
|/
* Retry circuits if the exit node is optional and nonexistant.•••Previously, when we had the chosen_exit set but marked optional, and we failed because we couldn't find an onion key for it, we'd just give up on the circuit. But what we really want to do is try again, without the forced exit node. Spotted by rovv. Another case of bug 752. I think this might be unreachable in our current code, but proposal 158 could change that. svn:r18451 Nick Mathewson2009-02-09
* If we're using bridges and our network goes away, be more willing•••to forgive our bridges and try again when we get an application request. Bugfix on 0.2.0.x. svn:r18396 Roger Dingledine2009-02-04