1. 07 Jan, 2021 1 commit
  2. 13 Dec, 2020 1 commit
  3. 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.
      f82ea6a6
  4. 28 Feb, 2019 1 commit
  5. 09 Jan, 2019 1 commit
  6. 09 Dec, 2018 1 commit
  7. 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.
      8cd30a30
  8. 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.
      ffb625ed
  9. 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.
      e0532a96
  10. 28 Aug, 2018 1 commit
  11. 03 Aug, 2018 3 commits
  12. 02 Aug, 2018 3 commits
  13. 23 Jul, 2018 1 commit
  14. 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
      38799a01
  15. 10 Jul, 2018 3 commits
  16. 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
      d111af98
    • Matt Traudt's avatar
      Remove unused config option log_filepath · fa105e14
      Matt Traudt authored and juga's avatar juga committed
      fa105e14
    • 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.
      7db1887f
    • Matt Traudt's avatar
      Add [logging] section to config and validate it · f3a487bd
      Matt Traudt authored and juga's avatar juga committed
      f3a487bd
  17. 20 Jun, 2018 1 commit
  18. 19 Jun, 2018 1 commit
  19. 18 Jun, 2018 1 commit
  20. 14 Jun, 2018 1 commit
  21. 06 Jun, 2018 1 commit
  22. 03 Jun, 2018 1 commit
  23. 16 May, 2018 5 commits
  24. 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.
      41c4e037
  25. 09 May, 2018 2 commits
  26. 08 May, 2018 1 commit