mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Make a stack of cleanup functions to run (as with defer), but clear the stack before returning if no error occurs. Uselessly pushing the stream.Close() cleanup just before clearing the stack is an intentional safeguard, for in case additional operations are added before the return in the future. Fixes #40042. |
||
---|---|---|
.. | ||
lib | ||
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.