1. 25 Jan, 2021 1 commit
    • Cecylia Bocovich's avatar
      Bump version of pion/sdp · 1b29ad7d
      Cecylia Bocovich authored
      Update our dependency on pion/sdp from v2 to v3, to match pion/webrtc
      v3. This requires some changes in how we parse out addresses from ice
      candidates. This will ease tor browser builds of snowflake since we are
      now only relying on one version of pion/sdp instead of two different
  2. 12 Jan, 2021 1 commit
  3. 17 Dec, 2020 1 commit
  4. 16 Dec, 2020 1 commit
  5. 05 Dec, 2020 3 commits
  6. 04 Dec, 2020 1 commit
    • Cecylia Bocovich's avatar
      Create new smux session for each SOCKS connection · 114df695
      Cecylia Bocovich authored
      Each SOCKS connection has its own set of snowflakes and broker poll
      loop. Since the session manager was tied to a single set of snowflakes,
      this resulted in a bug where RedialPacketConn would sometimes try to
      pull snowflakes from a previously melted pool. The fix is to maintain
      separate smux sessions for each SOCKS connection, tied to its own
      snowflake pool.
  7. 27 Nov, 2020 1 commit
    • Philipp Winter's avatar
      Sort snowflake-ips stats by country count. · 5efcde51
      Philipp Winter authored
      We currently don't sort the snowflake-ips metrics:
          snowflake-ips CA=1,DE=1,AR=1,NL=1,FR=1,GB=2,US=4,CH=1
      To facilitate eyeballing our metrics, this patch sorts snowflake-ips by
      value.  If the value is identical, we sort by string, i.e.:
          snowflake-ips US=4,GB=2,AR=1,CA=1,CH=1,DE=1,FR=1,NL=1
      This patch fixes #40011
  8. 23 Nov, 2020 1 commit
    • Cecylia Bocovich's avatar
      Remove for loop around broker.Negotiate · 665d76c5
      Cecylia Bocovich authored
      Instead of continuously polling the broker until the client receives a
      snowflake, fail back to the Connect() loop and try again to collect more
      peers after ReconnectTimeout.
  9. 20 Nov, 2020 2 commits
  10. 18 Nov, 2020 2 commits
  11. 06 Nov, 2020 1 commit
  12. 05 Nov, 2020 2 commits
  13. 29 Oct, 2020 3 commits
  14. 23 Oct, 2020 1 commit
  15. 15 Oct, 2020 1 commit
    • Cecylia Bocovich's avatar
      Add synchronization to prevent post-melt collects · 6baa3c4d
      Cecylia Bocovich authored
      This fixes a race condition in which snowflakes.End() is called while
      snowflakes.Collect() is in progress resulting in a write to a closed
      channel. We now wait for all in-progress collections to finish and add
      an extra check before proceeding with a collection.
  16. 05 Oct, 2020 1 commit
  17. 21 Sep, 2020 1 commit
  18. 27 Aug, 2020 3 commits
  19. 24 Aug, 2020 1 commit
    • Cecylia Bocovich's avatar
      Update broker stats to include info on NAT types · 3c331750
      Cecylia Bocovich authored
      As we now partition proxies by NAT type, our stats are more useful if they
      capture how many proxies of each type we have, and information on
      whether we have enough proxies of the right NAT type for our clients.
      This change adds proxy counts by NAT type and binned counts of denied clients by NAT type.
  20. 30 Jul, 2020 1 commit
    • Cecylia Bocovich's avatar
      Add response header timeouts to broker transports · d5ae7562
      Cecylia Bocovich authored
      The client and proxy use the net/http default transport to make round
      trip connecitons to the broker. These by default don't time out and can
      wait indefinitely for the broker to respond if the broker hangs and
      doesn't terminate the connection.
  21. 24 Jul, 2020 1 commit
  22. 23 Jul, 2020 1 commit
  23. 14 Jul, 2020 3 commits
  24. 09 Jul, 2020 1 commit
  25. 06 Jul, 2020 5 commits