Skip to content
Snippets Groups Projects
  1. Nov 05, 2021
  2. Nov 03, 2021
  3. Oct 29, 2021
    • Alexander Hansen Færøy's avatar
      Fix Windows build. · 5c8deef9
      Alexander Hansen Færøy authored
      While trying to resolve our CI issues, the Windows build broke with an
      unused function error:
      
         src/test/test_switch_id.c:37:1: error: ‘unprivileged_port_range_start’
         defined but not used [-Werror=unused-function]
      
      We solve this by moving the `#if !defined(_WIN32)` test above the
      `unprivileged_port_range_start()` function defintion such that it is
      included in its body.
      
      This is an unreviewed commit.
      
      See: tor#40275
      5c8deef9
    • David Goulet's avatar
      changes: Add file for ticket 26299 · 92fedb9f
      David Goulet authored
      
      Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
      92fedb9f
  4. Oct 28, 2021
  5. Oct 26, 2021
  6. Oct 21, 2021
  7. Oct 20, 2021
  8. Oct 19, 2021
  9. Sep 30, 2021
  10. Sep 13, 2021
    • Alexander Hansen Færøy's avatar
      Only check for bindable ports if we are unsure if it will fail. · fcef8e3f
      Alexander Hansen Færøy authored
      We currently assume that the only way for Tor to listen on ports in the
      privileged port range (1 to 1023), on Linux, is if we are granted the
      NET_BIND_SERVICE capability. Today on Linux, it's possible to specify
      the beginning of the unprivileged port range using a sysctl
      configuration option. Docker (and thus the CI service Tor uses) recently
      changed this sysctl value to 0, which causes our tests to fail as they
      assume that we should NOT be able to bind to a privileged port *without*
      the NET_BIND_SERVICE capability.
      
      In this patch, we read the value of the sysctl value via the /proc/sys/
      filesystem iff it's present, otherwise we assume the default
      unprivileged port range begins at port 1024.
      
      See: tor#40275
      fcef8e3f
    • Alexander Hansen Færøy's avatar
    • Alexander Hansen Færøy's avatar
      Force amd64 for CI builds. · 84d6f977
      Alexander Hansen Færøy authored
      84d6f977
  11. Aug 16, 2021
  12. Aug 13, 2021
  13. Aug 12, 2021
  14. Aug 11, 2021
  15. Jun 14, 2021
Loading