mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
The client opts into turbotunnel mode by sending a magic token at the beginning of each WebSocket connection (before sending even the ClientID). The token is just a random byte string I generated. The server peeks at the token and, if it matches, uses turbotunnel mode. Otherwise, it unreads the token and continues in the old one-session-per-WebSocket mode. |
||
---|---|---|
.. | ||
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.