summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-29Nominaly lower the minimum timeout value to 1500.Mike Perry
This won't change any behavior, since it will still be rounded back up to 2seconds, but should reduce the chances of some extra warns.
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-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-23Merge branch 'bug1511'Nick Mathewson
2010-09-22Rename has_completed_circuit to can_complete_circuitNick Mathewson
Also redocument it. Related to #1362.
2010-09-22Merge remote branch 'arma/bug1362'Nick Mathewson
2010-09-22Changes to bug1959_part1 on review from arma.Nick Mathewson
Significant one: we want to say "not enough entry nodes descriptors, so we can't build circuits" only when we have 0 descriptors.
2010-09-21Make our min-info check also check for entry node presenceNick Mathewson
Part of a fix for bug1959
2010-09-21Even more accurate handling for shifting accounting intervalsNick Mathewson
Roger correctly pointed out that my code was broken for accounting periods that shifted forwards, since start_of_accounting_period_containing(interval_start_time) would not be equal to interval_start_time, but potentially much earlier.
2010-09-21Merge branch 'bug1789'Nick Mathewson
2010-09-21Bug1789 cleanups suggested by armaNick Mathewson
The significant one is that we look at RelayBandwidthRate if it is set.
2010-09-21log when we finish a circuit after being offlineRoger Dingledine
2010-09-21Correct default for RendPostPeriod in docsJohn Brooks
2010-09-21Merge branch 'bug1956'Nick Mathewson
2010-09-20changelog entry for bug 1943Roger Dingledine
2010-09-20A start at a patch for bug 1943 (alignment issues)Roger Dingledine
2010-09-20Count unknown authorities as unknown only once, not once per signature.Nick Mathewson
Do not double-report signatures from unrecognized authorities both as "from unknown authority" and "not present". Fixes bug 1956, bugfix on 0.2.2.16-alpha.
2010-09-19Attempt to fix compilation on WindowsSebastian Hahn
Our attempt to make compilation work on old versions of Windows again while keeping wince compatibility broke the build for Win2k+. helix reports this patch fixes the issue for WinXP. Bugfix on 0.2.2.15-alpha; related to bug 1797.
2010-09-17bump to 0.2.2.16-alpha-devRoger Dingledine
2010-09-17best tor ever!tor-0.2.2.16-alphaRoger Dingledine
2010-09-16I hear we are close to a release. Clean up the whitespace.Nick Mathewson
2010-09-16fold in the recent changes filesRoger Dingledine
2010-09-16Change 'bugfix on' line for changes/bug1921.Nick Mathewson
Karsten says: "the ChangeLog should say it's a bugfix on 0.2.2.15-alpha, because enabling stats while Tor is running (which leads to this false log message) is only possible since then." Sounds right enough to me. Tell me if I'm wrong.
2010-09-16Merge remote branch 'sebastian/bug1921'Nick Mathewson
2010-09-16perconnbwrate and perconnbwburst consensus paramsRoger Dingledine
2010-09-16Demote a warn when enabling CellStatisticsSebastian Hahn
When the CellStatistics option is off, we don't store cell insertion times. Doing so would also not be very smart, because there seem to still be some performance issues with this type of statistics. Nothing harmful happens when we don't have insertion times, so we don't need to alarm the user.
2010-09-15circwindow consensus param != CircWindowRoger Dingledine
aka update dir-spec.txt to reflect reality
2010-09-15finish a comment, lower a variableNick Mathewson
2010-09-15How many seconds until != timestamp of that dateSebastian Hahn
2010-09-15Merge branch 'bug1184'Nick Mathewson
2010-09-15tor-spec.txt tweaks from armaNick Mathewson
2010-09-15Never queue a cell on a marked circuitNick Mathewson
2010-09-14Add a simple integer-ceiling-division macro before we get it wrongNick Mathewson
2010-09-14Merge branch 'bug1899'Nick Mathewson
2010-09-14Merge branch 'bug911'Nick Mathewson
2010-09-14Extract the "do these routers have the same addr:orport" logic into a fnNick Mathewson
2010-09-14Tweak some issues found by arma in bug911 review.Nick Mathewson
2010-09-14Merge remote branch 'sebastian/bug1776_v3'Nick Mathewson
2010-09-13Make circuit_resume_edge_reading_helper treat streams more fairly.Nick Mathewson
Previously[*], the function would start with the first stream on the circuit, and let it package as many cells as it wanted before proceeding to the next stream in turn. If a circuit had many live streams that all wanted to package data, the oldest would get preference, and the newest would get ignored. Now, we figure out how many cells we're willing to send per stream, and try to allocate them fairly. Roger diagnosed this in the comments for bug 1298. [*] This bug has existed since before the first-ever public release of Tor. It was added by r152 of Tor on 26 Jan 2003, which was the first commit to implement streams (then called "topics"). This is not the oldest bug to be fixed in 0.2.2.x: that honor goes to the windowing bug in r54, which got fixed in e50b7768 by Roger with diagnosis by Karsten. This is, however, the most long-lived bug to be fixed in 0.2.2.x: the r54 bug was fixed 2580 days after it was introduced, whereas I am writing this commit message 2787 days after r152.
2010-09-13Add a max_cells arg to connection_edge_process_raw_inbufNick Mathewson
I'm going to use this to implement more fairness in circuit_resume_edge_reading_helper in an attempt to fix bug 1298. (Updated with fixes from arma and Sebastian)