Commit graph

443 commits

Author SHA1 Message Date
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
Russ Magee
9a72e02fc0 Comment and redundant file cleanup
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-04-06 23:14:28 -07:00
Russ Magee
a53ec4ac2d termmode.go: Added nil check in term.Restore() for nonexistent cp filename
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-04-05 19:10:38 -07:00
Russ Magee
306ea64299 Sorted cptest.sha1sum
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-04-03 22:37:43 -07:00
Russ Magee
b1bbd9c587 Moved/updated cptest.sha1sum
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-04-03 22:12:00 -07:00
Russ Magee
a7c01ccbcd Merge branch 'master' of https://gogs.blitter.com/RLabs/hkexsh 2019-03-22 22:41:05 -07:00
Russ Magee
5663fd0c79 Added test files for hkexcp testing
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-03-22 22:40:41 -07:00
Russ Magee
b1e696911f Test update of README.me (test git post-receive hook)
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-03-06 13:53:38 -08:00
Russ Magee
8ea0d79070 Test update of README.md for push hook 2019-03-06 13:48:11 -08:00
Russ Magee
b82eb1fdc8 Test update of README.md for push hook 2019-03-06 13:46:55 -08:00
Russ Magee
4db668fbb4 Test update of README.md for push hook 2019-03-06 13:37:34 -08:00
Russ Magee
b32a9e6c1a Test update of README.md for push hook 2019-03-06 13:35:20 -08:00
Russ Magee
a87c0005c7 Test update of README.md for push hook 2019-03-06 13:33:32 -08:00
Russ Magee
6c1172b499 Test update of README.md for push hook 2019-03-06 13:31:32 -08:00
Russtopia
2f56fff1e6 Update 'README.md' 2019-03-06 13:01:27 -08:00