mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Formerly, preparePeerConnection set up a callback that sent into a channel, and exchangeSDP waited until it could receive from the channel. We can move the channel entirely into preparePeerConnection (having it not return until the callback has been called) and that way remove some shared state. |
||
---|---|---|
.. | ||
lib | ||
client_test.go | ||
README.md | ||
snowflake.go | ||
torrc | ||
torrc-localhost |
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.