mirror of
https://github.com/keroserene/snowflake.git
synced 2026-08-20 13:28:13 +02:00
This implements a pluggable transports v2.1 compatible Go API in the Snowflake client library, and refactors how the main Snowflake program calls it. The Go API implements the two required client side functions: a constructor that returns a Transport, and a Dial function for the Transport that returns a net.Conn. See the PT specification for more information: https://github.com/Pluggable-Transports/Pluggable-Transports-spec/blob/master/releases/PTSpecV2.1/Pluggable%20Transport%20Specification%20v2.1%20-%20Go%20Transport%20API.pdf |
||
|---|---|---|
| .. | ||
| 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.