Commit graph

463 commits

Author SHA1 Message Date
Russ Magee
a0e90c14ba Praise Bob!
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-12-08 21:44:06 -08:00
Russ Magee
9641fd3fff Console esc seqs no longer affect in-band input
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-12-08 21:37:26 -08:00
Russtopia
43d9b13a08 Update 'README.md' 2018-12-08 21:35:13 -08:00
Russ Magee
da78f37e42 Rearranged godoc pkg comments
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-12-08 11:29:58 -08:00
Russ Magee
f83cdd23b1 Merge branch 'master' into console-tricks 2018-12-06 18:55:17 -08:00
Russ Magee
55fdffbd9e Moved herradurakex to its own package
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-12-06 17:20:43 -08:00
Russ Magee
1a294c3ce4 Updated console tricks
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-12-01 00:22:56 -08:00
Russ Magee
df64eda796 Single-char ~N sequence logic 2018-11-30 22:52:57 -08:00
Russ Magee
20dcfd7bb2 Regen of graphviz diagrams
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-11-29 18:38:15 -08:00
Russ Magee
5ad08fd3b3 tty state restored prior to printing nonzero exit status for interactive shell sessions
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-11-29 18:28:30 -08:00
Russ Magee
b4672deded Fix for issue #11 2018-11-29 18:06:21 -08:00
Russ Magee
291bacf2df Fix for issue #11 2018-11-29 18:06:03 -08:00
Russ Magee
3e7f143f7b Fix for issue #11 https://blitter.com:3000/RLabs/hkexsh/issues/11
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-11-29 18:05:22 -08:00
Russ Magee
b6a22ce64a gofmt cleanup 2018-11-28 21:03:20 -08:00
Russ Magee
103d76989e Fixed mis-named goroutine in doShellMode
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-11-25 21:08:37 -08:00
Russ Magee
85619f3cc9 Fixed graphviz tag for stdinToPtyWorker goroutine
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-11-25 18:55:07 -08:00
Russ Magee
556a9fcfd0 Merge branch 'metalint'
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-11-25 18:47:33 -08:00
Russ Magee
fc05a9a4a3 Added fixup-gv.sh and Makefile rules to generate annotated goroutines in graphviz output.
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-11-25 18:43:53 -08:00
Russ Magee
6fbbcdadb6 Gometalinter cleanup/audit of hkexsh, hkexshd, hkexpasswd
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-11-25 10:24:10 -08:00
Russ Magee
2da0d8b198 Tweaks to sed expr in code comments 2018-11-24 19:40:45 -08:00
Russ Magee
5eb80f4226 Further graphviz work; named hkexsh goroutines 2018-11-22 23:43:03 -08:00
Russ Magee
738bcf3ba9 Begin experiments with graphviz 2018-11-22 23:09:22 -08:00
Russ Magee
fa398159e3 Merge branch 'metalint' 2018-11-22 19:02:41 -08:00
Russtopia
729697b5ee Update 'README.md' - note about where logging goes 2018-11-22 18:00:50 -08:00
Russ Magee
6c6d0cbbb6 Added PNG go-callvis diagrams
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-11-22 18:13:11 -08:00
Russ Magee
0b668630e7 hkexsh gometalinter cleanup 2018-11-22 16:49:09 -08:00
Russ Magee
c6cbd8d681 Replaced go-code-visualizer with go-callvis
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-11-21 17:06:09 -08:00
Russ Magee
b63252dbf6 Added go-code-visualizer PNG and 'make vis' rule to generate
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-11-20 22:34:16 -08:00
Russ Magee
5fb227b9f8 -Removed WriteDeadline in hkexnet.Close()
-hkexsh: fixed (non-)error handling for file copies

Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-11-20 18:50:09 -08:00
Russtopia
6ac866fdbf Update 'CODE_OF_MERIT.md' 2018-11-19 21:12:37 -08:00
Russ Magee
1452af3fc8 -hkexnet.immClose flag to allow client to close first (-x incomplete output bug)
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-11-19 19:55:35 -08:00
Russ Magee
8e02810f0e Restored call to c.Close in hkexnet.Close (was causing hangs on client side) 2018-11-19 14:41:42 -08:00
Russ Magee
74a64489e5 Reverted bad hkexnet.Close diff 2018-11-19 14:38:39 -08:00
Russ Magee
673074d618 Reverted hkexnet.Close() deletion, caused hang
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-11-19 15:26:01 -08:00
Russ Magee
1909786a4b -Removed Close on null failed Listener (hkexshd)
-Removed premature net.Conn.Close() in hkexnet.Close() (hkexnet)

Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-11-19 14:16:48 -08:00
Russ Magee
4345c7bf2d Removed unused consts
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-11-18 20:28:03 -08:00
Russ Magee
03eff74d8b Added signal handling for hkexshd to respond as well-behaved daemon
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-11-15 22:57:21 -08:00
Russtopia
ee52959fab Update 'README.md' 2018-11-15 09:04:08 -08:00
Russtopia
ab4c5b74c9 Update 'README.md' 2018-11-14 00:11:12 -08:00
Russtopia
43221cbba6 Update 'README.md' 2018-11-13 23:57:36 -08:00
Russtopia
be7f84adcf Update 'README.md' 2018-11-13 23:30:06 -08:00
Russtopia
566a8e9ed2 Update 'README.md' 2018-11-13 23:29:28 -08:00
Russtopia
2a9c7d9cfe Update 'README.md' 2018-11-13 23:02:52 -08:00
Russ Magee
d28a4af924 Added example openrc init script
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-11-13 23:59:34 -08:00
Russ Magee
d973c83e01 -Makefile: added install,uninstall targets
-Bumped version to 0.7pre

Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-11-13 17:38:13 -08:00
Russtopia
1d1feee476 Update 'README.md' 2018-11-13 12:57:52 -08:00
Russ Magee
4bf94a7854 README.md: Tunnel example usage
TODO updates

Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-11-13 13:54:07 -08:00
Russ Magee
2cb254ef69 Basic -T tun opt parsing
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-11-12 00:44:16 -08:00
Russ Magee
a9ebb102bd Stubbed tun option parsing
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-11-11 23:26:22 -08:00
Russ Magee
d9453835bf Shorter servertun hangup msg
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-11-11 23:03:32 -08:00