1. 12 Jan, 2021 1 commit
  2. 17 Dec, 2020 1 commit
  3. 16 Dec, 2020 1 commit
  4. 05 Dec, 2020 3 commits
  5. 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.
      114df695
  6. 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
      5efcde51
  7. 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.
      665d76c5
  8. 20 Nov, 2020 2 commits
  9. 18 Nov, 2020 2 commits
  10. 06 Nov, 2020 1 commit
  11. 05 Nov, 2020 2 commits
  12. 29 Oct, 2020 3 commits
  13. 23 Oct, 2020 1 commit
  14. 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.
      6baa3c4d
  15. 05 Oct, 2020 1 commit
  16. 21 Sep, 2020 1 commit
  17. 27 Aug, 2020 3 commits
  18. 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.
      3c331750
  19. 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.
      d5ae7562
  20. 24 Jul, 2020 1 commit
  21. 23 Jul, 2020 1 commit
  22. 14 Jul, 2020 3 commits
  23. 09 Jul, 2020 1 commit
  24. 06 Jul, 2020 5 commits
  25. 19 Jun, 2020 1 commit