| Commit message (Expand) | Author | Age |
* | A start at a patch for bug 1943 (alignment issues) | Roger Dingledine | 2010-09-20 |
* | I hear we are close to a release. Clean up the whitespace. | Nick Mathewson | 2010-09-16 |
* | Fix behavior of adding a cell to a blocked queue.•••We frequently add cells to stream-blocked queues for valid reasons
that don't mean we need to block streams. The most obvious reason
is if the cell arrives over a circuit rather than from an edge: we
don't block circuits, no matter how full queues get. The next most
obvious reason is that we allow CONNECTED cells from a newly created
stream to get delivered just fine.
This patch changes the behavior so that we only iterate over the
streams on a circuit when the cell in question came from a stream,
and we only block the stream that generated the cell, so that other
streams can still get their CONNECTEDs in.
| Nick Mathewson | 2010-09-02 |
* | Make Sebastian's bug1831 branch build with --enable-gcc-warnings | Nick Mathewson | 2010-08-15 |
* | Fix misplaced labels | Sebastian Hahn | 2010-08-16 |
* | Refactor circuit_build_times_parse_state•••Remove the msg parameter to pass an error message out. This
wasn't needed and made it harder to detect a memory leak.
| Sebastian Hahn | 2010-08-16 |
* | Fix a memory leak in circuit_build_times_parse_state•••Thanks weasel for noticing.
| Sebastian Hahn | 2010-08-16 |
* | Create routerparse.h | Sebastian Hahn | 2010-07-27 |
* | Create rephist.h | Sebastian Hahn | 2010-07-27 |
* | Create relay.h | Sebastian Hahn | 2010-07-27 |
* | Create policies.h | Sebastian Hahn | 2010-07-27 |
* | Create onion.h | Sebastian Hahn | 2010-07-27 |
* | Create networkstatus.h | Sebastian Hahn | 2010-07-27 |
* | Create main.h | Sebastian Hahn | 2010-07-27 |
* | Create directory.h | Sebastian Hahn | 2010-07-27 |
* | Create control.h | Sebastian Hahn | 2010-07-27 |
* | Create connection_or.h | Sebastian Hahn | 2010-07-27 |
* | Create connection_edge.h | Sebastian Hahn | 2010-07-27 |
* | Create connection.h | Sebastian Hahn | 2010-07-27 |
* | Create config.h | Sebastian Hahn | 2010-07-27 |
* | Create circuituse.h | Sebastian Hahn | 2010-07-27 |
* | Create circuitlist.h | Sebastian Hahn | 2010-07-27 |
* | Create circuitbuild.h | Sebastian Hahn | 2010-07-27 |
* | Create routerlist.h | Sebastian Hahn | 2010-07-27 |
* | Create router.h | Sebastian Hahn | 2010-07-27 |
* | mike needs DEFAULT_ROUTE_LEN in other files | Roger Dingledine | 2010-07-21 |
* | naked constants are bad | Roger Dingledine | 2010-07-20 |
* | Make the controller act more usefully when GETINFO fails•••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.
| Nick Mathewson | 2010-07-18 |
* | More gracefully handle corrupt state files.•••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.
| Mike Perry | 2010-07-06 |
* | Fix unittest failure in bug 1660.•••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.
| Mike Perry | 2010-07-06 |
* | Fix bugs with assuming time_t can be implicitly cast to long•••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.
| Nick Mathewson | 2010-06-29 |
* | Merge remote branch 'public/rand_double2' | Nick Mathewson | 2010-06-29 |
|\ |
|
| * | Make cbt_generate_sample use crypto_rand_double()•••Possible workaround for bug 1139, if anybody cares.
| Nick Mathewson | 2010-06-25 |
* | | Merge remote branch 'mikeperry/cbt-bugfixes3' | Nick Mathewson | 2010-06-29 |
|\ \
| |/
|/| |
|
| * | Add CLOSE_MS and CLOSE_RATE keywords to buildtimeout event. | Mike Perry | 2010-06-15 |
| * | Split the circuit timeout and close codepaths.•••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.
| Mike Perry | 2010-06-15 |
| * | Fix initialization and reset issues with close_ms.•••Also clean up some log messages.
| Mike Perry | 2010-06-15 |
| * | Keep circuits open until the greater of 95th CDF percentile or 60s.•••This is done to provide better data to our right-censored Pareto model.
We do this by simply marking them with a new purpose.
| Mike Perry | 2010-06-09 |
| * | Make the Xm mode selection a consensus parameter. | Mike Perry | 2010-06-09 |
| * | Add timeout count state variable. | Mike Perry | 2010-06-09 |
| * | Remove synthetic timeout code in favor of better Pareto model. | Mike Perry | 2010-06-09 |
| * | Improve log message about large timeouts and fix some typos. | Mike Perry | 2010-06-09 |
| * | Fix CBT unit tests. | Mike Perry | 2010-05-12 |
| * | Fix comments from Sebastian + Nick's code review.•••Check for overflow in one place, and be consistent about type usage.
| Mike Perry | 2010-05-10 |
| * | Bug 1296: Add option+logic to disable CBT learning.•••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.
| Mike Perry | 2010-05-10 |
| * | Bug 1357: Store the suspended timeout value to resume.•••This prevents a spurious warning where we have a timeout just after
deciding our network came back online.
| Mike Perry | 2010-05-10 |
| * | Bug 1245: Ignore negative and large timeouts.•••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.
| Mike Perry | 2010-05-10 |
| * | Bump timeout calculation message to notice when timeout changes. | Mike Perry | 2010-05-10 |
| * | Add consensus parameter for max synthetic quantile.•••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.
| Mike Perry | 2010-05-10 |
| * | Add a TIMEOUT_RATE keyword to buildtimeout event. | Mike Perry | 2010-05-10 |