Commit Graph

159 Commits

Author SHA1 Message Date
Russ Magee 55cf5a9277 Improved 'fancy arg' parsing - gathering up otherArgs (non-flag) as path src list 2018-07-29 12:47:44 -07:00
Russ Magee 5eb7d4d1e6 Initial (buggy) support for 'fancy arg' style ala ssh: eg user@example.org:port:path 2018-07-29 00:48:42 -07:00
Russ Magee e3e38fb6fa Merge branch 'master' into hkexcp-proto 2018-07-19 22:40:40 -07:00
Russ Magee 5ae6c8075b Grouped types 2018-07-19 22:39:06 -07:00
Russ Magee f48b0c17ed Prep for hkexsh alternate op mode via symlink/exe name: hkexcp - a secure remote file copier 2018-07-18 22:32:49 -07:00
Russ Magee f9fba3227b README.md line wraps 2018-07-14 13:54:44 -07:00
Russ Magee 0d404470c1 Make hkexshd log IP not hostname to wtmp/lastlog 2018-07-14 13:15:58 -07:00
Russ Magee f079b5b43d Fixed server root warning to output without -d flag to stdout 2018-07-13 20:26:48 -07:00
Russ Magee a8a4f1671a Added -h handling to mintty_wrapper (MSYS/Win client) 2018-07-06 13:29:34 -07:00
Russ Magee a3367fc6ae Fixes for MSYS Windows build (client) 2018-07-06 13:25:28 -07:00
Russ Magee 94e06abbcb Updates to main Makefile (and added spinsult Makefile) 2018-07-04 23:07:09 -07:00
Russ Magee 9edcc5110c Fixed syntax errors from re-org 2018-07-04 22:06:07 -07:00
Russ Magee bd261a32e9 reorg to separate core KEx and net layer from app 2018-07-04 21:21:23 -07:00
Russtopia 9291fdcff6 Update TODO.txt (typos) 2018-06-29 20:29:07 -07:00
Russ Magee a74ae41e3b Added TODO.txt 2018-06-29 20:30:33 -07:00
Russtopia ddc85a64f3 Merge branch 'exitstatus' of Russtopia/hkexsh into master 2018-06-29 19:42:00 -07:00
Russ Magee 216bfa3326 Exit status of remote commands now reflect in client exit 2018-06-29 19:23:11 -07:00
Russ Magee c64797f2d9 Basic server-side recording of exitStatus of pty(cmd).
TODO: sending of exitStatus to client and client handling of said packet via
  a WritePacket() with unique existStatus op.
2018-06-29 16:54:20 -07:00
Russtopia aa48314ee9 Merge branch 'issue3-hkexshd-insufficient-privileges' of Russtopia/hkexsh into master 2018-06-27 19:30:05 -07:00
Russ Magee 011f6d161b #3: hkexshd: server should output error on startup if not run w/sufficient privileges
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-06-27 19:28:03 -07:00
Russ Magee dac467c1e6 Corrected Println -> Printf logs for login/cmd tracking 2018-06-27 19:13:14 -07:00
Russ Magee 889203c9de host lookup for goutmp (wtmp) tracking 2018-06-27 19:09:35 -07:00
Russ Magee 11fad87345 Pass remote host lookup to goutmp 2018-06-27 17:32:26 -07:00
Russtopia 2e9f3d7726 Updated README.md 2018-06-27 15:40:48 -07:00
Russ Magee f5a146255f Renamed go_login pkg to goutmp 2018-06-27 14:58:57 -07:00
Russ Magee 22da88af7d Attempts to handle disconnects better.. TODO: torture tests and implement exit status for -x commands 2018-06-26 20:14:43 -07:00
Russ Magee 4b997a4d0c Merge branch 'master' into logfile-housekeeping 2018-06-24 22:05:57 -07:00
Russ Magee ec5fa5f434 Removed wiki dir 2018-06-06 23:33:13 -07:00
Russ Magee 51e8e9e36a Added test wiki 2018-06-06 23:27:55 -07:00
Russ Magee 8e67897d7f Fixed hkexshpasswd step 3 2018-06-06 22:43:46 -07:00
Russ Magee ac28e5ef7a Proto login accounting via utmp(x) and lastlog 2018-06-01 20:34:49 -07:00
Russ Magee 6698861c15 Merge branch 'termsize-test' of ssh://blitter.com/var/git/hkexsh into termsize-test 2018-05-26 23:47:24 -07:00
Russ Magee 0ba85e2ee8 Grr, added new Makefiles
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-05-26 23:46:55 -07:00
Russ Magee 4e28b8faf9 Grr, added new Makefiles 2018-05-26 23:44:13 -07:00
Russ Magee ec37afc4d8 More Makefile fixes 2018-05-26 23:42:43 -07:00
Russ Magee ffacd42baf Fixes to previous Makefile conditionals 2018-05-26 16:31:43 -07:00
Russ Magee 1a707efeb8 Makefile cond for MSYS vs Linux 2018-05-26 15:54:54 -07:00
Russ Magee fc1625a0ed Fixed termsize_linux.go errors and misnamed termsize_windows.go 2018-05-26 14:11:27 -07:00
Russ Magee f92085bb86 Further work on term resizing platform support for Linux and Windows/mintty 2018-05-26 13:43:09 -07:00
Russ Magee 89dd225910 Experiment - moved sigwinch goroutine out of main client 2018-05-20 14:48:24 -07:00
Russ Magee 8f087e9ca1 Added -v option (version) 2018-05-12 18:41:39 -07:00
Russ Magee dfeb0d709e Moved client chaff config up so it works for non-interactive (-x) invocations. 2018-05-06 18:20:12 -07:00
Russ Magee a1f4e0342a Added chaff cmdline options to client & server 2018-05-06 17:41:09 -07:00
Russ Magee 64e511c3c5 Moved mutex to front of Conn struct 2018-05-04 23:39:19 -07:00
Russ Magee 70448dda08 No need for custom hkexsh.Copy() 2018-05-04 23:31:06 -07:00
Russ Magee c5498642fc Got client hangup working again. Security scrub auth vars. 2018-05-04 23:25:26 -07:00
Russ Magee 925e83bbba Added comment wrt. mutex lock scope in WritePacket 2018-05-04 14:40:06 -07:00
Russ Magee a49a5d4cc2 Locking in WritePacket() apparently working, client and server-side chaffing functional 2018-05-03 23:53:47 -07:00
Russ Magee 6d606bbbd9 Moved mutex into hkexsh.Conn (hkexnet) 2018-05-02 13:22:37 -07:00
Russ Magee 4d85236d16 Chaffing slight improvements (rand size, timing). TODO: Move into hkexsh.Conn 2018-05-02 12:28:56 -07:00