Commit graph

  • a269053ac2 Make Snowflake-specific changes to the websocket server. David Fifield 2016-03-26 12:34:47 -07:00
  • cfca47674e Build the websocket-server. David Fifield 2016-03-26 12:06:06 -07:00
  • e53705519e Add a copy of websocket-server in the server directory. David Fifield 2016-03-26 12:05:06 -07:00
  • c4cfc7f8ba Move server to server-webrtc. David Fifield 2016-03-26 11:00:20 -07:00
  • 2d871a1a4f We don't need to worry about the base64 WebSockets. David Fifield 2016-03-26 14:23:22 -07:00
  • 7248cf92f3 Add a note that you need to pass "manual" for copy-paste. David Fifield 2016-03-26 13:21:38 -07:00
  • 0fc2c8b22e Fix local web server URL (127.0.0.1 not 0.0.0.0). David Fifield 2016-03-26 13:20:48 -07:00
  • 6efb5cb8ef Typo. David Fifield 2016-03-26 10:41:38 -07:00
  • ed60c74686 Redundant close Arlo Breault 2016-03-20 08:48:49 -07:00
  • b8815627bd defer conn.Close for simplicity and remove unnecessary goroutines, improve error handling (close #12) Serene Han 2016-03-19 22:33:54 -07:00
  • 598e2a3bfb Close SocksConn when WebRTC connection is reset Arlo Breault 2016-03-18 21:29:31 -07:00
  • cf1b0a49f1 Close connections before unloading Arlo Breault 2016-03-18 14:22:34 -07:00
  • 2ac12c5b8d Fix receiving cp/paste offer Arlo Breault 2016-03-18 13:11:45 -07:00
  • df2ea126c8 Fix input handler Arlo Breault 2016-03-18 11:58:01 -07:00
  • afd814773a snowflake proxy continues to poll broker until at capacity (#11) Serene Han 2016-03-17 15:57:38 -07:00
  • 490b8b33b7 better checks on receiveOffer (#11) Serene Han 2016-03-15 20:13:39 -07:00
  • b1e76420bd per-proxypair Snowflake ID generation instead of just one for the Broker (#11) Serene Han 2016-03-14 22:12:28 -07:00
  • 422717f36f Update proxy readme for npm Arlo Breault 2016-03-14 20:46:52 -07:00
  • 9867730e34 Run client tests in travis too Arlo Breault 2016-03-14 18:16:51 -07:00
  • 3339b9f172 simplify proxypair relay onclose Serene Han 2016-03-13 22:58:11 -07:00
  • 5e318b6219 prepare for multiplexed snowflake (#11) Serene Han 2016-03-12 22:29:56 -08:00
  • 6b5a36ac84 begin FAQ section for readme Serene Han 2016-03-11 20:06:14 -08:00
  • ba7b59f80e clarify webRTCConn errorChannel and error handling Serene Han 2016-03-10 17:14:36 -08:00
  • f91b8faa0a more informative broker error messages (close #26) Serene Han 2016-03-09 14:37:29 -08:00
  • e5f284ca56 Update for go1.6 Arlo Breault 2016-03-09 13:08:36 -08:00
  • 960a136c64 retry client offers immediately instead of reset, combine sendOffer and receiveAnswer into exchangeSDP Serene Han 2016-03-08 19:37:10 -08:00
  • d61534b3a0 keep readme up to date Serene Han 2016-03-08 18:23:28 -08:00
  • 39be8403a4 provide 'silent' param on snowflake proxy to disable confirmation dialog Serene Han 2016-03-07 22:58:23 -08:00
  • 91673a4abe fix datachannel remote vs. local closing during client's peerconnection cleanup Serene Han 2016-03-06 11:40:00 -08:00
  • 9daa6c4b71 multiple arbitrary ice servers can be passed as client flag (close #24) Serene Han 2016-03-05 17:01:30 -08:00
  • 4e6bba559a provide IceServerList flag as variadic arg to webrtc Configuration (#24) Serene Han 2016-03-04 13:21:44 -08:00
  • 3ec771df01 prepare IceServerList client flag (#24) Serene Han 2016-03-03 22:51:10 -08:00
  • d2e61e315c confirmation dialog on proxy close (close #23) Serene Han 2016-03-02 05:45:27 -08:00
  • 8a8273e972 use const LogTimeInterval Serene Han 2016-02-28 13:16:12 -08:00
  • 5aae41c901 rendezvous / BrokerChannel tests for client Serene Han 2016-02-27 14:45:53 -08:00
  • 5edac195f6 move endWebRTC() mostly into webRTCConn.Close() Serene Han 2016-02-26 14:35:15 -08:00
  • f3e0abe0e1 only flush datachannel with nonzero bytes, which prevents Tor from marking the SOCKS for close (#12) Serene Han 2016-02-25 01:23:59 -08:00
  • 38999e02de update README and include TOC Serene Han 2016-02-24 07:47:17 -08:00
  • d4efe774d1 remove webRTCConn SendLoop and simplify Write without additional channel, as net.Conn is already safe Serene Han 2016-02-23 17:34:51 -08:00
  • 3a7e0ea620 simplify client handler & dialWebRTC with independent webRTCConn constructor Serene Han 2016-02-23 16:51:04 -08:00
  • f86f5b5b07 move webRTCConn into separate file Serene Han 2016-02-21 22:03:17 -08:00
  • ef5cb162c0 fix SendData channel syncing Serene Han 2016-02-21 22:00:51 -08:00
  • 26f5caf404 add ReceiveAnswer test to client Serene Han 2016-02-20 16:11:43 -08:00
  • c3ada1b545 Use a channel to safely synchronize datachannel writes, (#12) clean up ice candidate log message. still need to debug the copy loop break. Serene Han 2016-02-19 16:17:17 -08:00
  • c4215b5614 log traffic bytes only once every few seconds, along with OnMessage & datachannel.Send counts, to prevent flooded logs Serene Han 2016-02-18 14:15:22 -08:00
  • a1b7e01c54 Include answer channel as part of the webRTCConn struct (#12) Serene Han 2016-02-17 20:41:33 -08:00
  • e35687b587 Disconnections from websocket side also resets browser proxy Serene Han 2016-02-17 19:55:43 -08:00
  • 8a2e7a6041 Use reconnect timeout on client (#12) Serene Han 2016-02-17 19:53:11 -08:00
  • f205a0be59 Snowflake client now using a reconnect loop (#12) Serene Han 2016-02-17 19:19:11 -08:00
  • eb7eb04ac0 Buffer writes to DataChannel, remove blocking on openChannel (#12) Serene Han 2016-02-17 18:38:40 -08:00
  • 760dee8a0f prepare snowflake client for buffered datachannel writes, separate out dialWebRTC (#12) Serene Han 2016-02-17 17:39:09 -08:00
  • 661286894a another goconvey test for RequestOffer, fix data race in the Broker test Serene Han 2016-02-17 12:52:22 -08:00
  • 2ae6559001 move CORS early return into the ServeHTTP wrapper, rename handlers Serene Han 2016-02-16 21:00:30 -08:00
  • 791f6925ec Simplify proxy poll handler, and broker match test Serene Han 2016-02-16 20:50:00 -08:00
  • 9fd471b4c4 Update to go-webrtc HEAD Arlo Breault 2016-02-15 12:37:52 -08:00
  • 254223be0f End-to-end Goconvey test for Broker passing SDP messages between concurrent client and proxy request handlers Serene Han 2016-02-15 12:23:35 -08:00
  • ee5f4558af Second async test for Broker's proxy answer handler Serene Han 2016-02-15 11:31:57 -08:00
  • 032ab6bcb8 Async test for Broker's proxy handler Serene Han 2016-02-14 16:19:20 -08:00
  • e13b35faf3 Update travis to have goconvey Serene Han 2016-02-13 11:56:27 -08:00
  • 0e1c5a1756 Convert Broker SnowflakeHeap test to goconvey, and async test for client handler Serene Han 2016-02-13 11:47:57 -08:00
  • b04d1f67fb Add context to HTTP handlers, attempt to support localhost Broker. Seems unlikely to work due to dev_appserver single inflight request limitation Serene Han 2016-02-12 15:38:28 -08:00
  • 4acff9983c Begin the Broker sub-README page Serene Han 2016-02-11 21:39:20 -08:00
  • 6fb2e4753f Update Snowflake embed, and add info page about it (close #16) Serene Han 2016-02-10 13:54:07 -08:00
  • 4f18340c16 Complete broker spec cases Serene Han 2016-02-10 13:05:21 -08:00
  • bb9eb721e2 Fix jasmine spec for broker async request Serene Han 2016-02-09 18:13:54 -08:00
  • 548c100160 Begin spec for proxy-side broker interaction Serene Han 2016-02-08 19:26:58 -08:00
  • 547cb9690a more jasmine specs for proxypair, ui, and snowflake coffee files Serene Han 2016-02-07 08:32:41 -08:00
  • e0081ea954 Fix ui.coffee debug mode message log Serene Han 2016-02-06 17:28:23 -08:00
  • 889b3fee98 better ProxyPair jasmine specs, ensure travis using more recent npm Serene Han 2016-02-05 09:20:01 -08:00
  • e38bed8be3 convert all coffeescript tests to jasmine Serene Han 2016-02-04 14:13:03 -08:00
  • 10d24accad fix travis test and remove unused badge member Serene Han 2016-02-03 21:51:25 -08:00
  • 21c38a04ce Snowflake badge works, and animates when serving client (issue #16) and some logging cleanups Serene Han 2016-02-03 21:37:21 -08:00
  • caba2cc8f8 Move all DOM related stuff into ui.coffee Serene Han 2016-02-03 20:59:13 -08:00
  • 7677707249 Begin embeddable snowflake badge (issue #16) Serene Han 2016-02-03 20:28:31 -08:00
  • a915758275 add Dependencies section / updates to README Serene Han 2016-02-01 14:12:40 -08:00
  • 678cf454cd s/MeekChannel/BrokerChannel (close #14) and more informative TODOs Serene Han 2016-01-31 21:42:53 -08:00
  • 1cdf6a435c CORS preflight func, and consts Serene Han 2016-01-29 09:09:37 -08:00
  • a6f6284229 Separate broker HTTP and snowflake heap go files Serene Han 2016-01-29 08:56:31 -08:00
  • 30bfeb247e Status bar for the snowflake console, instead of cluttered log messages during polling Serene Han 2016-01-28 15:21:22 -08:00
  • cb505b6202 Enforce cake linting in CI Arlo Breault 2016-01-27 22:09:43 -08:00
  • 335925dcc8 add CONTRIBUTING.md Serene Han 2016-01-27 11:22:24 -08:00
  • e1f6c7fc5d snowflake reset works correctly without copy paste condition, and use default broker poll interval of 5s Serene Han 2016-01-25 10:20:20 -08:00
  • 0301ff1879 Query string params available in the snowflake proxy for manual mode, broker url, and target relay address Serene Han 2016-01-23 09:27:23 -08:00
  • 77fbfe0e66 Snowflake proxy successfully reset and bootstrap a new client (#15) Serene Han 2016-01-22 12:22:09 -08:00
  • 133f657928 Test on Travis Arlo Breault 2016-01-21 15:33:42 -08:00
  • 2680343790 Fix broker test Arlo Breault 2016-01-21 14:59:02 -08:00
  • c0b6383f26 Automatic 100% bootstrap using meek-signaling broker works. Minimum viable webrtc pt now exists. (close #1) Serene Han 2016-01-21 13:54:43 -08:00
  • c9013b2f80 answer successfully roundtripped back from snowflake proxy through broker to client (#1) Serene Han 2016-01-21 13:02:46 -08:00
  • 7081e6328c broker successfully passing client offers to snowflake proxy (#1) Serene Han 2016-01-21 11:40:42 -08:00
  • 0cd6852ad0 broker tracking a heap of snowflakes Serene Han 2016-01-21 10:44:14 -08:00
  • 28e557fb43 Initial broker registration of browser proxies - broker.coffee contains the xhr stuff - COR enabled on the go broker - POST body reflection works Serene Han 2016-01-20 16:16:20 -08:00
  • f2d8a749f4 Also skip creating named pipe if --meek is enabled, and output a more useful waiting message if pipe is expected Serene Han 2016-01-20 15:51:22 -08:00
  • 5c166f5015 s/facilitator/broker/ Arlo Breault 2016-01-19 21:52:03 -08:00
  • 0abb3bd856 Skip creating the named pipe on the client if we're using http signaling Arlo Breault 2016-01-19 21:44:23 -08:00
  • 62e6704d1f rename rendezvous to broker Serene Han 2016-01-19 18:07:59 -08:00
  • 5e9b23de9e consolidate RequestInfo into MeekChannel with a simplified Negotiate method Serene Han 2016-01-19 18:06:40 -08:00
  • b4a07c4192 add --meek flag to client to toggle the domain fronted rendezvous Serene Han 2016-01-19 17:21:07 -08:00
  • dcb901e408 Use chan struct{} instead Arlo Breault 2016-01-19 13:41:19 -08:00
  • e4e068640f begin appengine rendezvous component - domain fronting works, although it just reflects the offer. next step is to retrieve browser proxy answer (#1) Serene Han 2016-01-18 10:53:22 -08:00
  • ff5d23b08c Simpler instructions now for connecting directly to WebRTC server. David Fifield 2016-01-18 23:07:22 -08:00