Commit Graph

66 Commits

Author SHA1 Message Date
Cadey Ratio 1d5c58e22d tun2: pingloop 2017-03-26 15:14:13 -07:00
Cadey Ratio 65f99d052b tun2: add logging calls to client connections 2017-03-26 15:13:54 -07:00
Cadey Ratio 92d23eec09 make httpagent a plugin 2017-03-26 15:13:32 -07:00
Cadey Ratio cc890642b6 cmd/httpagent: toggle KCP/TCP 2017-03-26 13:57:09 -07:00
Cadey Ratio f09a33e0df tun2: retry if possible 2017-03-26 13:52:53 -07:00
Cadey Ratio 4021b4f3aa fix everything forever 2017-03-26 13:47:42 -07:00
Cadey Ratio 70191a0b88 tun2: on disconnection, explode gently 2017-03-26 13:38:05 -07:00
Cadey Ratio 89943398fc tun2: log more information after a connection is established 2017-03-26 13:29:01 -07:00
Cadey Ratio 73c2e41af7 database: fix term count error better 2017-03-26 13:27:25 -07:00
Cadey Ratio 676c373356 database: fix term count error 2017-03-26 13:24:05 -07:00
Cadey Ratio 6c162f4ebc tun2: log better 2017-03-26 13:23:52 -07:00
Cadey Ratio db3f0af99a tun2: log on backend connect 2017-03-26 13:18:58 -07:00
Cadey Ratio 3faeae8187 tun2: log when listenandserve is called 2017-03-26 13:15:42 -07:00
Cadey Ratio dbcf69c837 fix client for updated stuff 2017-03-26 13:14:24 -07:00
Cadey Ratio 8638fe9bcc tun2: log when tcp/kcp listeners are up 2017-03-26 13:14:05 -07:00
Cadey Ratio 5fe4d2ea06 server: tell tun2 to listen and serve 2017-03-26 13:11:57 -07:00
Cadey Ratio 2ab2f2d762 server: director 2017-03-26 13:02:22 -07:00
Cadey Ratio d65737df24 main: add ports for tun2 2017-03-26 12:55:10 -07:00
Cadey Ratio 5fd805b5dd server: rip out tunnel 2017-03-26 12:51:37 -07:00
Cadey Ratio 87be7e8a30 database: add GetRouteForHost function 2017-03-26 12:51:23 -07:00
Cadey Ratio ede0affbdc add tun2: a tunnel rewrite using KCP/TLS and smux 2017-03-26 12:50:51 -07:00
Cadey Ratio dd0856cfa5 add ln, smux, kcp to deps 2017-03-26 12:50:20 -07:00
Cadey Ratio 1876477140 server: add X-Clacks-Overhead header 2017-02-07 18:25:48 -08:00
Cadey Ratio b792245f74 server: grpc hack 2017-01-27 16:14:05 -08:00
Cadey Ratio de990c1d39 routegrpc: add swagger definitions too 2017-01-26 18:43:17 -08:00
Cadey Ratio b75f909362 doc/api: add User methods 2017-01-26 09:42:26 -08:00
Cadey Ratio db86f49de2 doc: add API documentation 2017-01-26 07:56:31 -08:00
Cadey Ratio 12fdcfdf55 vendor update 2017-01-26 07:51:44 -08:00
Cadey Ratio a14eebb496 route: add GRPC bindings for the planned API requests 2017-01-26 07:51:22 -08:00
Cadey Ratio 835ddb4762 update vendor 2017-01-25 20:25:54 -08:00
Cadey Ratio 7f01cd6ebd certcache: decrypt certs as they are read 2017-01-25 20:25:05 -08:00
Cadey Ratio d40414b40f encrypt inserted SSL certificates 2017-01-25 20:22:27 -08:00
Cadey Ratio 385d340027 certcache: log on actions being taken 2017-01-25 19:33:12 -08:00
Cadey Ratio a7ee9b1a06 context 2017-01-25 19:28:59 -08:00
Cadey Ratio e3b55d92e1 all: put certs into rethinkdb 2017-01-25 19:26:50 -08:00
Cadey Ratio 78b45ebfd4 Revert "lib/tunnel: use httputil.ReverseProxy"
This reverts commit 48327a7669.
2017-01-23 09:36:35 -08:00
Cadey Ratio 2aa7295c8a Revert "lib/tunnel: make each conn have its own server"
This reverts commit f3c299acf9.
2017-01-23 09:36:31 -08:00
Cadey Ratio f3c299acf9 lib/tunnel: make each conn have its own server 2017-01-23 09:11:19 -08:00
Cadey Ratio 48327a7669 lib/tunnel: use httputil.ReverseProxy 2017-01-23 09:07:39 -08:00
Cadey Ratio 1e3765e37b route: add manhole for pprof reasons 2017-01-23 08:12:44 -08:00
Cadey Ratio 5fe915787d vendor: add new dependencies 2017-01-23 08:04:33 -08:00
Cadey Ratio 9b21edfbce server: set requestID for each request 2017-01-23 08:04:08 -08:00
Cadey Ratio 14f068eddb cmd/*: make windows-local fixes 2017-01-23 07:58:28 -08:00
Cadey Ratio 7a3414000e route: listen on 0.0.0.0, oops 2017-01-22 10:22:36 -08:00
Cadey Ratio a7b7102609 cmd/api: custom rpc host 2017-01-22 10:20:33 -08:00
Cadey Ratio 6bd43bbaa5 vendor update 2017-01-22 10:16:58 -08:00
Cadey Ratio 850115d468 Let's Encrypt! 2017-01-22 10:16:18 -08:00
Cadey Ratio 3c16032955 server: properly do X-Forwarded-For 2017-01-22 09:49:20 -08:00
Cadey Ratio 69830acffb cmd/httpagent: customize frontend address 2017-01-22 09:49:20 -08:00
Cadey Ratio e350d53954 cmd/helloserver: print headers more pretty 2017-01-22 09:49:20 -08:00