Commit graph

68 commits

Author SHA1 Message Date
Serene Han
760dee8a0f prepare snowflake client for buffered datachannel writes, separate out dialWebRTC (#12) 2016-02-17 17:42:00 -08:00
Arlo Breault
9fd471b4c4 Update to go-webrtc HEAD 2016-02-15 12:37: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
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
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
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
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
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
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
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
Serene Han
b4934f3979 begin meek-webrtc signalling channel for client (issue #1) 2016-01-15 11:43:15 -08:00
Serene Han
fb304c673c README update and go fmt 2016-01-14 16:40:28 -08:00
Serene Han
30e7ba79ae shutdown webrtc on interrupt in go client 2016-01-14 15:22:15 -08:00
David Fifield
c519813cf7 Keep quoted log messages ASCII. 2016-01-09 19:24:05 -08:00
Arlo Breault
da563bc913 Separate client / server 2016-01-07 09:26:02 -08:00
Renamed from snowflake.go (Browse further)