Commit graph

69 commits

Author SHA1 Message Date
Matthew R. Kasun
935567761b mq direct to server public ip 2022-04-12 10:43:02 -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
Matthew R. Kasun
11b1098390 replace ncutil.Log/PrintLog with logger.Log 2022-03-21 11:27:25 -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
afeiszli
25224f72ee random ID for comms nodes 2022-03-07 20:33:03 -05:00
Matthew R. Kasun
d7b0852e24 disable resolvctl dns 2022-03-03 15:07:27 -05:00
Matthew R. Kasun
6c064cd4c6 ensure new listen port is written to config files and mq uses comms network 2022-02-22 22:34:08 -05:00
Matthew R. Kasun
8ab0f1a46c deleted debugging log messages 2022-02-22 18:13:27 -05:00
afeiszli
04d15d27af listenport logic 2022-02-22 17:50:41 -05:00
0xdcarns
5f7c94b304 cleaned up logs, go initial updates working 2022-02-19 10:45:25 -05:00
0xdcarns
7bf716429f fixed some bugs around join.. 2022-02-18 20:21:03 -05:00
afeiszli
be1763bb74 removing old node logic 2022-02-18 10:15:21 -05:00
Matthew R. Kasun
e8a897f342 checkin logic updated 2022-02-15 15:40:38 -05:00
Matthew R. Kasun
e1bba1d89f set macaddress and nodeid if not set 2022-02-15 10:12:39 -05:00
afeiszli
96535554f5 fixing mac stuff and dns testing 2022-02-07 11:38:47 -05:00
0xdcarns
8ea0574be9 added cidr regardless 2022-02-06 11:06:04 -05:00
afeiszli
7bf864a387 fixing dns and various logs 2022-02-05 15:50:29 -05:00
afeiszli
2cbf08ad1e adding logic for key checks, OS on server 2022-02-04 14:19:26 -05:00
afeiszli
9400209d97 adding OS and Version 2022-02-03 15:33:19 -05:00
0xdcarns
06e2603c20 added time to prevent UDP reset 2022-02-03 09:51:37 -05:00
afeiszli
03a30b6bbc removing peer cache 2022-02-02 00:02:36 -05:00
afeiszli
f6c68bd209 removing UUID gen from client side 2022-02-01 22:01:30 -05:00
afeiszli
d2467e13f3 allow adding address 2022-02-01 15:27:00 -05:00
afeiszli
8c0341391c add logging to check for node publish 2022-02-01 11:31:19 -05:00
0xdcarns
410efbab50 switched to eliptical strategy 2022-01-29 18:18:46 -05:00
0xdcarns
3dadb8dcbf added e.. 2022-01-29 18:18:46 -05:00
0xdcarns
aa22afeb95 tracking mod 2022-01-29 18:18:46 -05:00
0xdcarns
d27dee0691 debugging 2022-01-29 18:18:46 -05:00
0xdcarns
0015d6fdf8 added encryption/decryption strategy 2022-01-29 18:18:46 -05:00
0xdcarns
dc93bd084e cleaned logs 2022-01-29 18:15:52 -05:00
0xdcarns
f5d763ca9f added mutex on log 2022-01-29 18:15:52 -05:00
0xdcarns
0d3813295d server update 2022-01-29 18:15:52 -05:00
0xdcarns
50016ed219 added legacy check to maintain compatibility 2022-01-17 14:22:39 -05:00
0xdcarns
e2ffcd4b3c adjusting client join 2022-01-17 14:21:40 -05:00
0xdcarns
f43e5d9aff change resolve to resolv 2022-01-05 15:17:28 -05:00
Matthew R Kasun
45464c00f5 use dns entry in wireguard config file; checkin temporarily disabled til figure issue with dns on checkin 2021-12-31 16:04:25 +00:00
afeiszli
801919ab0d fixing client issues for uspace, fwmark, vpn 2021-11-29 04:34:11 -05:00
afeiszli
84c8299bb0 freebsd working 2021-11-15 11:42:52 -05:00
afeiszli
5b3b6119ae adding sync 2021-11-12 11:24:29 -05:00
afeiszli
c2948a3671 added fwmark 2021-11-12 08:53:50 -05:00
afeiszli
656b864552 adding freebsd logic for static config 2021-11-10 11:59:03 -05:00
0xdcarns
c7ca3c2495 added backups to help with reboot 2021-11-03 15:43:10 -04:00
0xdcarns
72ce7dcfd0 format and update version in readme 2021-10-25 16:51:26 -04:00
afeiszli
7ae3559c0b fixing netclient logs 2021-10-20 11:45:11 -04:00
afeiszli
c26f887e27 updating install script and README 2021-10-20 11:06:54 -04:00
0xdcarns
3f2e4ab764 transplanted join. 2021-10-12 15:44:19 -04:00
0xdcarns
d7cafbbc4c code linting 2021-10-08 15:07:12 -04:00
0xdcarns
989676e77f Combined client + server code, Added HA ability, minor bug fixes 2021-10-06 17:48:54 -04:00
afeiszli
1661f3dabf fixing dns setting on netclient 2021-09-29 10:02:34 -04:00
worker-9
5cf69ebe5b added conn closes 2021-09-23 09:04:33 -04:00