snowflake/client
David Fifield 5ff75e1034 Remove erroneous logging around pt.*Error calls.
These functions are called for their side effect of sending a PT error
message on stdout; they also return a representation of the error
message as an error object for the caller to use if it wishes. These
functions *always* return a non-nil error object; it is not something to
be logged, any more than the return value of errors.New is.

The mistaken logging was added in
https://bugs.torproject.org/31794
b26c7a7a73
3ec9dd19fa
ed3d42e1ec
2020-01-20 23:57:31 -07:00
..
lib Touched up snowflake client tests 2019-12-06 11:30:34 -05:00
client_test.go Touched up snowflake client tests 2019-12-06 11:30:34 -05:00
README.md Remove copy/paste signalling 2019-05-08 11:21:56 -04:00
snowflake.go Remove erroneous logging around pt.*Error calls. 2020-01-20 23:57:31 -07:00
torrc Switch to an Azure domain front. 2018-04-30 09:52:38 -07:00
torrc-localhost Add context to HTTP handlers, attempt to support localhost Broker. 2016-02-12 18:00:36 -08: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.