Commit graph

384 commits

Author SHA1 Message Date
David Fifield
eca7ebb265 Bug 18628: Pass the client_ip parameter in the JavaScript proxy as well. 2017-10-14 15:06:36 -04:00
David Fifield
0c7ddeb1d0 Parse.ipFromSDP function. 2017-10-14 15:06:36 -04:00
David Fifield
0ccb4b7cc8 Have embed.html refresh itself once a day.
This is a hedge against any bugs that may cause the badge to hang when
left running for a long time, and it also means that badges will
effectively check for updated code once a day.
2017-07-15 14:38:01 -07:00
David Fifield
f2ee53e42e Use https links for keroserene.net. 2017-07-14 18:36:44 -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
Arlo Breault
61a2702ded Pass on exit code from spawned task so CI fails 2017-01-18 17:20:13 -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
Serene H
c6b02fdaca implement options page opt-in button, messaging and styling.
clicking the badge links to options page, and tested no-js mode #21
2017-01-02 14:23:21 -08:00
Serene H
f2bbf80c7d begin options page for proxy #21 2017-01-02 13:41:28 -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
Arlo Breault
77c41207ef Drop unmaintained coffee-snowflake.html 2016-12-20 08:21:35 -08:00
Serene H
47e1338290 initial client roundtrip estimate on broker 2016-09-20 06:28:11 -07:00
Serene H
0ae71952d2 additional proxy timeout check 2016-07-25 15:28:10 -07:00
Serene Han
361da32ecb lint proxypair 2016-05-18 13:21:01 -07:00
David Fifield
0690b0620d Make koch.jpg square and tile better.
It was wider than tall and there was a column of black pixels at the far
right.
2016-05-16 16:43:33 -07:00
Arlo Breault
81931fa8e7 Clear ws connection timeout on success/failure
* Follow up to 14fc6a13
2016-05-10 18:46:49 -07:00
Arlo Breault
064875cc29 Fix some logging 2016-05-10 17:04:03 -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
Serene Han
14fc6a13c2 timout for websocket connection failure 2016-04-05 10:29:17 -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
David Fifield
2d871a1a4f We don't need to worry about the base64 WebSockets.
That's only for very very old Firefox. Even for flash proxy it was only
relevant for a short time.
2016-03-26 14:23:22 -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
Arlo Breault
422717f36f Update proxy readme for npm 2016-03-14 20:46:52 -07:00
Arlo Breault
9867730e34 Run client tests in travis too 2016-03-14 19:38:59 -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
e35687b587 Disconnections from websocket side also resets browser proxy 2016-02-17 19:55:43 -08:00
Serene Han
b04d1f67fb Add context to HTTP handlers, attempt to support localhost Broker.
Seems unlikely to work due to dev_appserver single inflight request limitation
2016-02-12 18:00:36 -08:00
Serene Han
6fb2e4753f Update Snowflake embed, and add info page about it (close #16) 2016-02-10 14:03:13 -08:00
Serene Han
4f18340c16 Complete broker spec cases 2016-02-10 13:05:21 -08:00
Serene Han
bb9eb721e2 Fix jasmine spec for broker async request 2016-02-09 22:36:36 -08:00
Serene Han
548c100160 Begin spec for proxy-side broker interaction 2016-02-08 19:27:28 -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
889b3fee98 better ProxyPair jasmine specs, ensure travis using more recent npm 2016-02-05 12:06:37 -08:00