Matthew R. Kasun
f8fe382c02
cleanup and comments
2022-04-16 16:43:10 -04:00
Matthew R. Kasun
de7ca68c23
join after register
2022-04-16 15:35:05 -04:00
Matthew R. Kasun
a2805ddc80
register/cert gen
2022-04-16 08:27:22 -04:00
Matthew R. Kasun
4f19beda00
save returned certs/keys
2022-04-15 16:07:19 -04:00
0xdcarns
08e219cdcc
idk
2022-04-15 15:20:46 -04:00
0xdcarns
1cf9ac77e9
changed encoding of structs
2022-04-15 15:03:54 -04:00
Matthew R. Kasun
a6c388db67
use openssl to gen client key/cert
2022-04-15 13:32:10 -04:00
Matthew R. Kasun
84de5c5216
use issuer's public key for certs
2022-04-15 09:54:35 -04:00
Matthew R. Kasun
d50f7a8c0b
revert to gen csr on client
2022-04-14 14:42:46 -04:00
Matthew R. Kasun
fb6059e4a1
wip
2022-04-14 14:14:37 -04:00
Matthew R. Kasun
38cf8b0ceb
gen csr on server
2022-04-14 11:40:13 -04:00
Matthew R. Kasun
9677957023
logging
2022-04-14 09:22:07 -04:00
Matthew R. Kasun
5008462b3e
send csr and get cert
2022-04-14 07:15:50 -04:00
Matthew R. Kasun
4525698f87
return struct
2022-04-14 06:08:51 -04:00
Matthew R. Kasun
3e6a9be9ba
return struct
2022-04-13 18:22:03 -04:00
Matthew R. Kasun
92d3e40bde
logging
2022-04-13 17:33:40 -04:00
Matthew R. Kasun
6aa1a68a6f
register command - client
2022-04-13 15:25:35 -04:00
Matthew R. Kasun
199ea15b1d
add VerifyConnection func to NewTLSConf as InsecureSkipVerify:false doesn't work
...
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-13 11:58:15 -04:00
Matthew R. Kasun
a0e7163e7e
program to generate initial server certs/key
2022-04-12 17:19:24 -04:00
Matthew R. Kasun
ab8cf43b3b
remove debug logs
...
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-12 15:43:53 -04:00
Matthew R. Kasun
9897b2228c
mqttSetup refactor
...
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-12 15:16:06 -04:00
Matthew R. Kasun
2bbf779d45
don't join comms net
...
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-12 11:39:28 -04:00
Matthew R. Kasun
935567761b
mq direct to server public ip
2022-04-12 10:43:02 -04:00
Matthew R. Kasun
a5883778d9
use os.Executable
2022-03-30 08:04:52 -04:00
0xdcarns
9e4d321508
updated versions across git files
2022-03-29 09:14:42 -04:00
dcarns
a6b1c6a8cd
Merge pull request #960 from gravitl/feature_v0.12.2_client_verbosity
...
reworked usage/description for netclient and added verbosity flags
2022-03-25 09:11:34 -04:00
0xdcarns
1a065f680b
added test and changed how strings were generated for make random string
2022-03-25 08:57:15 -04:00
0xdcarns
8ce93ce374
adjusted to lowercase
2022-03-24 13:52:40 -04:00
0xdcarns
00787dd853
changed to lowercase
2022-03-24 13:50:35 -04:00
0xdcarns
f272ef1022
adjusted comment
2022-03-24 11:34:22 -04:00
0xdcarns
4aea8c4832
adjusted private func placement
2022-03-24 11:32:58 -04:00
0xdcarns
fc5fc3d381
removed unneccesary check
2022-03-24 11:31:07 -04:00
0xdcarns
30a40aaed6
reworked usage/description for netclient and added verbosity flags
2022-03-24 11:27:42 -04:00
dcarns
94d843c3bd
Merge pull request #953 from gravitl/feature_v0.12.2_list_id
...
Feature v0.12.2 list
2022-03-23 20:33:35 -04:00
john s
d1fb0b90af
netclient: math.Rand -> crypto.Rand ( #956 )
...
* netclient: math.Rand -> crypto.Rand
Signed-off-by: John Sahhar <john@gravitl.com>
* netclient: math.Rand -> crypto.Rand
* add tests
Signed-off-by: John Sahhar <john@gravitl.com>
* netclient: math.Rand -> crypto.Rand
* add test
Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-23 12:06:26 -06:00
john s
e1ace88508
scripts/build-binaries.sh: support for all OS/ARCH ( #948 )
...
* scripts/build-binaries.sh: support for all OS/ARCH
Expands our build scripts to support the following OS/ARCHS:
netclient-linux-amd64
netclient-linux-arm5
netclient-linux-arm6
netclient-linux-arm7
netclient-linux-arm64
netclient-linux-mips
netclient-linux-mips64
netclient-linux-mips64le
netclient-linux-mipsle
netclient-linux-ppc64
netclient-linux-ppc64le
netclient-linux-riscv64
netclient-linux-s390x
netclient-linux-386
netclient-freebsd-amd64
netclient-freebsd-arm5
netclient-freebsd-arm6
netclient-freebsd-arm7
netclient-freebsd-arm64
netclient-freebsd-386
netclient-darwin-arm64
netclient-darwin-amd64
netclient-windows-amd64
netclient-windows-arm5
netclient-windows-arm6
netclient-windows-arm7
netclient-windows-arm64
netclient-windows-386
* bin-maker.sh: update default VERSION
Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-22 14:14:57 -06:00
0xdcarns
a477eaa767
added local node ID's to list command
2022-03-22 15:33:38 -04:00
0xdcarns
4cd75f2985
initial commit
2022-03-22 15:13:48 -04:00
0xdcarns
d504e9e3cc
comms join issue
2022-03-21 12:13:27 -04:00
afeiszli
dc3908b9f5
changing versions, removing ssh port forward, adding image link
2022-03-21 11:43:06 -04:00
dcarns
9b2742a3c5
Merge pull request #925 from gravitl/refactor_v0.12.0_logging
...
replace ncutil.Log/PrintLog with logger.Log
2022-03-21 11:35:06 -04:00
Alex Feiszli
f8b4ebffc9
Merge pull request #922 from gravitl/bugfix_v0.11.0_server_routes
...
server routes
2022-03-21 11:34:33 -04:00
afeiszli
8901160237
don't set endpoint if server
2022-03-21 11:30:18 -04:00
Matthew R. Kasun
e3d3c864ab
fix for windows
2022-03-21 11:27:31 -04:00
Matthew R. Kasun
fa78fe208f
update for other architectures
2022-03-21 11:27:27 -04:00
Matthew R. Kasun
11b1098390
replace ncutil.Log/PrintLog with logger.Log
2022-03-21 11:27:25 -04:00
dcarns
9efb15e688
Merge pull request #929 from gravitl/bugfix_v0.12.0_keepalive
...
keepalive handling updates
2022-03-21 10:41:01 -04:00
dcarns
b397f5014f
Merge pull request #918 from gravitl/bugfix_v0.12.1_hostctl_profile_names
...
use interface as hostctl profile
2022-03-21 10:24:28 -04:00
john s
b16a6ab6a4
netclient: pass by value -> reference ( #919 )
...
* netclient: pass by value -> reference
Updates various function arguments to accept config.ClientConfig
as a reference to avoid deep copying the struct.
Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-21 08:05:30 -04:00
Matthew R. Kasun
c16687be61
keepalive handling updates
2022-03-21 07:07:50 -04:00