Commit graph

  • 2a46db2c01 Remove broker /ip endpoint. David Fifield 2017-07-15 14:34:18 -07:00
  • 827972e2bf Customize reflect.go for Snowflake broker. David Fifield 2017-07-15 12:04:59 -07:00
  • a150a991d0 Copy appengine directory from meek commit 6057a9e9d6. David Fifield 2017-07-15 11:48:28 -07:00
  • afe7716903 Replace --webPort and --tlsPort with a single --addr option. David Fifield 2017-07-14 20:29:02 -07:00
  • 2d89aa0b7b autocert (Let's Encrypt) for broker. David Fifield 2017-07-14 20:25:46 -07:00
  • 2242be7a55 Have the broker log in UTC. David Fifield 2017-07-14 20:07:50 -07:00
  • 1966612113 go fmt David Fifield 2017-07-14 20:06:00 -07:00
  • eaa82b8f9a Move flag code out of init into main. David Fifield 2017-07-14 20:00:25 -07:00
  • f2ee53e42e Use https links for keroserene.net. David Fifield 2017-07-14 18:36:44 -07:00
  • 3f4f5d2292 Server ports as parameters Hooman 2017-07-12 12:07:28 -07:00
  • edbe18d411 Fixed README.md and added cert and key options Hooman 2017-07-11 13:33:00 -07:00
  • bfea72b50e Have proxy-go log in UTC. David Fifield 2017-06-29 16:44:17 -07:00
  • b0dbf47473 Move some default config into constants at the stop. David Fifield 2017-06-29 16:11:03 -07:00
  • c2c1a9d09d Enable proxy-go to create its log file. David Fifield 2017-06-29 16:09:25 -07:00
  • faeb8da8c9 Use crypto/rand, not math/rand, to generate session IDs. David Fifield 2017-06-29 16:00:29 -07:00
  • af8a026991 Improve some error messages. David Fifield 2017-06-29 15:59:07 -07:00
  • 12922a232b Make logging optional and controlled by a -log option. David Fifield 2017-06-29 15:34:17 -07:00
  • f418ec7a85 Handle TOR_PT_EXIT_ON_STDIN_CLOSE. David Fifield 2017-06-29 15:23:40 -07:00
  • 1fa9bc051c Remove SIGINT handling (no longer part of pt-spec). David Fifield 2017-06-29 15:20:54 -07:00
  • c3f87281be Add -log option to proxy-go. David Fifield 2017-06-29 15:11:14 -07:00
  • b7df69fa55 Make Broker run standalone Hooman 2017-06-29 13:51:55 -07:00
  • 62f50b29b2 Minimal README for proxy-go. David Fifield 2017-05-04 01:18:19 -07:00
  • 4b5794c935 Golang implementation of standalone snowflake proxy yinghuocho 2017-04-24 16:16:02 -07:00
  • 61b604fc46 Merge branch 'letsencrypt' David Fifield 2017-03-30 19:13:01 -07:00
  • 9f2e9a6ecb disable for TBB user agents. closes #37 Serene H 2017-03-01 19:09:24 -08:00
  • 6d2b0ac420 move disable check to snowflakeIsDisabled Serene H 2017-03-01 18:51:24 -08:00
  • 3fe10f3e7c default to wss and some documentation updates, #40 Serene H 2017-02-28 22:46:39 -08:00
  • d1ec51bfb9 Remove unused clientAddr from ProxyPair Arlo Breault 2017-01-23 12:33:55 -08:00
  • 5212eda6b2 Fix logging inactive to ui Arlo Breault 2017-01-23 12:01:23 -08:00
  • a936fc7e9b README and documentation for server. David Fifield 2017-01-21 14:53:09 -08:00
  • 1f8be86a01 Add a DirCache for certificates under TOR_PT_STATE_LOCATION. David Fifield 2017-01-21 14:10:10 -08:00
  • b0826304a4 Make certManager a pointer and only set it when !disableTLS. David Fifield 2017-01-21 13:52:24 -08:00
  • 138d2b5391 Use websocket relay at wss://snowflake.bamsoftware.com:443. David Fifield 2017-01-20 19:16:10 -08:00
  • 1b1fb37afe Add "hostname" args to the bridge descriptor as well. David Fifield 2017-01-20 16:51:14 -08:00
  • 80acfbd8d8 Explain more in usage. David Fifield 2017-01-20 14:55:19 -08:00
  • b86bbd748d Add --acme-email option. David Fifield 2017-01-20 15:42:42 -08:00
  • 61310600c3 Automatically fetch certificates from Let's Encrypt. David Fifield 2017-01-18 19:19:26 -08:00
  • af70d49e96 Add a log messages when failing to open a listener. David Fifield 2017-01-20 17:56:17 -08:00
  • 42cdd53077 continue, not break, after SmethodError. David Fifield 2017-01-20 15:22:11 -08:00
  • 8378f85952 Remove a level of indentation in server. David Fifield 2017-01-20 10:19:25 -08:00
  • d8411816c4 Include "tls=no" or "tls=yes" in the bridge descriptor. David Fifield 2017-01-20 10:13:39 -08:00
  • aa204af6b1 Make log messages more uniform. David Fifield 2017-01-20 09:41:24 -08:00
  • 21e27d3b3c Use log.Fatalf instead of log.Printf + os.Exit in server. David Fifield 2017-01-20 09:30:00 -08:00
  • 11f3bbe3c2 go fmt in server. David Fifield 2017-01-19 16:42:29 -08:00
  • 15963688c2 Remove support for the base64 WebSocket subprotocol. David Fifield 2017-01-18 20:00:59 -08:00
  • 3e78251715 Remove the --port option from WebSocket server. David Fifield 2017-01-18 19:33:07 -08:00
  • 2a9126a158 Simplify signal handling in WebSocket server. David Fifield 2017-01-18 19:24:02 -08:00
  • 57f72ab4ff Remove unused logFile variable. David Fifield 2017-01-18 19:20:30 -08:00
  • 3516599bae Fix lint complaints Arlo Breault 2017-01-18 17:23:18 -08:00
  • 61a2702ded Pass on exit code from spawned task so CI fails Arlo Breault 2017-01-18 17:20:13 -08:00
  • 815f976355 go get websocket in CI Arlo Breault 2017-01-18 17:06:01 -08:00
  • 2fd691c490 Remove Makefile Arlo Breault 2017-01-18 16:58:16 -08:00
  • 58d2854bbd implement snowflake-allow cookie check, messaging for when cookies disabled in options page. close #21 Serene H 2017-01-02 14:43:45 -08:00
  • c6b02fdaca implement options page opt-in button, messaging and styling. clicking the badge links to options page, and tested no-js mode #21 Serene H 2017-01-02 14:08:33 -08:00
  • f2bbf80c7d begin options page for proxy #21 Serene H 2017-01-02 13:41:28 -08:00
  • e295556254 Standalone snowflake Arlo Breault 2016-12-19 20:09:46 -08:00
  • c8c5d56b73 Remove deprecated callbacks Arlo Breault 2016-12-20 10:35:08 -08:00
  • 1d193a38a3 Use logger instead Arlo Breault 2016-12-20 08:19:07 -08:00
  • 77c41207ef Drop unmaintained coffee-snowflake.html Arlo Breault 2016-12-20 08:17:11 -08:00
  • 5cd2a226aa Enable tls websockets on the server Arlo Breault 2016-12-19 14:57:46 -08:00
  • 7e9066a29d fix broker offer answer test Serene H 2016-09-20 08:52:45 -07:00
  • 47e1338290 initial client roundtrip estimate on broker Serene H 2016-09-20 06:26:21 -07:00
  • 6cecd31fd8 Log to TOR_PT_STATE_LOCATION Arlo Breault 2016-08-21 18:32:02 -07:00
  • ac9d49b872 ensure closing stale remotes from the client side Serene H 2016-08-01 12:17:28 -07:00
  • ea2e052a7d defer snowflake.Reset to fix handler recovery when localhost SOCKS occassionally fails first Serene H 2016-07-29 10:59:51 -07:00
  • 0ae71952d2 additional proxy timeout check Serene H 2016-07-25 15:28:10 -07:00
  • c1f623948b update README Serene Han 2016-06-18 15:51:14 -07:00
  • e93c38f834 client multiplexes AND recovers correctly! (close #31) - stabilize rest of WebRTCPeer - use uid for the datachannel label - store a consistent WebRTC config in the dialer Serene Han 2016-06-15 18:59:55 -07:00
  • 2bf0e5457e pull copyLoop out of goroutine, better pop and reset Serene Han 2016-06-14 17:07:21 -07:00
  • a71c98c0ae able to break out of ConnectLoop, try separate webrtcConfigs as well Serene Han 2016-06-13 15:11:55 -07:00
  • 4ca0a3aa0a improve client interface specificity and composability which eliminates much unnecessary code Serene Han 2016-06-13 11:05:26 -07:00
  • 02562ba750 copy-paste rendezvous works again, but with new interface allowing seamless recovery for the first time Serene Han 2016-06-12 12:43:24 -07:00
  • fedb124313 localize ptInfo and iceServers vars, separate copy-paste helpers, move some logging to more sensible locations Serene Han 2016-06-12 11:49:32 -07:00
  • b6f15a8d5c expose multiplex capacity as flag, un-global some more Serene Han 2016-06-12 00:20:54 -07:00
  • 2caa47988d fix Peers.Count() using activePeers list, mark for delete on Close, and remove maxedChan Serene Han 2016-06-11 23:18:38 -07:00
  • c63f5cfc0a Separate peers.go file with improved documentation and more solid interfaces Serene Han 2016-06-11 18:24:08 -07:00
  • 556596cc5a interfaces.go, SnowflakeCollector, better composition Serene Han 2016-05-24 15:18:54 -07:00
  • b2c9fcac5e webRTCConn has better seam with BytesLogger interface Serene Han 2016-05-24 12:56:09 -07:00
  • 6b8568cc6c client interfaces compose better, remove some globals, test ConnectLoop Serene Han 2016-05-19 18:06:34 -07:00
  • 00196bbd74 more complete and improved client rendezvous tests Serene Han 2016-05-18 13:08:10 -07:00
  • 361da32ecb lint proxypair Serene Han 2016-05-12 11:50:54 -07:00
  • 0690b0620d Make koch.jpg square and tile better. David Fifield 2016-05-16 16:43:33 -07:00
  • bdbabe5e0c Return after bad request Arlo Breault 2016-05-11 07:27:42 -07:00
  • 81931fa8e7 Clear ws connection timeout on success/failure Arlo Breault 2016-05-10 18:46:49 -07:00
  • 064875cc29 Fix some logging Arlo Breault 2016-05-10 17:04:03 -07:00
  • 6a8c88fe64 fix proxy createAnswer error handling for updated WebRTC syntax Serene Han 2016-05-02 11:10:45 -07:00
  • d567e2312f Feature detect with Modernizr Arlo Breault 2016-04-05 10:27:41 -07:00
  • 0f952408d3 remove more dead code from broker Serene Han 2016-04-02 21:50:26 -07:00
  • 14fc6a13c2 timout for websocket connection failure Serene Han 2016-03-31 22:48:19 -07:00
  • 03b1a0d1f1 remove dead code Serene Han 2016-03-30 22:33:47 -07:00
  • 1d1882b59d webRTCConn close as part of its reset, instead of depending on external deferred close after receiving reset channel, allows valid disconnections even before use Serene Han 2016-03-29 22:28:52 -07:00
  • bc1a499bc8 use only one BrokerChannel Serene Han 2016-03-28 22:28:57 -07:00
  • 57c0724491 Use 192.81.135.242:9902 as the default relay. David Fifield 2016-03-27 12:49:20 -07:00
  • f024f6b832 create and removing from webrtcRemotes test Serene Han 2016-03-26 18:34:04 -07:00
  • b2d7586cb4 use webrtcRemotes len for capacity instead of the chan Serene Han 2016-03-25 17:03:38 -07:00
  • 22ace32a71 replace webrtcRemote with webrtcRemotes map & indexing, client multiplexing remotes confirmed working (#31) Serene Han 2016-03-23 19:40:26 -07:00
  • a8ea5e586e client multiplexing using a webRTCConn channel (#31) Serene Han 2016-03-22 18:03:25 -07:00
  • 2515ddb1fa begin client sub-readme Serene Han 2016-03-21 23:18:17 -07:00
  • 451edb6dec begin multiplex snowflake connect loop for #31 Serene Han 2016-03-20 11:11:21 -07:00
  • 346f316038 Use "ExtORPort auto" in documentation. David Fifield 2016-03-26 15:34:27 -07:00