1. 31 Jan, 2013 3 commits
  2. 30 Jan, 2013 8 commits
  3. 29 Jan, 2013 3 commits
  4. 24 Jan, 2013 1 commit
  5. 23 Jan, 2013 1 commit
  6. 22 Jan, 2013 1 commit
  7. 21 Jan, 2013 1 commit
  8. 20 Jan, 2013 4 commits
  9. 19 Jan, 2013 7 commits
    • Nick Mathewson's avatar
    • Mike Perry's avatar
      Bug 7802 changes file. · 38c7195a
      Mike Perry authored
    • Mike Perry's avatar
    • Mike Perry's avatar
      Remove a source of error during path bias scaling · d80b881a
      Mike Perry authored
      If any circuits were opened during a scaling event, we were scaling attempts
      and successes by different amounts. This leads to rounding error.
      The fix is to record how many circuits are in a state that hasn't been fully
      counted yet, and subtract that before scaling, and add it back afterwords.
    • Mike Perry's avatar
      Don't immediately count cannibalized circs as used. · a2db17a1
      Mike Perry authored
      Since they use RELAY_EARLY (which can be seen by all hops on the path),
      it's not safe to say they actually count as a successful use.
      There are also problems with trying to allow them to finish extending due to
      the circuit purpose state machine logic. It is way less complicated (and
      possibly more semantically coherent) to simply wait until we actually try to
      do something with them before claiming we 'used' them.
      Also, we shouldn't call timed out circuits 'used' either, for semantic
    • Mike Perry's avatar
      Roll back the path_state for circs if we detatch a stream. · 24b9b9f7
      Mike Perry authored
      An adversary could let the first stream request succeed (ie the resolve), but
      then tag and timeout the remainder (via cell dropping), forcing them on new
      Rolling back the state will cause us to probe such circuits, which should lead
      to probe failures in the event of such tagging due to either unrecognized
      cells coming in while we wait for the probe, or the cipher state getting out
      of sync in the case of dropped cells.
    • Mike Perry's avatar
      Implement Path use bias accounting. · e13e3022
      Mike Perry authored
      Path use bias measures how often we can actually succeed using the circuits we
      actually try to use. It is a subset of path bias accounting, but it is
      computed as a separate statistic because the rate of client circuit use may
      vary depending on use case.
  10. 18 Jan, 2013 2 commits
  11. 17 Jan, 2013 9 commits