snowflake/client
Simone Basso ed2d5df87d Fix datarace for WebRTCPeer.lastReceive
The race condition occurs because concurrent goroutines are
intermixing reads and writes of `WebRTCPeer.lastReceive`.

Spotted when integrating Snowflake inside OONI in
https://github.com/ooni/probe-cli/pull/373.
2021-06-24 11:16:24 -04:00
..
lib Fix datarace for WebRTCPeer.lastReceive 2021-06-24 11:16:24 -04:00
README.md Remove copy/paste signalling 2019-05-08 11:21:56 -04:00
snowflake.go fix(client/snowflake.go): prevent wg.Add race condition 2021-06-14 10:10:02 +02:00
torrc Switch front domain and host to fastly 2021-04-01 11:56:52 -04:00
torrc-localhost Change dummy address for snowflake 2020-04-01 12:55:37 -04:00

This is the Tor client component of Snowflake.

It is based on goptlib.

Flags

The client uses these following torrc options by default:

ClientTransportPlugin snowflake exec ./client \
-url https://snowflake-broker.azureedge.net/ \
-front ajax.aspnetcdn.com \
-ice stun:stun.l.google.com:19302

-url should be the URL of a Broker instance.

-front is an optional front domain for the Broker request.

-ice is a comma-separated list of ICE servers. These can be STUN or TURN servers.