Commit Graph

457 Commits

Author SHA1 Message Date
Russ Magee 4e0ddf282a Comments on main() xsd 2019-12-19 20:34:05 -08:00
Russ Magee 9f956cff62 branch temp version 2019-12-19 20:04:22 -08:00
Russ Magee f8f4bcbe77 go.mod updates for gopkg.in/hlandau/passlib.v1 2019-12-19 20:03:32 -08:00
Russ Magee faf4d5c50a Add (as default) option to use system shadow passwds 2019-12-19 20:01:39 -08:00
Russ Magee 1f84bc95ff Bumped version 2019-12-15 12:27:50 -08:00
Russ Magee d4f50bfdc0 xsd: Added -aK,-aC,-aH to control accepted client proposals 2019-12-15 11:38:04 -08:00
Russ Magee 9b90c0558e Fixed leftover hkexsh -> xs refs in xspasswd 2019-12-11 17:37:56 -08:00
Russ Magee 8dbb10f324 Fixed xc mode detection
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-10-29 23:50:27 -07:00
Russ Magee b19687c80b The Great Renaming: hkexsh -> xs (Xperimental Shell)
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-10-29 23:11:03 -07:00
Russ Magee 423410bb40 WIP integrating experimental WANDERER alg 2019-09-27 09:44:57 -07:00
Russ Magee a990c5e1f3 Cleaned up flag strings
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-09-14 23:47:41 -07:00
Russ Magee 3b73c6d731 Merge branch 'master' into kcp-udp 2019-09-14 22:56:19 -07:00
Russ Magee ba52356e6c Made default deeper in init funcs HERRADURAKEX512
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-09-14 22:56:03 -07:00
Russ Magee 6483c8cc33 Version -kcp
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-08-22 23:32:56 -07:00
Russ Magee ce1adf7a07 Merge branch 'master' into kcp-udp 2019-08-22 23:31:36 -07:00
Russ Magee dc3f6f9bd5 Bumped version
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-08-22 23:29:22 -07:00
Russ Magee c354036952 Fixed incomplete -x cmd output due to premature ptmx.Close for non-interactive sessions
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-08-22 23:18:20 -07:00
Russ Magee c95794da1f Uncoupled kcp-go UDP support by moving into hkexnet/kcp.go
TODO: cmdline param to set KCP symmetric key & salt at launch (consider
also from a file to avoid putting inline in invocations, eg., init scripts)

Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-08-16 23:16:40 -07:00
Russ Magee d7dbcd8fdf Added experimental support (-K) for kcp-go reliable-UDP instead of TCP
github.com/xtaci/kcp-go

** Note: hkexcp appears to hang (client-side) on completion w/complete file copy
   (Note server-side logs on final missed ctrlStatOp msg)

Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-08-13 20:56:01 -07:00
Russtopia c9d478ff30 Update 'README.md' 2019-08-08 22:34:28 -07:00
Russ Magee 35e23b20ce Bumped version
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-08-08 21:38:03 -07:00
Russ Magee 795adf6aa0 Added server -L option to use host builtin login
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-08-08 21:36:37 -07:00
Russ Magee 4c0b3a405d Bumped version
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-08-08 00:32:46 -07:00
Russ Magee 2946618a02 Hopeful fix for issue #18
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-08-08 00:21:34 -07:00
Russ Magee 0146a5f4fb Merge branch 'master' of ssh://blitter.com/var/git/hkexsh 2019-07-11 12:18:26 -07:00
Russ Magee 06854f7a03 Added make-controlled version, gitCommit (thanks to https://preslav.me/2019/07/09/adding-version-information-to-go-binaries/ 2019-07-11 10:12:38 -07:00
Russ Magee 2087aab2d5 Minor cleanup to keepalive timing jitter comments 2019-07-10 20:44:02 -07:00
Russ Magee f5480553df Random jitter to tun keepalive timing
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-07-10 01:11:23 -07:00
Russtopia 4648188bdc Updated README.md 2019-07-05 23:56:18 -07:00
Russ Magee b8d32ed882 Bumped goutmp -> 1.0.1
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-07-04 21:20:02 -07:00
Russ Magee 1aa8a1549b Used fixed goutmp pty logging
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-07-04 20:27:49 -07:00
Russ Magee 9e885d5bd7 Bumped version in consts.go
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-07-03 09:56:53 -07:00
Russ Magee 825429003b Added enforcement of min/max vals for chaff freq, bytesize
Made HerraduraKEx 512 default KEx (was HerraduraKEx 256)

Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-07-03 09:50:37 -07:00
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 c4c2e24af1 Merge branch 'master' of https://gogs.blitter.com/RLabs/hkexsh 2019-06-22 23:28:03 -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 3ae48addbc Made server keepalive ageing for tunnels to goroutine -- fix for premature tunnel collapses
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-06-22 00:44:23 -07:00
Russ Magee 54396a4e4b BUILDOPTS passed to client/server makes 2019-06-20 22:44:19 -07:00
Russ Magee c24529a1d4 log of cipher/plaintext disabled (flags unexposed to re-enable); pprof tooling 2019-06-19 21:42:34 -07:00
Russ Magee 5511fc83cd Better error handling (no panic) for client connrefused
Server logs error w/o exiting if missing hkexsh.passwd file

Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-05-19 22:30:32 -07:00
Russ Magee cbf3c77342 Cleaned up/added commenting (hkexsh/, hkexnet/)
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-05-09 22:46:08 -07:00
Russ Magee 7e60a395ad Updated go.mod to include newhope deps
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-04-17 20:00:22 -07:00
Russtopia 1bb31c5e28 Update 'README.md' 2019-04-08 22:26:03 -07:00
Russtopia 5cf7a0f8b3 Update 'README.md' 2019-04-08 22:24:01 -07:00
Russ Magee df84580e63 Merge branch 'master' of https://gogs.blitter.com/RLabs/hkexsh 2019-04-08 22:00:06 -07:00
Russ Magee f09d6bbfef Added NEWHOPE and NEWHOPE_SIMPLE KEM algs
Fixed some -h typos, missing H_SHA512 option
randReader seed time.Now().UnixNano()

Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-04-08 21:58:33 -07:00
Russ Magee 8920184ae4 Updated to stable archived link
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-04-06 23:19:26 -07:00