Commit graph

862 commits

Author SHA1 Message Date
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
john s
24f292c934
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-20 23:43:17 -05:00
Matthew R. Kasun
b1a640eb83 temp code to remove netmaker profiles from /etc/hosts on daemon start 2022-03-18 15:53:59 -04:00
Matthew R. Kasun
58988706d9 missed on call
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-03-18 13:47:03 -04:00
Matthew R. Kasun
3b12f55de0 use interface as hostctl profile 2022-03-18 10:10:34 -04:00
afeiszli
fbb18d86d0 fixing windows join issue 2022-03-15 11:11:22 -04:00
Matthew R Kasun
9e23e69141
Merge branch 'develop' into worklows 2022-03-15 09:10:10 -04:00
dcarns
2e0e54879a
Merge pull request #895 from gravitl/feature_0.12.0_host_dns
match dns to acl
2022-03-14 19:34:01 -04:00
afeiszli
3b37532eaa fixing windows remove conf 2022-03-14 21:03:49 -04:00
Matthew R. Kasun
628f1f1468 remove debug logs 2022-03-14 16:32:14 -04:00
Matthew R Kasun
11e0bd20d3 dns per network 2022-03-14 19:44:38 +00:00
Matthew R. Kasun
0abba58bfb use string rather than []byte for dns 2022-03-14 14:59:41 -04:00
afeiszli
d0719f34b3 removing syso 2022-03-14 13:31:37 -04:00
afeiszli
c81a6c957d changed versions to 0.12.0, added new logo 2022-03-14 13:31:12 -04:00