aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | Fix comments from Sebastian + Nick's code review.Mike Perry2010-05-10
| | | | | | | | | | | | Check for overflow in one place, and be consistent about type usage.
| * | Bug 1296: Add option+logic to disable CBT learning.Mike Perry2010-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | There are now four ways that CBT can be disabled: 1. Network-wide, with the cbtdisabled consensus param. 2. Via config, with "LearnCircuitBuildTimeout 0" 3. Via config, with "AuthoritativeDirectory 1" 4. Via a state file write failure.
| * | Bug 1357: Store the suspended timeout value to resume.Mike Perry2010-05-10
| | | | | | | | | | | | | | | This prevents a spurious warning where we have a timeout just after deciding our network came back online.
| * | Bug 1245: Ignore negative and large timeouts.Mike Perry2010-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | This should prevent some asserts and storage of incorrect build times for the cases where Tor is suspended during a circuit construction, or just after completing a circuit. The idea is that if the circuit build time is much greater than we would have cut it off at, we probably had a suspend event along this codepath, and we should discard the value.
| * | Bump timeout calculation message to notice when timeout changes.Mike Perry2010-05-10
| | |
| * | Add consensus parameter for max synthetic quantile.Mike Perry2010-05-10
| | | | | | | | | | | | | | | | | | In case we decide that the timeout rate is now too high due to our change of the max synthetic quantile value, this consensus parameter will allow us to restore it to the previous value.
| * | Add a TIMEOUT_RATE keyword to buildtimeout event.Mike Perry2010-05-10
| | |
| * | Bug 1335: Implement filtering step to remove+prevent high timeouts.Mike Perry2010-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is for the other issue we saw in Bug 1335. A large number of high timeouts were causing the timeout calculation to slowly drift upwards, especially in conditions of load. This fix repeatedly regenerates all of our synthetic timeouts whenever the timeout changes, to try to prevent drift. It also lowers the timeout cap to help for some cases of Bug 1245, where some timeout values were so large that we ended up allocating a ton of scratch memory to count the histogram bins. The downside is that lowering this cap is affecting our timeout rate. Unfortunately, the buildtimeout quantile is now higher than the actual completion rate by what appears to be about 7-10%, which probably represents the skew in the distribution due to lowering this synthetic cap.
| * | Bug 1335: Alter Xm calculation to be weighted avg of top N=3 modes.Mike Perry2010-05-10
| | | | | | | | | | | | | | | | | | | | | In my state files, I was seeing several peaks, probably due to different guards having different latency. This change is meant to better capture this behavior and generate more reasonable timeouts when it happens. It is improving the timeout values for my collection of state files.
* | | Group in torrc is obsolete, so stop checking itRoger Dingledine2010-06-27
| | |
* | | Merge branch 'bug1526-v2'Nick Mathewson2010-06-25
|\ \ \
| * | | Fix zlib macro brokenness on osx with zlib 1.2.4 and higher.Nick Mathewson2010-06-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From the code: zlib 1.2.4 and 1.2.5 do some "clever" things with macros. Instead of saying "(defined(FOO) ? FOO : 0)" they like to say "FOO-0", on the theory that nobody will care if the compile outputs a no-such-identifier warning. Sorry, but we like -Werror over here, so I guess we need to define these. I hope that zlib 1.2.6 doesn't break these too. Possible fix for bug 1526.
* | | | Fix a compile error when building with Libevent before 1.4.5-stableNick Mathewson2010-06-25
| | | | | | | | | | | | | | | | | | | | Older versions of Libevent forgot to declare enough function arguments constant.
* | | | Use Libevent 2.0's periodic timers where available.Nick Mathewson2010-06-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These timers behave better with non-monotonic clocks than our old ones, and also try harder to make once-per-second events get called one second apart, rather than one-plus-epsilon seconds apart. This fixes bug 943 for everybody using Libevent 2.0 or later.
* | | | Fix typo in tinytest_demoSteven Murdoch2010-06-25
| | | |
* | | | Log an error if openssl fails to copy a key for usNick Mathewson2010-06-22
| |_|/ |/| | | | | | | | | | | | | | | | | This should never happen unless openssl is buggy or some of our assumptions are deeply wrong, but one of those might have been the cause of the not-yet-reproducible bug 1209. If it ever happens again, let's get some info we can use.
* | | Remove the extra space that is sent in certain STREAM messages from the ↵Kat Magic2010-06-22
| | | | | | | | | | | | controller. (closes #1583)
* | | Answer question from Roger.Nick Mathewson2010-06-14
| | |
* | | a line that's been sitting in my sandbox for monthsRoger Dingledine2010-06-14
| | |
* | | Save a couple characters' allocation in esc_for_logFlorian Zumbiehl2010-06-14
| | |
* | | Merge commit 'sebastian/hostnamewarn'Nick Mathewson2010-06-11
|\ \ \
| * | | Add option to not warn when getting an IP instead of hostnameSebastian Hahn2010-06-07
| | | |
* | | | Merge commit 'origin/maint-0.2.1'Nick Mathewson2010-06-11
|\ \ \ \
| * | | | Add maatuska as eighth v3 directory authority.Karsten Loesing2010-06-11
| | |/ / | |/| |
* | | | Don't put a ControlPort without auth in sample bridge torrcSebastian Hahn2010-06-10
| | | | | | | | | | | | | | | | Thanks Roger for noticing
* | | | change Bytes to B to fix ticket 1195.Andrew Lewman2010-06-10
| | | |
* | | | Don't crash when reading cached*consensus files on startupSebastian Hahn2010-06-10
| | | | | | | | | | | | | | | | Fixes bug 1352
* | | | Merge remote branch 'origin/maint-0.2.1'Nick Mathewson2010-06-07
|\| | |
| * | | Update to June 1 2010 Maxmind GeoLite Country database.Karsten Loesing2010-06-07
| | | |
* | | | Merge branch 'bug1522'Nick Mathewson2010-06-07
|\ \ \ \
| * | | | Reinstate warning when HOME isn't set.Nick Mathewson2010-06-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Having ~/.tor expand into /.tor is, after all, almost certainly not what the user wanted, and it deserves a warning message. Also, convert a guess-and-malloc-and-sprintf triple into an asprintf.
| * | | | Treat unset $HOME like empty $HOMESebastian Hahn2010-06-07
| | |/ / | |/| | | | | | | | | | This means Tor no longer dies when it doesn't have a $HOME.
* / | | Sample torrc as a bridgeAndrew Lewman2010-06-07
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Sun, 6 Jun 2010 19:59:56 -0400 Andrew Lewman <andrew@torproject.org> wrote: > attached. let's try this again. From e95c44bc5af90d982e9d95d63e78b2fde67431ed Mon Sep 17 00:00:00 2001 From: Andrew Lewman <andrew@torproject.org> Date: Sun, 6 Jun 2010 19:56:16 -0400 Subject: [PATCH] Create a sample bridge configuration torrc.
* | | Don't cannibalize one-hop circuitsSebastian Hahn2010-06-04
| | | | | | | | | | | | | | | | | | | | | | | | In rare cases, we could cannibalize a one-hop circuit, ending up with a two-hop circuit. This circuit would not be actually used, but we should prevent its creation in the first place. Thanks to outofwords and swissknife for helping to analyse this.
* | | Let bridge users use the non-primary address of a multi-homed bridgeRoger Dingledine2010-06-03
| | |
* | | Make pointer types correct in WinCE patchNick Mathewson2010-05-24
| | |
* | | moved wince related includes and defs to compat.h where possible, removed ↵valerino2010-05-24
| | | | | | | | | | | | unused/redundant wince includes
* | | Port Tor to work on Windows CEvalerino2010-05-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most of the changes here are switches to use APIs available on Windows CE. The most pervasive change is that Windows CE only provides the wide-character ("FooW") variants of most of the windows function, and doesn't support the older ASCII verions at all. This patch will require use of the wcecompat library to get working versions of the posix-style fd-based file IO functions. [commit message by nickm]
* | | Log the correct address when purging a mismatchd DNS cache addressvalerino2010-05-20
| | |
* | | Don't use "try" as an identifiervalerino2010-05-20
| | | | | | | | | | | | | | | C allows try, but some windows CE headers like to redefine 'try' to be a reserved word.
* | | clean up whitespace in src/toolsNick Mathewson2010-05-20
| | |
* | | Make rotate_request_period use BEGIN/END versions of FOREACHNick Mathewson2010-05-17
| | | | | | | | | | | | | | | This appeases some versions of MSVC, which don't like it when you have preprocessor commands inside a set of macro arguments.
* | | Clarify 'marking connection as too old' messagesNick Mathewson2010-05-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Back when we changed the idea of a connection being "too old" for new circuits into the connection being "bad" for new circuits, we didn't actually change the info messages. This led to telling the user that we were labelling connections as "too old" for being worse than connections that were actually older than them. Found by Scott on or-talk.
* | | Merge branch 'maint-0.2.1'Roger Dingledine2010-05-06
|\| |
| * | move to maxmind geoip dbRoger Dingledine2010-05-06
| | |
* | | bump to 0.2.2.13-alpha-devRoger Dingledine2010-05-05
| |/ |/|
* | bump to 0.2.2.13-alphaRoger Dingledine2010-04-24
| |
* | Merge branch 'maint-0.2.1'Roger Dingledine2010-04-23
|\|
| * close idle tls conns earlyRoger Dingledine2010-04-23
| |
* | Merge branch 'maint-0.2.1'Roger Dingledine2010-04-23
|\|