- Feb 01, 2013
-
-
Nick Mathewson authored
This is meant to avoid conflict with the built-in log() function in math.h. It resolves ticket 7599. First reported by dhill. This was generated with the following perl script: #!/usr/bin/perl -w -i -p s/\blog\(LOG_(ERR|WARN|NOTICE|INFO|DEBUG)\s*,\s*/log_\L$1\(/g; s/\blog\(/tor_log\(/g;
-
- Jan 31, 2013
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- Jan 30, 2013
-
-
Nick Mathewson authored
Cosmetic tweak on 5956; not in any released tor.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
Instead of hardcoding the minimum fraction of possible paths to 0.6, we take it from the user, and failing that from the consensus, and failing that we fall back to 0.6.
-
Nick Mathewson authored
Previously we did this based on the fraction of descriptors we had. But really, we should be going based on what fraction of paths we're able to build based on weighted bandwidth, since otherwise a directory guard or two could make us behave quite oddly. Implementation for feature 5956
-
Nick Mathewson authored
This way we get the usable nodes themselves, so we can feed them into frac_nodes_with_descriptors
-
Nick Mathewson authored
-
- Jan 29, 2013
-
-
Nick Mathewson authored
This is allowed by the C statndard, which permits you to represent doubles any way you like, but in practice we have some code that assumes that memset() clears doubles in structs. Noticed as part of 7802 review; see 8081 for more info.
-
Nick Mathewson authored
When we implemented #5823 and removed v2 directory request info, we never actually changed the unit tests not to expect it. Fixes bug 8084; bug not in any released version of Tor.
-
- Jan 24, 2013
-
- Jan 23, 2013
-
-
Mike Perry authored
-
- Jan 22, 2013
-
-
Nick Mathewson authored
-
- Jan 21, 2013
-
-
Nick Mathewson authored
It looks like there was a compilation error for 6826 on some platforms. Removing even more now-uncallable code to handle detecting libevent versions before 1.3e. Fixes bug 8012; bug not in any released Tor.
-
- Jan 20, 2013
-
-
Mike Perry authored
Improve debug logs and fix a state fencepost error.
-
Mike Perry authored
Make a debug log more informative.
-
Mike Perry authored
We need to let them live long enough to perform the test.
-
Mike Perry authored
Move a log message about scaling to after we scale
-
- Jan 19, 2013
-
-
Nick Mathewson authored
-
Mike Perry authored
-
Mike Perry authored
-
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 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 consistency.
-
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 circuits. 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 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.
-
- Jan 18, 2013
-
-
Nick Mathewson authored
You can get it back by saying ./autogen.sh -v Patch from onizuka; for bug 4664. This isn't a complete fix, since starting from a clean checkout still reports that it's installing stuff
-
Nick Mathewson authored
This is a minimal refactoring to expose the weighted bandwidth calculations for each node so I can use them to see what fraction of nodes, weighted by bandwidth, we have descriptors for.
-
- Jan 17, 2013
-
-
Nick Mathewson authored
Patch from onizuka generated with find ./ -type f -perm -u+rw -exec sed -ri 's/(Base)-(16|32|64)/\1\2/gi' {} \; Fixes issue 6875 on Tor.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
(Pull on a thread and the whole sweater unravels.)
-
Nick Mathewson authored
Fix by "ultramage". This already has a changes entry.
-