aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* fix commentRoger Dingledine2010-10-01
|
* log when we guess our ip address, not just when we failRoger Dingledine2010-10-01
|
* bump to 0.2.2.17-alpha-devRoger Dingledine2010-10-01
|
* bump to 0.2.2.17-alphaRoger Dingledine2010-09-30
|
* Note an XXX about potential overflowSebastian Hahn2010-09-30
|
* Use an upper and lower bound for bridge weightsSebastian Hahn2010-09-30
| | | | | | | | | | | When picking bridges (or other nodes without a consensus entry (and thus no bandwidth weights)) we shouldn't just trust the node's descriptor. So far we believed anything between 0 and 10MB/s, where 0 would mean that a node doesn't get any use from use unless it is our only one, and 10MB/s would be a quite siginficant weight. To make this situation better, we now believe weights in the range from 20kB/s to 100kB/s. This should allow new bridges to get use more quickly, and means that it will be harder for bridges to see almost all our traffic.
* Fix check-spacesSebastian Hahn2010-09-30
|
* Merge commit 'mikeperry/bug1772' into maint-0.2.2Roger Dingledine2010-09-30
|\
| * Nominaly lower the minimum timeout value to 1500.Mike Perry2010-09-29
| | | | | | | | | | 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.
* | Merge branch 'bug1772' into maint-0.2.2Roger Dingledine2010-09-29
|\ \
| * | fix two castsRoger Dingledine2010-09-29
| |/
| * Comment network liveness and change detection behavior.Mike Perry2010-09-29
| |
| * no measurement circs if not enough build timesRoger Dingledine2010-09-29
| | | | | | | | | | | | | | 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.
| * refactor and recomment; no actual changesRoger Dingledine2010-09-29
| |
| * Cap the circuit build timeout to the max time we've seen.Mike Perry2010-09-29
| | | | | | | | Also, cap the measurement timeout to 2X the max we've seen.
| * Do away with the complexity of the network liveness detection.Mike Perry2010-09-29
| | | | | | | | | | | | 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.
| * Fix state checks on liveness handling.Mike Perry2010-09-29
| | | | | | | | | | 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.
| * Fix non-live condition checks.Mike Perry2010-09-29
| | | | | | | | | | | | | | | | 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.
* | Merge commit 'mikeperry/bug1739' into maint-0.2.2Roger Dingledine2010-09-29
|\|
| * Send control port events for timeouts.Mike Perry2010-09-29
| | | | | | | | | | We now differentiate between timeouts and cutoffs by the REASON string and the PURPOSE string.
* | Merge commit 'mikeperry/bug1740' into maint-0.2.2Roger Dingledine2010-09-29
|\|
| * Only count timeout data for 3 hop circuits.Mike Perry2010-09-29
| | | | | | | | | | Use 4/3 of this timeout value for 4 hop circuits, and use half of it for canabalized circuits.
* | even more commentRoger Dingledine2010-09-28
| |
* | improve code comments, based on comments from nickRoger Dingledine2010-09-28
| |
* | handle ugly edge case in retrying entrynodesRoger Dingledine2010-09-28
| | | | | | | | | | | | | | | | 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.
* | Actually notice when our last entrynode goes downRoger Dingledine2010-09-28
| | | | | | | | | | Otherwise we'd never set have_minimum_dir_info to false, so the "optimistic retry" would never trigger.
* | optimistically retry EntryNodes on socks requestRoger Dingledine2010-09-28
| | | | | | | | | | 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.
* | remove a redundant assertRoger Dingledine2010-09-28
| |
* | refactor; no actual changesRoger Dingledine2010-09-28
| |
* | Merge branch 'maint-0.2.1' into maint-0.2.2Roger Dingledine2010-09-28
|\ \
| * | actually retry bridges when your network goes awayRoger Dingledine2010-09-28
| | |
* | | a dir-spec entry for refuseunknownexitsRoger Dingledine2010-09-27
| | | | | | | | | | | | plus quiet a log line
* | | changelog entry for bug1751Roger Dingledine2010-09-27
| | |
* | | Merge remote branch 'sebastian/bug1964' into maint-0.2.2Nick Mathewson2010-09-27
|\ \ \
| * | | Fix a bridge segfaultSebastian Hahn2010-09-27
| | | | | | | | | | | | | | | | | | | | When we enabled support to change statistic options without restarting Tor we forgot to initialize geoip_countries. Fix that.
* | | | Merge branch 'bug1751_enabling' into maint-0.2.2Nick Mathewson2010-09-27
|\ \ \ \ | |/ / / |/| | |
| * | | Change bug1751 enabling code based on comments from armaNick Mathewson2010-09-27
| | | |
| * | | First cut of code to enable RefuseUnknownExitsNick Mathewson2010-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The RefuseUnknownExits config option is now a tristate, with "1" meaning "enable it no matter what the consensus says", "0" meaning "disable it no matter what the consensus says", and "auto" meaning "do what the consensus says". If the consensus is silent, we enable RefuseUnknownExits. This patch also changes the dirserv logic so that refuseunknownexits won't make us cache unless we're an exit.
* | | | Merge remote branch 'public/bug1954' into maint-0.2.2Nick Mathewson2010-09-27
|\ \ \ \
| * | | | Consistency issues in load_windows_system_library patch. Thanks SebastianNick Mathewson2010-09-24
| | | | |
| * | | | Use load_windows_system_library in place of LoadLibraryNick Mathewson2010-09-21
| | | | |
| * | | | New function to load windows system librariesNick Mathewson2010-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This function uses GetSystemDirectory() to make sure we load the version of the library from c:\windows\system32 (or local equivalent) rather than whatever version lives in the cwd.
* | | | | Merge branch 'bug1805' into maint-0.2.2Nick Mathewson2010-09-27
|\ \ \ \ \
| * | | | | Clean up some bug1805 comments based on arma's feedbackNick Mathewson2010-09-27
| | | | | |
| * | | | | Kill warn when picking bridges without bw weightSebastian Hahn2010-09-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bridges and other relays not included in the consensus don't necessarily have a non-zero bandwidth capacity. If all our configured bridges had a zero bw capacity we would warn the user. Change that.
* | | | | | Merge remote branch 'mikeperry/bug1952-merge' into maint-0.2.2Nick Mathewson2010-09-27
|\ \ \ \ \ \
| * | | | | | Implement new Wxx constraints.Mike Perry2010-09-27
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Cases 1 and 3b are provably correct. Case 2b has a fallback to first try to maximize entropy.
* | | | | | Merge remote branch 'sebastian/continuation'Nick Mathewson2010-09-24
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Note that the torrc format doesn't need nl at endSebastian Hahn2010-09-24
| | | | | |
| * | | | | Tweak continuation-and-comment logicNick Mathewson2010-09-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.