aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Collapse)AuthorAge
...
* | Create cpuworker.hSebastian Hahn2010-07-27
| |
* | Create control.hSebastian Hahn2010-07-27
| |
* | Create connection_or.hSebastian Hahn2010-07-27
| |
* | Create connection_edge.hSebastian Hahn2010-07-27
| |
* | Create connection.hSebastian Hahn2010-07-27
| |
* | Create config.hSebastian Hahn2010-07-27
| |
* | Create command.hSebastian Hahn2010-07-27
| |
* | Create circuituse.hSebastian Hahn2010-07-27
| |
* | Create circuitlist.hSebastian Hahn2010-07-27
| |
* | Create circuitbuild.hSebastian Hahn2010-07-27
| |
* | Create buffers.hSebastian Hahn2010-07-27
| |
* | Create rendservice.hSebastian Hahn2010-07-27
| |
* | Create rendclient.hSebastian Hahn2010-07-27
| |
* | Create rendcommon.hSebastian Hahn2010-07-27
| |
* | Create routerlist.hSebastian Hahn2010-07-27
| |
* | Create router.hSebastian Hahn2010-07-27
| |
* | Create geoip.hSebastian Hahn2010-07-27
| |
* | Split headers for dnsserv.c functions out of or.hSebastian Hahn2010-07-27
| | | | | | | | | | | | | | The next series of commits begins addressing the issue that we're currently including the complete or.h file in all of our source files. To change that, we're splitting function definitions into new header files (one header file per source file).
* | mike needs DEFAULT_ROUTE_LEN in other filesRoger Dingledine2010-07-21
| |
* | whitespace fixRoger Dingledine2010-07-21
| |
* | naked constants are badRoger Dingledine2010-07-20
| |
* | Fix getinfo_helper_networkstatus to return 0 on question-not-knownNick Mathewson2010-07-18
| | | | | | | | | | It erroneously returned -1 instead, which made it say "Internal error" rather than "Unrecognized key."
* | Make the controller act more usefully when GETINFO failsNick Mathewson2010-07-18
| | | | | | | | | | | | | | | | | | | | | | Right now it says "552 internal error" because there's no way for getinfo_helper_*() countries to specify an error message. This patch changes the getinfo_helper_*() interface, and makes most of the getinfo helpers give useful error messages in response to failures. This should prevent recurrences of bug 1699, where a missing GeoIPFile line in the torrc made GETINFO ip-to-county/* fail in a "not obvious how to fix" way.
* | Alter how guard flags are chosen.Mike Perry2010-07-14
| | | | | | | | | | | | | | | | V3 authorities no longer decide not to vote on Guard+Exit. The bandwidth weights should take care of this now. Also, lower the max threshold for WFU to 0.98, to allow more nodes to become guards.
* | print right controller purpose string for measure-timeout circsRoger Dingledine2010-07-14
| |
* | No dirport should mean no hsdir flag (bug 1693)Roger Dingledine2010-07-14
| |
* | Rename log.h to torlog.hNick Mathewson2010-07-09
| | | | | | | | | | | | | | | | | | | | This should make us conflict less with system files named "log.h". Yes, we shouldn't have been conflicting with those anyway, but some people's compilers act very oddly. The actual change was done with one "git mv", by editing Makefile.am, and running find . -name '*.[ch]' | xargs perl -i -pe 'if (/^#include.*\Wlog.h/) {s/log.h/torlog.h/; }'
* | More gracefully handle corrupt state files.Mike Perry2010-07-06
| | | | | | | | | | | | Save a backup if we get odd circuitbuildtimes and other state info. In the case of circuit build times, we no longer assert, and reset our state.
* | Fix unittest failure in bug 1660.Mike Perry2010-07-06
| | | | | | | | | | | | | | | | | | | | We now record large times as abandoned, to prevent a filter step from happening and skewing our results. Also, issue a warn for a rare case that can happen for funky values of Xm or too many abandoned circuits. Can happen (very rarely) during unit tests, but should not be possble during live operation, due to network liveness filters and discard logic.
* | Make directory mirrors report non-zero dirreq-v[23]-shares again.Karsten Loesing2010-07-05
| |
* | Fix bugs with assuming time_t can be implicitly cast to longNick Mathewson2010-06-29
| | | | | | | | | | | | | | | | | | Many friendly operating systems have 64-bit times, and it's not nice to pass them to an %ld format. It's also extremely not-nice to write a time to the log as an integer. Most people think it's 2010 June 29 23:57 UTC+epsilon, not 1277855805+epsilon.
* | Merge remote branch 'public/rand_double2'Nick Mathewson2010-06-29
|\ \
| * | Make cbt_generate_sample use crypto_rand_double()Nick Mathewson2010-06-25
| | | | | | | | | | | | Possible workaround for bug 1139, if anybody cares.
* | | Merge remote branch 'mikeperry/cbt-bugfixes3'Nick Mathewson2010-06-29
|\ \ \
| * | | Mention the purpose field for leaked circuits.Mike Perry2010-06-16
| | | |
| * | | Add CLOSE_MS and CLOSE_RATE keywords to buildtimeout event.Mike Perry2010-06-15
| | | |
| * | | Be more proactive about closing unused circuits.Mike Perry2010-06-15
| | | | | | | | | | | | | | | | | | | | | | | | We need to ensure that we close timeout measurement circuits. While we're at it, we should close really old circuits of certain types that aren't in use, and log really old circuits of other types.
| * | | Split the circuit timeout and close codepaths.Mike Perry2010-06-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to record different statistics at point of timeout, vs the point of forcible closing. Also, give some better names to constants and state file variables to indicate they are not dealing with timeouts, but abandoned circuits.
| * | | Fix initialization and reset issues with close_ms.Mike Perry2010-06-15
| | | | | | | | | | | | | | | | Also clean up some log messages.
| * | | Keep circuits open until the greater of 95th CDF percentile or 60s.Mike Perry2010-06-09
| | | | | | | | | | | | | | | | | | | | | | | | This is done to provide better data to our right-censored Pareto model. We do this by simply marking them with a new purpose.
| * | | Make the Xm mode selection a consensus parameter.Mike Perry2010-06-09
| | | |
| * | | Add timeout count state variable.Mike Perry2010-06-09
| | | |
| * | | Remove synthetic timeout code in favor of better Pareto model.Mike Perry2010-06-09
| | | |
| * | | Arma hates (\d+). Remove mine and some others.Mike Perry2010-06-09
| | | |
| * | | Improve log message about large timeouts and fix some typos.Mike Perry2010-06-09
| | | |
| * | | Fix CBT unit tests.Mike Perry2010-05-12
| | | |
| * | | 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.