Commit graph

114 commits

Author SHA1 Message Date
Abhishek Kondur 878430bf75 create client for nodes on authenticate,generate dyn sec file on startup 2022-09-27 17:36:33 +05:30
Abhishek Kondur f632bec11d merge conflicts resolved 2022-09-26 17:47:20 +05:30
afeiszli a6eac84e51 removing log 2022-09-19 16:14:51 -04:00
afeiszli f63b88db73 fixing sso error handling 2022-09-19 15:37:00 -04:00
Abhishek Kondur 5ca355523b rm commented code related to broker certs 2022-09-16 11:50:36 +05:30
0xdcarns b1b497faa4 PR comments addressed 2022-09-15 10:23:19 -04:00
Abhishek Kondur 7db3bd3aca comment certs code for mq 2022-09-15 09:23:33 +05:30
0xdcarns 88cd0a6497 initial commit 2022-09-13 15:25:56 -04:00
afeiszli dda52fe286 changing log to logger.log 2022-09-07 08:09:11 -04:00
Alex Feiszli 2fb0056ce5
Merge pull request #1495 from gravitl/feature_v0.15.1_reuse_mq_connection
Feature v0.15.1 reuse mq connection
2022-08-30 16:12:35 -04:00
0xdcarns 2f792e92df removed param 2022-08-30 10:53:52 -04:00
Matthew R. Kasun 49c6380643 reuse mq connections 2022-08-29 14:08:01 -04:00
Hintay 97f00aeb8b
Fix panic if interfaces does not have any mac address 2022-08-28 20:14:01 +08:00
Matthew R. Kasun 997ec430ce prefer nft over iptables 2022-08-25 08:37:26 -04:00
Matthew R. Kasun 4e61f6a586 prefer iptables 2022-08-24 08:03:31 -04:00
Matthew R. Kasun d83be55d70 single http client 2022-08-23 14:18:22 -04:00
afeiszli 858e57e958 add explicit routing + domain for netmaker 2022-08-23 10:12:13 -04:00
Matthew R. Kasun f536f0465c check firewall type on gateway creation 2022-08-19 15:32:25 -04:00
afeiszli 983d90026c move client public ip check to use server 2022-08-17 17:30:30 -04:00
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