1. 26 Feb, 2019 1 commit
    • 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
  2. 25 Feb, 2019 2 commits
  3. 23 Jan, 2019 1 commit
  4. 14 Dec, 2018 1 commit
  5. 12 Dec, 2018 1 commit
  6. 08 Dec, 2018 1 commit
  7. 03 Dec, 2018 1 commit
    • juga's avatar
      globals: remove unused resolve and can_exit_to functions · bad22915
      juga authored
      They were used to resolve the IP of the destination and check
      whether an exit policy allows to exit to that IP, but when the
      destination is a CDN, the IP locally resolved would be different
      to the IP resolved in the exit, and when the IP resolved to
      IPv6, it was possible that the scanner didn't have IPv6.
      The correct method to check whether an exit policy allows to exit
      to an IP, would be to resolve the domain via Tor itself using
      RESOLVE and ADDRMAP events with that exit.
      bad22915
  8. 01 Dec, 2018 1 commit
  9. 29 Nov, 2018 1 commit
  10. 15 Nov, 2018 1 commit
  11. 08 Nov, 2018 1 commit
  12. 31 Oct, 2018 2 commits
  13. 28 Oct, 2018 1 commit
  14. 22 Oct, 2018 2 commits
  15. 16 Oct, 2018 1 commit
  16. 13 Sep, 2018 3 commits
  17. 03 Aug, 2018 2 commits
  18. 05 Jul, 2018 1 commit
  19. 20 Jun, 2018 1 commit
  20. 10 Jun, 2018 2 commits
  21. 05 Jun, 2018 3 commits
    • juga's avatar
      Check bw line size · c3f7b048
      juga authored
      also, convert types to int when generating line from str
      c3f7b048
    • juga's avatar
      Add class to manage bw files · 5372eb7d
      juga authored
      * Move logic in generate to class
      * Add test
      * Move 7500 to global constant
      * Make read_started_at not fail when conf is None
      5372eb7d
    • juga's avatar
      Fix timestamp to be the latest generator result · 055271e2
      juga authored
      Also:
      * add latest_bandwidth header
      * add file_created header
      * fix bw files header tests
      * disable tests that assume timestamp to be the file creation
      time
      * if we use ISO 8601 with T as separator,
        datetime format string is not needed
      055271e2
  22. 16 May, 2018 3 commits
  23. 03 May, 2018 2 commits
  24. 30 Apr, 2018 2 commits
  25. 27 Apr, 2018 2 commits
  26. 26 Apr, 2018 1 commit