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
4acff9983c
Begin the Broker sub-README page
2016-02-11 21:39:24 -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
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
a915758275
add Dependencies section / updates to README
2016-02-01 14:14:52 -08:00
Serene Han
678cf454cd
s/MeekChannel/BrokerChannel ( close #14 ) and more informative TODOs
2016-01-31 21:51:21 -08:00
Serene Han
1cdf6a435c
CORS preflight func, and consts
2016-01-29 09:09:37 -08:00
Serene Han
a6f6284229
Separate broker HTTP and snowflake heap go files
2016-01-29 08:56:36 -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
335925dcc8
add CONTRIBUTING.md
2016-01-27 11:22:24 -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
Arlo Breault
133f657928
Test on Travis
...
* Closes #10
2016-01-21 15:42:16 -08:00
Arlo Breault
2680343790
Fix broker test
2016-01-21 14:59:02 -08:00
Serene Han
c0b6383f26
Automatic 100% bootstrap using meek-signaling broker works.
...
Minimum viable webrtc pt now exists.
(close #1 )
2016-01-21 14:00:39 -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
Serene Han
f2d8a749f4
Also skip creating named pipe if --meek is enabled, and output a more useful waiting message if pipe is expected
2016-01-20 15:51:22 -08:00
Arlo Breault
5c166f5015
s/facilitator/broker/
2016-01-19 21:52:03 -08:00
Arlo Breault
0abb3bd856
Skip creating the named pipe on the client if we're using http signaling
...
* Blocks waiting on the open for write (`cat > signal`), at least for me.
2016-01-19 21:44:23 -08:00
Serene Han
62e6704d1f
rename rendezvous to broker
2016-01-19 18:09:06 -08:00
Serene Han
5e9b23de9e
consolidate RequestInfo into MeekChannel with a simplified Negotiate method
2016-01-19 18:06:40 -08:00
Serene Han
b4a07c4192
add --meek flag to client to toggle the domain fronted rendezvous
2016-01-19 17:21:10 -08:00
Arlo Breault
dcb901e408
Use chan struct{} instead
...
* Similar to a77ae6b771
.
2016-01-19 13:41:19 -08:00
Serene Han
e4e068640f
begin appengine rendezvous component - domain fronting works,
...
although it just reflects the offer.
next step is to retrieve browser proxy answer (#1 )
2016-01-19 13:24:57 -08:00
David Fifield
ff5d23b08c
Simpler instructions now for connecting directly to WebRTC server.
2016-01-18 23:07:22 -08:00
David Fifield
5279e32e3e
Remove the default -http option from server/torrc.
...
We'll ask people to insert it manually if they want to test that way.
2016-01-18 23:03:42 -08:00
David Fifield
e0b36d2f33
Do simple HTTP POST signaling in the client.
...
This is just enough to be compatible with the HTTP signaling in the
server, and doesn't do domain fronting or anything like that. It's just
an interim replacement for the copy-paste FIFO signaling while we
continue to develop the other pieces that'll be dropped in the middle.
2016-01-18 22:53:22 -08:00
David Fifield
c9eeff6fc2
Remove unused notImplemented error.
2016-01-18 22:39:18 -08:00
David Fifield
ff7cc926f7
Add an HTTP signaling receiver in the server.
...
This is a stand-in for some kind of faciliator that is separate from the
server transport plugin.
2016-01-18 21:30:31 -08:00
David Fifield
ac8669b38f
Refactor signal receiving in server.
...
There's one FIFO reader goroutine instead of one per bindaddr.
makePeerConnectionFromOffer gives you a PeerConnection with an answer
and also sets up callbacks to pass a webRTCConn to datachannelHandler
when ready.
2016-01-18 21:13:08 -08:00
David Fifield
a77ae6b771
Use chan struct{} instead of chan bool in openChan.
...
http://dave.cheney.net/2014/03/25/the-empty-struct
"...there is one important practical use of empty structs, and that is
the chan struct{} construct used for signaling between go routines"
2016-01-18 03:04:39 -08:00
David Fifield
48db4ac132
Log errors from main.
2016-01-17 23:22:23 -08:00
David Fifield
726ad2bfb9
Make logging in server match client (no payloads).
2016-01-16 09:37:27 -08:00
Serene Han
b4934f3979
begin meek-webrtc signalling channel for client (issue #1 )
2016-01-15 11:43:15 -08:00
Serene Han
bc1e147ca2
use coffeelint
2016-01-15 08:47:06 -08:00