1. 21 Jun, 2022 1 commit
  2. 25 May, 2022 1 commit
  3. 24 May, 2022 1 commit
  4. 26 Jan, 2022 1 commit
    • juga's avatar
      Take as exit candidates the maximum potential exits · 31c6679b
      juga authored
      Instead of start taking as exit candidates de relays with exit policy
      and later filter them those relays that have also EXIT flag, take
      either the set of relays with EXIT flag or exit policy, whatever is
      greater and later restrict that set depending on the module and/or
      parameters.
      Also add debug logging lines to show which relays are being selected
      and when.
      
      Closes #35.
      31c6679b
  5. 10 May, 2021 1 commit
  6. 08 May, 2021 1 commit
  7. 24 Feb, 2021 1 commit
  8. 02 Feb, 2021 1 commit
  9. 23 Nov, 2020 2 commits
  10. 20 Nov, 2020 1 commit
    • Kushal Das's avatar
      Adds initial Python3 support · 4d678bc0
      Kushal Das authored
      All default modules are now in Python3
      Uses PySocks module for the actual Socks support.
      
      One now can do DNS query over the proxy using
      `resolve()` method.
      
      ```
      t = torsockets.torsocket()
      print(t.resolve("torproject.org"))
      ```
      
      This commit also fixes a few typos in the torsocks.py file based
      on the review feedback.
      4d678bc0
  11. 30 Sep, 2019 1 commit
  12. 31 May, 2019 7 commits
  13. 21 Dec, 2018 1 commit
  14. 24 Oct, 2017 1 commit
    • Gunes Acar's avatar
      Fix Cloudflare CAPTCHA test. · 08977036
      Gunes Acar authored and Philipp Winter's avatar Philipp Winter committed
      Update Cloudflare CAPTCHA signature, it looks like they started to
      use `Cloudflare` instead of `CloudFlare`.
      
      Update user agent header to match that of current stable Tor Browser.
      Interestingly, I stopped getting CAPTCHAS after updating the UA string.
      
      Add missing `Upgrade-Insecure-Requests` header.
      
      Update `Accept-Encoding` header.
      08977036
  15. 23 Oct, 2017 1 commit
  16. 20 Oct, 2017 1 commit
  17. 15 Oct, 2017 1 commit
  18. 04 Aug, 2017 1 commit
    • Philipp Winter's avatar
      Remove wikileaks.org from domain list. · 65dd488a
      Philipp Winter authored
      It looks like WikiLeaks' DNS servers no longer give you all IPv4 records
      in a single DNS response, meaning that we end up with a lot of false
      positives in a scan.  It's better to just get rid of the domain.
      65dd488a
  19. 08 Jul, 2017 2 commits
  20. 07 Jul, 2017 3 commits
  21. 19 Mar, 2017 2 commits
    • Ubuntu's avatar
      Fix broken test · 9e525da3
      Ubuntu authored and Philipp Winter's avatar Philipp Winter committed
      Executing the file is throwing an error "ValueError: Too many values to unpack".
      This error is occurring because pyflakes is also returning the exact code where the error has occurred.
      9e525da3
    • Ubuntu's avatar
      Fix Pep8 violations. · 794bd00b
      Ubuntu authored and Philipp Winter's avatar Philipp Winter committed
      794bd00b
  22. 22 Nov, 2016 2 commits
    • Philipp Winter's avatar
      Delete unnecessary files. · 2b6d6587
      Philipp Winter authored
      2b6d6587
    • Philipp Winter's avatar
      Don't catch exceptions. · fbb70401
      Philipp Winter authored
      If we catch all exceptions inside get_relays_in_country(), we cannot
      test the function properly.  In particular, we are unable to distinguish
      Onionoo failure from the function's failure.  Handling the exceptions in
      the calling function fixes this.
      fbb70401
  23. 21 Nov, 2016 1 commit
  24. 15 Oct, 2016 1 commit
  25. 02 Sep, 2016 1 commit
  26. 14 Aug, 2016 2 commits
  27. 21 Apr, 2016 1 commit
    • Philipp Winter's avatar
      Refactor logging and enable logging to file. · 52ac9c18
      Philipp Winter authored
      This commit adds the command line options "-o" and "--logfile" that
      enable logging to file.  This functionality required minor restructuring
      that led to a simplification of the logging code.  In particular:
      
      - We get rid of log.py because it was never really necessary.
      
      - We use named loggers, so it's easier to figure out what module logged
        a given message.
      
      - We rename our logging object from "logger" to "log" to make the code
        more readable.
      
      - The restructuring means that we now also get to see Stem's logging
        messages.
      52ac9c18