Russ Magee
|
3a720cfb8e
|
More race cleanup, (hc.tuns).Data/ShutdownTun() races A,B,C still remain.
Signed-off-by: Russ Magee <rmagee@gmail.com>
|
2019-06-28 22:50:58 -07:00 |
|
Russ Magee
|
78b2006af6
|
gofmt
Signed-off-by: Russ Magee <rmagee@gmail.com>
|
2019-06-27 22:28:53 -07:00 |
|
Russ Magee
|
8f5366fff4
|
Added locking APIs for most Conn/Tun fields, save <- Data/ShutdownTun() race
Signed-off-by: Russ Magee <rmagee@gmail.com>
|
2019-06-27 22:10:59 -07:00 |
|
Russ Magee
|
c327b2ec72
|
Fixed tun reuse hang/error after closure
Signed-off-by: Russ Magee <rmagee@gmail.com>
|
2019-06-27 01:19:52 -07:00 |
|
Russ Magee
|
1d4c16dd76
|
Moved server keepalive ageing for tunnels to goroutine -- fix for premature tunnel collapses
|
2019-06-22 23:27:53 -07:00 |
|
Russ Magee
|
54396a4e4b
|
BUILDOPTS passed to client/server makes
|
2019-06-20 22:44:19 -07:00 |
|
Russ Magee
|
d9453835bf
|
Shorter servertun hangup msg
Signed-off-by: Russ Magee <rmagee@gmail.com>
|
2018-11-11 23:03:32 -08:00 |
|
Russ Magee
|
b0f614f82e
|
Tunnel keepalives from client implemented. If client dies/exits unexpectedly the server
tunnel will disconnect from rport in a timely manner.
Signed-off-by: Russ Magee <rmagee@gmail.com>
|
2018-11-11 22:46:39 -08:00 |
|
Russ Magee
|
709f2ae3dd
|
Got rid of superfluous weAreDialled var
Signed-off-by: Russ Magee <rmagee@gmail.com>
|
2018-11-11 21:55:21 -08:00 |
|
Russ Magee
|
0943797300
|
Minor cleanup prior to tackling os.Exit() in doShellMode() and server-side tun hangs
|
2018-11-11 21:05:25 -08:00 |
|
Russ Magee
|
6f1fcbbf7a
|
Corrected tun chan Ctl cmd comments
|
2018-11-11 20:25:34 -08:00 |
|
Russ Magee
|
2a9e6af2ae
|
Tunnels w/reconnect refinements:
-200ms deadlink timeouts
-Fixed TunConnRefused client hangup handling
Signed-off-by: Russ Magee <rmagee@gmail.com>
|
2018-11-11 20:12:29 -08:00 |
|
Russ Magee
|
ba3cda95e8
|
Tunnels with reconnect working.
TODO: interactive client exit must collapse all open tunnels prior to exit.
Signed-off-by: Russ Magee <rmagee@gmail.com>
|
2018-11-11 18:56:08 -08:00 |
|
Russ Magee
|
fbef175012
|
Tunnels basically working. TODO: add TunKeepAlive packet & handshake w/server tun side
|
2018-11-11 12:34:54 -08:00 |
|
Russ Magee
|
b94f25e5ae
|
Client lport disconn/reconn works, somewhat..
|
2018-11-11 11:45:37 -08:00 |
|
Russ Magee
|
3b35751e2e
|
WIP tunnel states, re-dial when not required needs debugging.
|
2018-11-07 19:35:32 -08:00 |
|
Russ Magee
|
dd37922fb2
|
Server tun worker now in redial goroutine. TODO: Finish full two-way state change msging
|
2018-11-01 22:47:25 -07:00 |
|
Russ Magee
|
492c7290b0
|
Much improved tunnel state management: server-side mostly working, client-side re-Accept() -> svr re-Dial() still required
|
2018-11-01 22:14:44 -07:00 |
|
Russ Magee
|
a425afe9b6
|
Tunnels working again to basic level w/o re-connect or re-dial
|
2018-11-01 18:52:01 -07:00 |
|
Russ Magee
|
081d88b9ad
|
tunnel setup stubs moved into Conn Read()/Write() handling
|
2018-10-31 20:11:00 -07:00 |
|
Russ Magee
|
8ee0aea0b4
|
(non-working) begin of total tunnel redesign
|
2018-10-31 09:15:28 -07:00 |
|
Russ Magee
|
fcbdb77c79
|
Cleaned up error handling in hkexnet.Conn.Read() a bit
|
2018-10-30 21:07:42 -07:00 |
|