Commit Graph

36 Commits

Author SHA1 Message Date
Cadey Ratio 116c3e6516 tun2: lock 2017-04-05 14:33:54 -07:00
Cadey Ratio 4d30a5cfb3 tun2: add phi failure detection, move pingloop to be per-connection 2017-04-05 14:31:15 -07:00
Cadey Ratio a009a9fd0f tun2: bail and fail hard if the connection is dead 2017-03-27 21:29:08 -07:00
Cadey Ratio d52776a7fc tun2: log on no backends 2017-03-26 22:50:45 -07:00
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 a02553e0ef tun2: use a better hashmap 2017-03-26 21:56:54 -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 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 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 ede0affbdc add tun2: a tunnel rewrite using KCP/TLS and smux 2017-03-26 12:50:51 -07:00