Commit graph

95 commits

Author SHA1 Message Date
cameronts
7c2fce3a55 Change to expandable switch-based firewall detection. 2022-08-03 12:18:04 -07:00
cameronts
e6d7c95669 Add netclient detection of nftables. 2022-08-02 15:01:45 -07:00
Christopher Blaha
d0c09aa2c0 fixed lowercase letters and extra spaces 2022-07-23 08:54:20 -04:00
Christopher Blaha
9be779f666 log messages 2022-07-22 20:32:34 -04:00
Matthew R. Kasun
30629ae6bc updated logic for join/leave network 2022-07-14 13:48:11 -04:00
0xdcarns
5fc73e6a80 added inform port change util func 2022-07-07 09:52:20 -04:00
afeiszli
c06c7868c0 moving port check logic 2022-07-06 15:20:28 -04:00
Matthew R. Kasun
0410e1d4fb install command 2022-06-23 14:06:26 -04:00
Matthew R. Kasun
c8ec46391d refactor logic for client.key generation 2022-06-22 09:55:10 -04:00
guppy0130
5ca5710f61
typo fixup, resolves #1181
* fixes a typo
2022-06-03 22:57:09 -07:00
Matthew R. Kasun
9578b72d5e remove publish prior to registration with server 2022-06-01 08:00:22 -04:00
afeiszli
8d422526b3 refactoring servercfg 2022-05-31 12:07:56 -04:00
afeiszli
0865a535c7 changing broker retrieval/setting logic 2022-05-30 12:39:33 -04:00
afeiszli
9480d13b57 log 2022-05-23 15:24:09 -04:00
afeiszli
e8f667872e fixing logic for port setting 2022-05-23 15:24:09 -04:00
0xdcarns
3e0094e822 made daemon install optional and changed mac logging path 2022-05-13 09:35:00 -04:00
0xdcarns
cfb0904bd6 refactor + bugs 2022-04-25 19:33:31 -04:00
0xdcarns
a6ee8101e6 small refactors 2022-04-25 19:28:56 -04:00
0xdcarns
68b52279ae added peers to pull/join responses 2022-04-25 16:30:18 -04:00
afeiszli
14cebf56a0 rebased off develop 2022-04-25 11:37:30 -04:00
Matthew R. Kasun
d626cf0e9b remove write and return error 2022-04-25 11:11:44 -04:00
Matthew R. Kasun
38309aab20 remove cfg.Registered 2022-04-25 11:07:21 -04:00
Matthew R. Kasun
f5aa1d1e62 reorder register/join 2022-04-25 10:38:29 -04:00
Matthew R. Kasun
747d6bc692 remove comms network leftovers
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-22 05:21:35 -04:00
Matthew R. Kasun
7152f6ccd4 remove references to grpc/comms net 2022-04-21 15:53:44 -04:00
Matthew R. Kasun
955e0e544c join as api call
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-20 15:46:19 -04:00
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