1. 08 Mar, 2019 7 commits
  2. 07 Mar, 2019 2 commits
  3. 05 Mar, 2019 1 commit
    • juga  's avatar
      fix: !minor. Catch SocketClosed when stopping · 315215dc
      juga authored
      When SocketClosed is raised and the scanner is stopping, catch the
      exception.
      In #28869 similar exceptions were catched, but this was forgotten.
      
      Bugfix v0.6.0.
      315215dc
  4. 28 Feb, 2019 3 commits
  5. 27 Feb, 2019 1 commit
  6. 26 Feb, 2019 3 commits
    • juga  's avatar
      destination: remove unused code · 883307ba
      juga authored
      883307ba
    • juga  's avatar
      destination: record consecutive failures · 84e5d82c
      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.
      84e5d82c
    • juga  's avatar
      destination: stop running twice usability tests · d33ac8f6
      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
      d33ac8f6
  7. 16 Feb, 2019 1 commit
  8. 06 Feb, 2019 5 commits
  9. 04 Feb, 2019 1 commit
  10. 22 Jan, 2019 6 commits
  11. 08 Jan, 2019 2 commits
  12. 21 Dec, 2018 1 commit
    • juga  's avatar
      generate: use round_digs variable name in methods · c57ba63e
      juga authored
      The torflow-round-digs cli argument was kept, but it was added
      other argument, round-digs, for the same option.
      argparse takes the first argument as the variable name, but the
      methods where still using torflow_round_digs.
      
      Closes bug #28602. Bugfix 1.0.3-dev0.
      c57ba63e
  13. 18 Dec, 2018 2 commits
    • juga  's avatar
      relayprioritizer: Stop prioritizing relays that tend to fail · 96c71880
      juga authored
      Because unstable relays that often fail to be measured, might fail
      again and stable relays will get measured only when their
      measurements become old enough.
      Leave the possibility to still prioritize the relays that failed
      to be measured by having a function argument that defaults to
      False.
      Rephrase docstring to reflect this situation.
      
      Fixes bug #28868. Bugfix v0.1.0
      96c71880
    • juga  's avatar
      relaylist: remove assertions that fail measurement · ac9406a6
      juga authored
      When the descriptor or network status of a relay was not obtained,
      some attributes can't be obtained it can be return None instead
      of failing the measurement.
      Also, there's no need for hasattr when getattr can just return
      None as default.
      
      Closes #28870. Bugfix v0.4.0
      ac9406a6
  14. 14 Dec, 2018 1 commit
  15. 12 Dec, 2018 1 commit
  16. 09 Dec, 2018 3 commits