mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
Noticed a long delay after the window closed before the datachannel timed out. 2016/03/18 13:53:16 Traffic Bytes (in|out): 202576 | 8087 2016/03/18 13:58:10 WebRTC: DataChannel.OnClose [remotely] |
||
---|---|---|
.. | ||
lib | ||
spec | ||
static | ||
broker.coffee | ||
Cakefile | ||
coffee-snowflake.html | ||
coffeelint.json | ||
package.json | ||
proxypair.coffee | ||
README.md | ||
shims.coffee | ||
snowflake.coffee | ||
ui.coffee | ||
util.coffee | ||
websocket.coffee |
This is the browser proxy component of Snowflake.
Embedding
See keroserene.net/snowflake for more info:
<iframe src="http://keroserene.net/snowflake/embed.html" width="88" height="16" frameborder="0" scrolling="no"></iframe>
Testing
Unit testing with Jasmine are available with:
npm install
npm test
To run locally, either:
- Navigate to
proxy/build/embed.html
- For a more fully featured "debug" version,
start a webserver and navigate to
snowflake.html
.
Parameters
With no parameters,
snowflake uses the default relay 192.81.135.242:9901
and
uses automatic signaling with the default broker at
https://snowflake-reg.appspot.com/
.
Here are optional parameters to include in the query string.
manual - enables copy-paste signalling mode.
relay=<address> - use a custom target relay.
broker=<url> - use a custom broker.