1. 25 Jun, 2020 1 commit
    • juga's avatar
      fix: v3bwfile: Take all measurements when IP changes · f82ea6a6
      juga authored
      Previously, when a relay changes IP, only the measurements with the
      last IP were considered.
      Relays with dynamic IP could get unmeasured that way.
      Now, all the measurements are considered.
      Closes: #33832. Bugfix 0.5.0.
  2. 28 Feb, 2019 1 commit
  3. 09 Jan, 2019 1 commit
  4. 09 Dec, 2018 1 commit
  5. 08 Dec, 2018 1 commit
    • juga's avatar
      config: change default logging levels and formats · 8cd30a30
      juga authored
      And document that when sbws is launched by systemd the stdandard
      output will go to journal and syslog.
      Set default level to debug when logging to file and a more
      verbose format.
      Operators don't usually want to see the debug log in the stdout
      or syslog, but they can see it in the file.
  6. 31 Oct, 2018 1 commit
    • juga's avatar
      Change runtime directory when running supervised · ffb625ed
      juga authored
      Also go back to use sbws datadir as the default location for the
      tor temporal file sockets, because when XDG_RUNTIME_DIR is not
      set, the interpolation does not happen.
  7. 26 Oct, 2018 1 commit
    • juga's avatar
      Allow 0 RTT measurements · e0532a96
      juga authored
      To speed up the scanner.
      RTT is not being used at the moment, set the default to 0.
  8. 28 Aug, 2018 1 commit
  9. 03 Aug, 2018 3 commits
  10. 02 Aug, 2018 3 commits
  11. 23 Jul, 2018 1 commit
  12. 16 Jul, 2018 1 commit
    • Matt Traudt's avatar
      Put scanner start time in state file ... · 38799a01
      Matt Traudt authored
      - Remove started_at file in config et al.
      - Add state_fname to config et al.
      - Remove read/write functions for the started_at file in scanner.py
        and genearte.py
  13. 10 Jul, 2018 3 commits
  14. 05 Jul, 2018 4 commits
    • Matt Traudt's avatar
      Add 2 conf opts for logging to file, but not used yet · d111af98
      Matt Traudt authored and juga's avatar juga committed
    • Matt Traudt's avatar
      Remove unused config option log_filepath · fa105e14
      Matt Traudt authored and juga's avatar juga committed
    • Matt Traudt's avatar
      Logging config overhaul ... · 7db1887f
      Matt Traudt authored and juga's avatar juga committed
      User should configure logging via the [logging] section
      in their config.ini.
      User can change the log level using --log-level, or in the config
      with level, to_file_level, and to_stdout_level.
      User can change the log format in the config with format,
      to_file_format, and to_stdout_format
      An example debugging format is included as a comment in config.default.ini
      config.log.default.ini is majorly reorganized. For the most part, if
      something doesn't need to be specified in this file, it has been removed.
      For example, we don't have to specify any args to handler_to_file. The
      beginnings of syslog configuration stuff remain as comments.
      As part of configure_logging, force logging to stdout if we don't think
      we can log to file.
      Actually set some parameters to RotatingFileHandler so it rotates when
      files reach 10 MiB and keeps 100 backups.
      Each sbws command (like scanner and generate) gets its own log file. I
      did this because I didn't want 'sbws scanner' to be running 24/7 and an
      'sbws generate' call to log to the same file. That would get confusing.
    • Matt Traudt's avatar
      Add [logging] section to config and validate it · f3a487bd
      Matt Traudt authored and juga's avatar juga committed
  15. 20 Jun, 2018 1 commit
  16. 19 Jun, 2018 1 commit
  17. 18 Jun, 2018 1 commit
  18. 14 Jun, 2018 1 commit
  19. 06 Jun, 2018 1 commit
  20. 03 Jun, 2018 1 commit
  21. 16 May, 2018 5 commits
  22. 12 May, 2018 1 commit
    • Matt Traudt's avatar
      Make Requests actually timeout · 41c4e037
      Matt Traudt authored
      There was no such thing as a session.timeout, so it was being ignored.
      The timeout has to be set on each request, so add helper funcs to always
      add a timeout value.
  23. 09 May, 2018 2 commits
  24. 08 May, 2018 1 commit
  25. 03 May, 2018 2 commits