aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-29Merge branch 'bug1772' into maint-0.2.2Roger Dingledine
2010-09-29fix two castsRoger Dingledine
2010-09-29Comment network liveness and change detection behavior.Mike Perry
2010-09-29no measurement circs if not enough build timesRoger Dingledine
In the first 100 circuits, our timeout_ms and close_ms are the same. So we shouldn't transition circuits to purpose CIRCUIT_PURPOSE_C_MEASURE_TIMEOUT, since they will just timeout again next time we check.
2010-09-29refactor and recomment; no actual changesRoger Dingledine
2010-09-29Merge commit 'mikeperry/bug1739' into maint-0.2.2Roger Dingledine
2010-09-29Merge commit 'mikeperry/bug1740' into maint-0.2.2Roger Dingledine
2010-09-29Add changes file.Mike Perry
2010-09-29Cap the circuit build timeout to the max time we've seen.Mike Perry
Also, cap the measurement timeout to 2X the max we've seen.
2010-09-29Do away with the complexity of the network liveness detection.Mike Perry
We really should ignore any timeouts that have *no* network activity for their entire measured lifetime, now that we have the 95th percentile measurement changes. Usually this is up to a minute, even on fast connections.
2010-09-29Fix state checks on liveness handling.Mike Perry
If we really want all this complexity for these stages here, we need to handle it better for people with large timeouts. It should probably go away, though.
2010-09-29Fix non-live condition checks.Mike Perry
Rechecking the timeout condition was foolish, because it is checked on the same codepath. It was also wrong, because we didn't round. Also, the liveness check itself should be <, and not <=, because we only have 1 second resolution.
2010-09-29Add changes file.Mike Perry
2010-09-29Send control port events for timeouts.Mike Perry
We now differentiate between timeouts and cutoffs by the REASON string and the PURPOSE string.
2010-09-29Add changes file.Mike Perry
2010-09-29Only count timeout data for 3 hop circuits.Mike Perry
Use 4/3 of this timeout value for 4 hop circuits, and use half of it for canabalized circuits.
2010-09-28even more commentRoger Dingledine
2010-09-28improve code comments, based on comments from nickRoger Dingledine
2010-09-28a changelog entry for the entrynodes retry messRoger Dingledine
2010-09-28handle ugly edge case in retrying entrynodesRoger Dingledine
Specifically, a circ attempt that we'd launched while the network was down could timeout after we've marked our entrynodes up, marking them back down again. The fix is to annotate as bad the OR conns that were around before we did the retry, so if a circuit that's attached to them times out we don't do anything about it.
2010-09-28Actually notice when our last entrynode goes downRoger Dingledine
Otherwise we'd never set have_minimum_dir_info to false, so the "optimistic retry" would never trigger.
2010-09-28optimistically retry EntryNodes on socks requestRoger Dingledine
We used to mark all our known bridges up when they're all down and we get a new socks request. Now do that when we've set EntryNodes too.
2010-09-28remove a redundant assertRoger Dingledine
2010-09-28refactor; no actual changesRoger Dingledine
2010-09-28Merge branch 'maint-0.2.1' into maint-0.2.2Roger Dingledine
2010-09-28actually retry bridges when your network goes awayRoger Dingledine
2010-09-28Remove the completely outdated Win32Build directoryNick Mathewson
If you want to try to build Tor with a recent MSVC, you are better off starting from scratch than trying to use the project files that we used to build 2006 versions of Tor using 2006 versions of MSVC.
2010-09-27a dir-spec entry for refuseunknownexitsRoger Dingledine
plus quiet a log line
2010-09-27the actual changelog entry this timeRoger Dingledine
2010-09-27changelog entry for bug1751Roger Dingledine
2010-09-27Merge remote branch 'sebastian/bug1964' into maint-0.2.2Nick Mathewson
2010-09-27Fix a bridge segfaultSebastian Hahn
When we enabled support to change statistic options without restarting Tor we forgot to initialize geoip_countries. Fix that.
2010-09-27Merge branch 'refuseunknown' into maint-0.2.2Nick Mathewson
2010-09-27Add RefuseUnknownExits to the manpageSebastian Hahn
2010-09-27Merge branch 'bug1751_enabling' into maint-0.2.2Nick Mathewson
2010-09-27Change bug1751 enabling code based on comments from armaNick Mathewson
2010-09-27Merge remote branch 'public/bug1954' into maint-0.2.2Nick Mathewson
2010-09-27Merge branch 'bug1805' into maint-0.2.2Nick Mathewson
2010-09-27Clean up some bug1805 comments based on arma's feedbackNick Mathewson
2010-09-27Merge remote branch 'mikeperry/bug1952-merge' into maint-0.2.2Nick Mathewson
2010-09-27Add changelog for bug 1952.Mike Perry
2010-09-27Update dir-spec.txt with new weight constraints.Mike Perry
2010-09-27Implement new Wxx constraints.Mike Perry
Cases 1 and 3b are provably correct. Case 2b has a fallback to first try to maximize entropy.
2010-09-24Consistency issues in load_windows_system_library patch. Thanks SebastianNick Mathewson
2010-09-24Merge remote branch 'sebastian/continuation'Nick Mathewson
2010-09-24Note that the torrc format doesn't need nl at endSebastian Hahn
2010-09-23Merge branch 'bug1511'Nick Mathewson
2010-09-23Tweak continuation-and-comment logicNick Mathewson
I think there was a read-off-the-end-of-the-buffer bug that I fixed. At least I added some good comments, I hope.
2010-09-23Add new torrc line continuation unit testsSebastian Hahn
We want to make sure that we don't break old torrc files that might have used something like this made-up example: ContactInfo UberUser <uber@user.com> # /// Fake email! \\\ Log info file /home/nick.mathewson/projects/tor-info.log And we also want to support the following style of writing your torrc: ExcludeNodes \ # Node1337 is run by the Bavarian Illuminati Node1337, \ # The operator of Node99 looked at me funny Node99 The code already handles both cases, but the unit test should help prove it.
2010-09-22Rename has_completed_circuit to can_complete_circuitNick Mathewson
Also redocument it. Related to #1362.