1. 08 Sep, 2022 2 commits
  2. 07 Sep, 2022 2 commits
  3. 06 Sep, 2022 7 commits
  4. 23 Aug, 2022 2 commits
    • juga's avatar
      new: scanner: do HTTP POST requests instead of GET · 602b1a62
      juga authored
      when the consensus parameter `bwscanner` is 2.
      "Using upload instead of download allows the congestion control
      algorithms to be under control of the sbws Tor client, instead of the
      Exit relay. This means that sbws can know when `slow start` has exited."
      This is the 1st optimization for #40130
      The testing HTTP server has been replaced by the one implemented in
      onbasca just cause a first try on implementing `do_POST` was
      successful only for the 1st sbws request. It only implemnts POST RFC
      Co-authored-by: Georg Koppen's avatarGeorg Koppen <gk@torproject.org>
    • juga's avatar
      chg: resultdump: Catch exceptions writing result. · 18ea0803
      juga authored
      So that the `resultdump` threat can continue even if there's an
      exception and the operator gets notified about the error.
      There is no need to restart sbws after solving the filesystem issue
      that caused the exception.
      Close #40143
  5. 25 May, 2022 1 commit
    • juga's avatar
      fix: Remove unneded arg · 0be4ad1e
      juga authored
      past to method `only_relays_with_bandwidth` and it's declaration was
      recently changed.
      Also fix typo.
      Closes #40140.
  6. 19 May, 2022 1 commit
  7. 17 May, 2022 2 commits
    • juga's avatar
      fix: doc: changelog identation and new lines · 6fbdfeca
      juga authored
    • juga's avatar
      chg: When an exit fail to exit, check CC · dc06bbdc
      juga authored
      before selecting other exits as helpers.
      In #40136 we forgot to consider the corner case in #40041, discovered
      thanks to analysis#36.
      This was causing that sometimes a CC circuit was built when
      bwscanner_cc wasn't equal or greater than 1 or the other way around.
      We didn't realize about this cause this part of the code is very
      confusing. To don't make it even more confusing, i've changed the
      internal API:
      - `select_helper_candidates`: split funtion into one to select the
        helper candidates, knowing whether to use the relay as exit or not
        and other function `use_relay_as_entry` to decide whether to use the
        relay as entry or not checking CC params.
        Also pass a new arg `relay_as_entry`.
      - `create_path_relay`: rewmove not used `cb` arg, add `candidates` arg
        to stop having to select them again later on. Move the no
        `candidates` condition here instead of checking it in
      - `_pick_ideal_second_hope: remove unneded `dest` and `cont arguments,
        rename `is_exit` to `helper_is_exit`. Use the candidates instead of
        selecting them again.
      - `measure_relay`: in the case an exit fails to exit, select the
        candidates knowing that they have to be exits and checking CC.
      - `only_relays_with_bandwidth`: remove unneded arg `controller` so
        that there is no need to pass it through several functions.
      Closes #40138
  8. 16 May, 2022 1 commit
  9. 12 May, 2022 2 commits
  10. 10 May, 2022 1 commit
  11. 02 May, 2022 1 commit
  12. 26 Apr, 2022 2 commits
  13. 19 Apr, 2022 1 commit
  14. 30 Mar, 2022 1 commit
  15. 25 Feb, 2022 2 commits
  16. 09 Feb, 2022 8 commits
  17. 04 Feb, 2022 1 commit
  18. 03 Feb, 2022 1 commit
  19. 28 Jan, 2022 2 commits