- 30 Jul, 2019 7 commits
-
-
Nick Mathewson authored
This test runs practracker with a set of 0 thresholds, to make sure that it enumerates all its values right. It tries running with an empty exceptions file, and with an exceptions file that covers _some_ of the data, and it makes sure that the outputs are as expected.
-
Nick Mathewson authored
Now that there is only one toplevel place where we print problems, we can redirect just that one print to a file when we are regenerating the exceptions.txt file. Previously we redirected sys.stdout, which is naughty, and forced us to send warnings (and warnings alone) to stderr.
-
Nick Mathewson authored
These flags let you suppress the message about the number of problems and warnings, and let you control the thresholds above which something counts as a problem. I need this for testing.
-
Nick Mathewson authored
-
Nick Mathewson authored
Previously warnings were generated by magic inside ProblemVault; now they're printed on demand.
-
Nick Mathewson authored
Instead of having "consider" functions that have to call a global ProblemVault, we can now generate all the metrics for the code separately from the decision about what to do for them.
-
Nick Mathewson authored
I'm about to refactor the code into a set of iterators that yield *all* the metrics for the code, and then add a filter on top of that to return the problems.
-
- 18 Jul, 2019 5 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
Fixes part of bug 30752
-
Nick Mathewson authored
When an exception is present, we can now violate the limit by a little bit and only produce a warning. The strict flag overrides this behavior. I've given file sizes a 2% tolerances and function sizes/include counts a 10% tolerance. Part of 30752
-
Nick Mathewson authored
This option lists every exception that is stricter than it needs to be. Part of 30752
-
Nick Mathewson authored
-
- 17 Jul, 2019 4 commits
-
-
Nick Mathewson authored
Instead of excluding directories at the last minute if they happen to appear in our filenames, we exclude them early, before recursing into all their subdirectories. Part of 29746.
-
Nick Mathewson authored
Part of 29746.
-
Nick Mathewson authored
This isn't actually something that Tor does, but it's cleaner to do it this way. Part of 29746.
-
Nick Mathewson authored
The practracker_tests.py unit test file called a function by its old name. Also, practracker counted functions as starting one line after the function name, and ending with the closing brace. Now they start with the open brace and end with the closing brace.
-
- 04 Jul, 2019 1 commit
-
-
George Kadianakis authored
-
- 03 Jul, 2019 2 commits
-
-
Roger Dingledine authored
-
Roger Dingledine authored
(a relay operator in #tor-relays just now was confused and thought that dirportfrontpage could serve multiple files, like a real webserver.)
-
- 02 Jul, 2019 3 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
George Kadianakis authored
-
- 01 Jul, 2019 4 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- 30 Jun, 2019 1 commit
-
-
Roger Dingledine authored
-
- 28 Jun, 2019 4 commits
-
-
Nick Mathewson authored
Coverity doesn't understand that if begin_cell_parse() returns 0 and sets is_begindir to 0, its address field will always be set. Fixes bug 30126; bugfix on 0.2.4.7-alpha; Fixes CID 1447296.
-
teor authored
Replace the 157 fallbacks originally introduced in Tor 0.3.5.6-rc in December 2018 (of which ~122 were still functional), with a list of 148 fallbacks (70 new, 78 existing, 79 removed) generated in June 2019. Closes ticket 28795. Note that we created extra lists from DE and US, but they didn't add any more fallbacks when we tried to merge them.
-
teor authored
Update the fallback directory mirrors by merging the current list with: fallback_dirs_2019-06-28-08-58-39_AU_f0437a39ddbc8459.inc Part of 28795, see that ticket for logs.
-
teor authored
Update the fallback directory mirrors by replacing the old list with: fallback_dirs_2019-06-25-11-49-10_AU_a37adb956fbb5cd2.inc Part of 28795, see that ticket for logs.
-
- 27 Jun, 2019 3 commits
-
-
David Goulet authored
Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
-
Improve the documentation for the DirAuthority and FallbackDir torrc options. Closes ticket 30955.
-
- 26 Jun, 2019 6 commits
-
-
David Goulet authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
And that it does something sensible with host and host:port. Also reorder the tests into valid, invalid, and ambiguous. And add some missing cases. Note: tor_addr_port_lookup() handles ip, ip:port, host, and host:port. Tests for 30721.
-
And that it fails on IP:port and host:port, and does something sensible with host. Tests for 30721.
-