aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Be more robust to bad circwindow valuesRoger Dingledine2009-09-22
| | | | | | | | | If the networkstatus consensus tells us that we should use a negative circuit package window, ignore it. Otherwise we'll believe it and then trigger an assert. Also, change the interface for networkstatus_get_param() so we don't have to lookup the consensus beforehand.
* Merge commit 'mikeperry/circuittimeout-1103'Nick Mathewson2009-09-21
|\
| * Fix Bug 1103.Mike Perry2009-09-21
| | | | | | | | | | Don't pass in a quantile that is too high during pretimeout calcualtion.
* | Bump version to 0.2.2.2-alpha-devNick Mathewson2009-09-21
| |
* | downgrade a log severity, since this event has been knownRoger Dingledine2009-09-21
| | | | | | | | to happen and there's nothing the user can do about it
* | Update to the "September 4 2009" ip-to-country file.Roger Dingledine2009-09-21
| |
* | bump to 0.2.2.2-alphaRoger Dingledine2009-09-21
|/
* Merge branch 'maint-0.2.1'Roger Dingledine2009-09-20
|\
| * Revert "Teach connection_ap_can_use_exit about Exclude*Nodes"Roger Dingledine2009-09-20
| | | | | | | | | | | | | | This reverts commit dc3229313b6d2aaff437c6fc7fa55ead4409e93d. We're going to do this more thoroughly in 0.2.2.x, and not in maint-0.2.1.
* | Fix compile on Snow LeopardSebastian Hahn2009-09-20
| |
* | Fix build warnings on OSX 10.5.8Nick Mathewson2009-09-20
| |
* | Change the condition on the nonlive timeout counting.Mike Perry2009-09-20
| | | | | | | | Try to clarify things in the comment too.
* | Add a couple of time helper functions.Mike Perry2009-09-20
| | | | | | | | Also add rounding support to tv_mdiff().
* | Fix typos and comments, plus two bugsRoger Dingledine2009-09-20
| | | | | | | | | | | | | | | | 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.
* | Implement and document new network liveness algorithm.Mike Perry2009-09-20
| | | | | | | | Based on irc discussion with arma.
* | Fix some precision-related asserts in unit tests.Mike Perry2009-09-20
| | | | | | | | | | Mostly by storing the timeout as milliseconds and not seconds internally.
* | disable the end of circuitbuildtimeout units testsRoger Dingledine2009-09-18
| | | | | | | | until mike figures out some other way to make them pass reliably
* | Fix compile on freebsdSebastian Hahn2009-09-18
| |
* | Let our config abbreviations rewrite more than onceRoger Dingledine2009-09-17
| |
* | a mish-mash of stuff in my sandboxRoger Dingledine2009-09-17
| |
* | give proposal 151 a changelog and other touchupsRoger Dingledine2009-09-17
| |
* | Choose early circuit idle timeout better.Roger Dingledine2009-09-17
| | | | | | | | | | | | | | | | 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.
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-09-17
|\|
| * Work around a memory leak in openssl 0.9.8g (and maybe others)Nick Mathewson2009-09-17
| |
| * Merge commit 'karsten/fix-1073' into maint-0.2.1Nick Mathewson2009-09-16
| |\
| | * Reduce log level for bug case that we now know really exists.Karsten Loesing2009-09-01
| | |
| | * Avoid segfault when accessing hidden service.Karsten Loesing2009-08-29
| | |
* | | Merge commit 'mikeperry/circuitbuildtimeout-final'Roger Dingledine2009-09-16
|\ \ \
| * | | Clarify use of magic number 0.98 with #define.Mike Perry2009-09-16
| | | |
| * | | Fix unit tests and compile issues on Snow LeopardSebastian Hahn2009-09-16
| | | |
| * | | Change liveness value to be a function of the timeout.Mike Perry2009-09-16
| | | | | | | | | | | | | | | | | | | | And also the number of recent circuits used to decide when the network changes.
| * | | Add log message so we have accurate build time values.Mike Perry2009-09-16
| | | |
| * | | Address nickm's issues from his review #1.Mike Perry2009-09-16
| | | |
| * | | Move circuitbuildtimeout config check.Mike Perry2009-09-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We want it to be under our control so it doesn't mess up initialization. This is likely the cause for the bug the previous assert-adding commit (09a75ad) was trying to address.
| * | | Time for some debugging by asserts.Mike Perry2009-09-16
| | | | | | | | | | | | | | | | Got a negative timeout value on startup. Need to narrow it down.
| * | | Fix bugs relating to not counting timeouts as circuit builds.Mike Perry2009-09-16
| | | | | | | | | | | | | | | | Also use bin midpoints for time values.
| * | | Document functions and constants.Mike Perry2009-09-16
| | | |
| * | | Remove an assert.Mike Perry2009-09-16
| | | | | | | | | | | | | | | | | | | | It seems to fire because of precision issues. Added more debug info to the warn to try to figure out for sure.
| * | | Fix issues found by arma in review.Mike Perry2009-09-16
| | | |
| * | | space/indent cleanups, plus point out three bugsRoger Dingledine2009-09-16
| | | |
| * | | Woops. Fix a couple memory leaks.Mike Perry2009-09-16
| | | | | | | | | | | | | | | | | | | | Also change the max timeout quantile to 0.98, so we can avoid huge synthetic timeout values.
| * | | Remove trailing spaces. As if bytes were free...Karsten Loesing2009-09-16
| | | | | | | | | | | | | | | | Also correct some typos.
| * | | Resolve mode ties in favor of the higher (slower) mode.Mike Perry2009-09-16
| | | |
| * | | More detail for some log msgs.Mike Perry2009-09-16
| | | |
| * | | Use our variable directly for timeout.Mike Perry2009-09-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | Fix a couple of assert bugs.Mike Perry2009-09-16
| | | |
| * | | Fix timeout edge case when we get enough samples.Mike Perry2009-09-16
| | | | | | | | | | | | | | | | Also switch Xm calculation to mode, not min.
| * | | Fix the math.h log() conflict.Mike Perry2009-09-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It was compiling, but causing segfaults. Also, adjust when the timer starts for new test circs and save state every 25 circuits.
| * | | Recover from changing network connections.Mike Perry2009-09-16
| | | | | | | | | | | | | | | | | | | | Also add code to keep creating circuits every minute until we hit our minimum threshhold.
| * | | Factor out the pretimeout handling code.Mike Perry2009-09-16
| | | | | | | | | | | | | | | | | | | | We need to also call it if we're going to calculate alpha after a normal circuit build.