summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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-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.
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-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-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-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-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)
2010-09-13Fix function declaration linebreaks at start of relay.cNick Mathewson
2010-09-13Merge remote branch 'public/pretty-signature-log'Nick Mathewson
2010-09-13Merge remote branch 'sebastian/bug1525'Nick Mathewson
2010-09-12Merge branch 'bug1138'Nick Mathewson
2010-09-12Make authorities download consensuses if appropriateNick Mathewson
An authority should never download a consensus if it has a live one, but when it doesn't, it should admit that it's not going to get one, and see if anybody else can give it one. Fixes 1300, fix on 0.2.0.9-alpha
2010-09-12Clean up a couple more bug1138 issues mentioned by roger on code reviewNick Mathewson
2010-09-12Handle null conn->requested_resource rather than assertRobert Hogan
Per arma's comments in bug1138
2010-09-12fix regression introduced by 1a65bdd2Roger Dingledine
noticed while reviewing hoganrobert/bug1138
2010-09-11Allow comments for multi-line torrc optionsSebastian Hahn
2010-09-10Support mutli-line torrc options via the usual backslash syntaxNick Mathewson