Commit graph

58 commits

Author SHA1 Message Date
Arlo Breault
25dac378ee Move init into its own file 2019-05-08 11:23:49 -04:00
Arlo Breault
622005c79e Remove copy/paste signalling 2019-05-08 11:21:56 -04:00
David Fifield
debe9c3748 Bug 28727: remove "broker" and "relay" query string parameters.
These could be misused to cause Snowflake proxies to attempt connect to
unsuspecting third parties.
https://bugs.torproject.org/28727
2018-12-05 13:35:03 -07:00
David Fifield
947636ae81 Change to standalone broker.
https://snowflake-reg-test.appspot.com/ for the client (needs domain fronting)
https://snowflake-broker.bamsoftware.com/ for the proxies (no fronting)

Note that fronting to App Engine doesn't currently actually work because
of https://bugs.torproject.org/25804; this commit doesn't change that.
2018-04-16 10:24:00 -07:00
Serene H
9f2e9a6ecb disable for TBB user agents. closes #37 2017-03-01 19:09:24 -08:00
Serene H
6d2b0ac420 move disable check to snowflakeIsDisabled 2017-03-01 18:51:24 -08:00
Serene H
3fe10f3e7c default to wss and some documentation updates, #40 2017-02-28 22:46:39 -08:00
Arlo Breault
d1ec51bfb9 Remove unused clientAddr from ProxyPair 2017-01-23 12:34:08 -08:00
Arlo Breault
5212eda6b2 Fix logging inactive to ui 2017-01-23 12:01:23 -08:00
Arlo Breault
3516599bae Fix lint complaints 2017-01-18 17:23:18 -08:00
Serene H
58d2854bbd implement snowflake-allow cookie check, messaging for when cookies disabled in options page. close #21 2017-01-02 14:43:45 -08:00
Arlo Breault
e295556254 Standalone snowflake
* Start of #30
2016-12-20 10:36:42 -08:00
Arlo Breault
c8c5d56b73 Remove deprecated callbacks 2016-12-20 10:35:08 -08:00
Arlo Breault
1d193a38a3 Use logger instead 2016-12-20 08:21:41 -08:00
Serene H
47e1338290 initial client roundtrip estimate on broker 2016-09-20 06:28:11 -07:00
Serene Han
6a8c88fe64 fix proxy createAnswer error handling for updated WebRTC syntax 2016-05-02 11:10:52 -07:00
Arlo Breault
d567e2312f Feature detect with Modernizr
* A start on #34
2016-04-05 10:30:45 -07:00
David Fifield
57c0724491 Use 192.81.135.242:9902 as the default relay.
This is the relay that reports using the transport name "snowflake".
https://bugs.torproject.org/18627
2016-03-27 12:49:20 -07:00
Arlo Breault
cf1b0a49f1 Close connections before unloading
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]
2016-03-18 14:22:34 -07:00
Arlo Breault
2ac12c5b8d Fix receiving cp/paste offer 2016-03-18 13:11:45 -07:00
Arlo Breault
df2ea126c8 Fix input handler 2016-03-18 11:58:01 -07:00
Serene Han
afd814773a snowflake proxy continues to poll broker until at capacity (#11) 2016-03-17 15:57:38 -07:00
Serene Han
490b8b33b7 better checks on receiveOffer (#11) 2016-03-15 20:13:39 -07:00
Serene Han
b1e76420bd per-proxypair Snowflake ID generation instead of just one for the Broker (#11) 2016-03-14 22:12:52 -07:00
Serene Han
3339b9f172 simplify proxypair relay onclose 2016-03-13 23:25:47 -07:00
Serene Han
5e318b6219 prepare for multiplexed snowflake (#11) 2016-03-12 22:29:56 -08:00
Serene Han
39be8403a4 provide 'silent' param on snowflake proxy to disable confirmation dialog 2016-03-07 22:58:23 -08:00
Serene Han
d2e61e315c confirmation dialog on proxy close (close #23) 2016-03-02 05:45:27 -08:00
Serene Han
547cb9690a more jasmine specs for proxypair, ui, and snowflake coffee files 2016-02-07 08:35:01 -08:00
Serene Han
e0081ea954 Fix ui.coffee debug mode message log 2016-02-06 17:28:23 -08:00
Serene Han
e38bed8be3 convert all coffeescript tests to jasmine 2016-02-04 14:57:12 -08:00
Serene Han
10d24accad fix travis test and remove unused badge member 2016-02-03 21:51:28 -08:00
Serene Han
21c38a04ce Snowflake badge works, and animates when serving client (issue #16) and some logging cleanups 2016-02-03 21:37:21 -08:00
Serene Han
caba2cc8f8 Move all DOM related stuff into ui.coffee 2016-02-03 20:59:13 -08:00
Serene Han
7677707249 Begin embeddable snowflake badge (issue #16) 2016-02-03 20:28:31 -08:00
Serene Han
30bfeb247e Status bar for the snowflake console, instead of cluttered log messages during
polling
2016-01-28 15:21:30 -08:00
Arlo Breault
cb505b6202 Enforce cake linting in CI 2016-01-27 22:10:02 -08:00
Serene Han
e1f6c7fc5d snowflake reset works correctly without copy paste condition,
and use default broker poll interval of 5s
2016-01-25 10:23:24 -08:00
Serene Han
0301ff1879 Query string params available in the snowflake proxy for manual mode, broker url, and target relay address 2016-01-23 09:27:26 -08:00
Serene Han
77fbfe0e66 Snowflake proxy successfully reset and bootstrap a new client (#15) 2016-01-22 12:22:09 -08:00
Serene Han
c9013b2f80 answer successfully roundtripped back from snowflake proxy through broker to client (#1) 2016-01-21 13:02:46 -08:00
Serene Han
7081e6328c broker successfully passing client offers to snowflake proxy (#1) 2016-01-21 11:40:46 -08:00
Serene Han
0cd6852ad0 broker tracking a heap of snowflakes 2016-01-21 10:44:14 -08:00
Serene Han
28e557fb43 Initial broker registration of browser proxies
- broker.coffee contains the xhr stuff
- COR enabled on the go broker
- POST body reflection works
2016-01-20 17:23:47 -08:00
Arlo Breault
5c166f5015 s/facilitator/broker/ 2016-01-19 21:52:03 -08:00
Serene Han
bc1e147ca2 use coffeelint 2016-01-15 08:47:06 -08:00
Serene Han
fa9f58c9ab split and organize coffee files, improve Cake build tasks 2016-01-14 16:28:32 -08:00
Serene Han
e433af26f8 snowflake terminal turns green when connected 2016-01-14 15:38:46 -08:00
Serene Han
487dfe697a convert rest of address spec tests, ProxyPair test, and move parse functions into Parse container 2016-01-13 10:50:50 -08:00
Serene Han
75ac969fc7 more functional rate limiting 2016-01-13 10:14:38 -08:00