- 27 Feb, 2019 2 commits
- 26 Feb, 2019 4 commits
-
-
juga authored
-
juga authored
Add methods to store consecutive destination failures and retrieve the destinations that are still functional. Since destinations can fail because of Tor circuits, it's not count individual failures but consecutives one. Also exit with error if there are no functional destinations left. The maximum number of consecuitve failures is set to 10, but it may need to be changed depending on the percentage of circuits and requests that fail.
-
juga authored
in every measurement. This removes the need for an extra lock for every measurement It should also not be depending on a time interval, but on the number of failures detected. Not counting number of failures since it would need to modify the destination or list of at runtime. It should be done in a future refactor. Fixes bug #28897. Bugfix v0.3.0
- 25 Feb, 2019 3 commits
-
-
juga authored
and create function to set options that can fail because they are not supported by some Tor versions at runtime. Fixes bug 28692. Bugfix v0.4.0
-
juga authored
The log message might not correspond to the reason. Only the first one that fails will be logged, but not refactoring here. Add an integration test to check a runtime option fails.
-
juga authored
to a function. Replace comment by docstring. Add an integration test to check the option is set.
-
- 23 Feb, 2019 2 commits
-
-
juga authored
after finishing the first loop. As noted in bug28933_01.
-
juga authored
The bandwidth file is generated only with relays that have some successful measurements, but we forgot to load all results (including the relays with failed measurements) after we started to include the number of failure measurements in each relay bandwidth line. Closes #29568. Bugfix v0.4.0 (line introduced in v0.1.0).
-
- 21 Feb, 2019 2 commits
- 18 Feb, 2019 1 commit
-
- 12 Feb, 2019 1 commit
-
- 07 Feb, 2019 1 commit
-
- 06 Feb, 2019 5 commits
-
-
juga authored
-
juga authored
-
juga authored
Instead, return the reason why the circuit could not be built, as other errors do.
-
juga authored
There is no any case in our code where path is an integer. Remove asserts, check only the lenght of the circuit and check it in a more logical way.
-
juga authored
It is observed that when the circuit can not be built the first time, consecutive attemps will also fail. The relay will be measured anyway in the next iteration. This will also speed up the scanner. There is no need to remove the 3 attemps in Destination. _perform_usability_test, since the method will be removed in #28897. Fixes bug #29295. Bugfix v0.1.0.
-
- 04 Feb, 2019 12 commits
-
-
juga authored
-
juga authored
that depends on the HTTP request timeout.
-
juga authored
since the relay might start being measured some time after apply_async is called if there're not available threads.
-
juga authored
-
juga authored
so that the objects that manage the threads can be stop at any time.
-
juga authored
-
juga authored
when worker thread finish.
-
juga authored
-
juga authored
-
juga authored
instead of assigning it to the ResultDump object.
-
juga authored
-
- 23 Jan, 2019 1 commit
-
-
juga authored
-
- 22 Jan, 2019 6 commits
-
-
juga authored
-
juga authored
-
juga authored
After several iterations, the number of relays that are prioritized is high, this log prints so many lines.
-
juga authored
result.freshness_reduction_factor are hard-coded values, no need to assert.
-
juga authored
-
juga authored
Not all the relays in the network are returned by this method, but a fraction of them. Create an argument to allow to change this default behaviour to return all the relays in the network.
-