Commit Graph

189 Commits

Author SHA1 Message Date
Cadey Ratio 03f9570151 tun2: move pingloop into a function 2017-03-26 22:19:43 -07:00
Cadey Ratio 1c221cdf6d tun2: avoid intN panic 2017-03-26 22:03:06 -07:00
Cadey Ratio aa16ea5e26 tun2: no connections means no connections 2017-03-26 22:01:15 -07:00
Cadey Ratio 2f08c381e7 main: fix a colon 2017-03-26 21:58:18 -07:00
Cadey Ratio 7dcee8d259 update vendor 2017-03-26 21:57:04 -07:00
Cadey Ratio a02553e0ef tun2: use a better hashmap 2017-03-26 21:56:54 -07:00
Cadey Ratio ecc31b1eb7 server,main: simplify config code 2017-03-26 21:39:19 -07:00
Cadey Ratio 9758adc118 tun2: set deadline before creating stream 2017-03-26 16:25:12 -07:00
Cadey Ratio bbf0dc14ba tun2: log better on disconnect 2017-03-26 16:21:02 -07:00
Cadey Ratio ed00bc4232 tun2: continue sooner in pingloop 2017-03-26 16:19:00 -07:00
Cadey Ratio 10f51ef10a tun2: don't goroutine it up, not fam 2017-03-26 16:16:39 -07:00
Cadey Ratio 46b29ea22d wait even less 2017-03-26 16:14:24 -07:00
Cadey Ratio a1df9e32ec don't wait forever 2017-03-26 16:13:20 -07:00
Cadey Ratio d25fe6c7e7 tun2: goroutine it up fam 2017-03-26 16:11:59 -07:00
Cadey Ratio 7cf2a9a616 tun2: ln.F 2017-03-26 15:41:00 -07:00
Cadey Ratio 098a7e5858 tun2: log more successes 2017-03-26 15:36:58 -07:00
Cadey Ratio bd07937466 tun2: call F() 2017-03-26 15:30:19 -07:00
Cadey Ratio c3e3f595df tun2: F 2017-03-26 15:28:29 -07:00
Cadey Ratio 3d516cdf4e tun2: Connection is an Fer now 2017-03-26 15:26:59 -07:00
Cadey Ratio 919e160273 _ 2017-03-26 15:21:02 -07:00
Cadey Ratio 0a01896364 tun2: don't break pipes 2017-03-26 15:20:35 -07:00
Cadey Ratio 9e0a91a438 tun2: do pingloop more manually 2017-03-26 15:19:33 -07:00
Cadey Ratio d7e1510121 tun2: do pingloop more manually 2017-03-26 15:19:10 -07:00
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