Commit graph

253 commits

Author SHA1 Message Date
Abhishek Kondur 599656618d func comments,rm old proxy code 2023-01-10 19:52:54 +05:30
Abhishek Kondur 9b1d8b1d89 remove parameters from mq peer msg 2023-01-10 10:49:15 +05:30
Abhishek Kondur 3e2d22a16b add proxy action to peer update 2023-01-09 09:11:39 +05:30
Abhishek Kondur 893f13d8b4 proxy update json marshal fix 2023-01-09 08:12:26 +05:30
Abhishek Kondur 95b578455d proxy updates refactor changes 2023-01-08 18:50:02 +05:30
Abhishek Kondur 023f29ee71 pr comments 2023-01-06 21:27:40 +05:30
Abhishek Kondur 2e7f9524e3 rm unwanted acl 2023-01-06 19:03:08 +05:30
Abhishek Kondur 68ed1b8b33 periodic host updates 2023-01-06 17:52:17 +05:30
Abhishek Kondur ca3d9dc40b fix node update 2023-01-06 16:58:41 +05:30
Abhishek Kondur 9f0ef1628c node update fix, nil pointer errors fix 2023-01-06 00:29:55 +05:30
Abhishek Kondur 72e4b914b9 move peers to host level 2023-01-05 09:24:46 +05:30
Abhishek Kondur 21133bca7d host based updates 2023-01-04 20:02:02 +05:30
Abhishek Kondur 88902f7823 fix host peer update model,add server name to peer update topic 2023-01-04 11:03:13 +05:30
Abhishek Kondur f789e92023 delete host role when client is delete 2023-01-04 10:07:29 +05:30
Abhishek Kondur 4c0866723f add new host role with acls 2023-01-04 10:05:05 +05:30
0xdcarns 8c92308ccf made mq functions a little easier to read and re-use 2022-12-28 12:10:03 -05:00
Abhishek Kondur 2cb3ee65af change proxy models reference paths 2022-12-27 21:56:55 +05:30
Matthew R. Kasun eae92470c5 refactor of peerUpdate
contains some debugging logging
2022-12-23 13:41:17 -05:00
Matthew R. Kasun bce2f8a45c fix compile errors 2022-12-22 06:42:33 -05:00
Matthew R. Kasun 38cd4d7700 refactor join
also removes server node
suspect there may be issues with proxy
and UI interactions with nodes
2022-12-20 15:29:09 -05:00
Matthew R. Kasun c086e9499d rebase
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-12-19 15:15:35 -05:00
Matthew R Kasun 55f7a0eb02
Merge pull request #1828 from gravitl/story/GRA-752
fix(GRA-752f): add address string to be sent to frontend
2022-12-16 07:42:07 -05:00
Aceix 457060d41a fix(GRA-752f): add address string to be sent to frontend 2022-12-14 11:39:33 +00:00
Abhishek Kondur 792dc686d9 check if proxy is enabled 2022-12-13 10:45:57 +05:30
Abhishek Kondur 8cf3144013 publish proxy for ext peers 2022-12-13 10:44:28 +05:30
Abhishek Kondur e00199a650 update proxy pkg path 2022-12-09 00:54:11 +05:30
Abhishek Kondur 7f5e1a141f store proxy metrics in the server 2022-12-08 14:20:50 +05:30
Abhishek Kondur 80c7d46ec6 docker compose update, add stun to caddyfile 2022-12-06 19:27:38 +05:30
Abhishek Kondur 4b1a85a3ee proxy changes 2022-12-02 17:35:41 +05:30
Abhishek Kondur 5b7ead91e6 merge conflicts resolved 2022-12-02 10:08:01 +05:30
Matthew R. Kasun c5919b347c local interfaces 2022-11-28 12:58:24 -05:00
Abhishek Kondur 972ded5a2d change listen port to proxy on ext client creation if proxy used on ingress GW 2022-11-27 22:22:54 +05:30
Abhishek Kondur 40a9ae0e76 return after pushing proxy updateto server 2022-11-20 15:10:20 +05:30
Abhishek Kondur f95306ddbd make proxy optional 2022-11-20 09:35:29 +05:30
Abhishek Kondur c54080e150 fix relay updates for proxy 2022-11-18 10:48:28 +05:30
Abhishek Kondur a7c0abe2fc refactor proxy updates 2022-11-07 01:25:04 +05:30
Abhishek Kondur acae6c3aed added relay functionality to proxy 2022-11-04 01:24:48 +05:30
Abhishek Kondur 17e05d430b sync peers updates with proxy 2022-11-02 15:33:42 +05:30
Abhishek Kondur 474bd14e36 configure proxy on node updates 2022-10-31 10:32:04 +05:30
Abhishek Kondur 6b8d633386 use local variable for mq configuration 2022-10-21 13:31:42 +05:30
Abhishek Kondur 9eed7d50a1 check for umarshal errors 2022-10-21 13:24:22 +05:30
Abhishek Kondur 4647b64b05 added log stmt 2022-10-21 13:07:14 +05:30
Abhishek Kondur 8235ae2e6b add exporter client if not present 2022-10-21 13:03:28 +05:30
Abhishek Kondur 33ac0bfdb9 keep the passwords in sync 2022-10-21 12:10:12 +05:30
0xdcarns 90451adf9e adjusted check further 2022-10-17 11:16:44 -04:00
0xdcarns e6d956c8a5 adjusted check for clients on non servers 2022-10-14 12:15:01 -04:00
Alex Feiszli 4a9e5580fa
Merge pull request #1651 from gravitl/feature_v0.16.2_client_metrics
Feature v0.16.2 client metrics
2022-10-14 09:43:13 -04:00
0xdcarns 3b1ff49344 added better handling of wg ifaces on windows + fix connect issue 2022-10-13 11:30:21 -04:00
0xdcarns 13c3b564a1 rough draft 2022-10-11 15:30:55 -04:00
0xdcarns b7a24b98ba added controller for ext client metrics and logic for ingress server 2022-10-11 14:13:17 -04:00
Abhishek Kondur acd7a70b77 PR comments resolved 2022-10-01 06:27:30 +05:30
Abhishek Kondur 5dd5b73607 added comment 2022-09-30 21:09:45 +05:30
Abhishek Kondur 4678332e3a make node acls generic 2022-09-30 20:59:03 +05:30
Abhishek Kondur 1827f8c3b5 merge conflicts resolved 2022-09-30 20:15:17 +05:30
Abhishek Kondur f0a3e2c4ce change node acls to be more generic 2022-09-30 19:55:18 +05:30
Abhishek Kondur 0df6d1761e add subscription pattern to acls,fix NaN value in metrics for uptime,get real iface name for mac 2022-09-30 18:31:57 +05:30
afeiszli c8672818fe adding resets and single peer update on metrics disconnect detections 2022-09-29 14:49:44 -04:00
Abhishek Kondur 677d9fcc8d added comments 2022-09-29 23:59:18 +05:30
Abhishek Kondur b2df99e2c0 check if EE to configure exporter for MQ 2022-09-29 23:29:24 +05:30
Abhishek Kondur a95468111d added roles,acls for clients 2022-09-29 22:54:41 +05:30
0xdcarns f2606dd3cb addressed PR comments 2022-09-29 09:49:06 -04:00
0xdcarns e5ffe3114d added additional failover qualifieers 2022-09-28 16:50:57 -04:00
0xdcarns b6d18f86a3 changed should peer update logic on metrics and fixed ee ref 2022-09-28 16:31:46 -04:00
0xdcarns eb75a6829c added wipe failover cases and ceased node update on metrics update 2022-09-28 16:17:49 -04:00
0xdcarns 40f7036093 fixed first two issues 2022-09-28 15:22:12 -04:00
0xdcarns b95f3eb846 initial PoC completed 2022-09-28 14:59:21 -04:00
0xdcarns 75fc15ac4c commented out logic 2022-09-28 13:05:41 -04:00
Abhishek Kondur fed66c4b8d json tag fix,create client with password before hashing 2022-09-28 17:58:43 +05:30
afeiszli 78bacce528 add ability to reset failover 2022-09-27 14:42:14 -04:00
afeiszli 29ce2fa57a refactor failover logic to set per-peer. Uses Ingress Gateway logic instead of Relay logic 2022-09-27 13:59:49 -04:00
0xdcarns d565dbeaf8 initial logic for failover 2022-09-27 10:30:01 -04:00
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 3d5eac6905 rm channel 2022-09-26 21:55:24 +05:30
Abhishek Kondur faf7addcf5 Merge branch 'bugfix_v0.16.1_ee_checks' of https://github.com/gravitl/netmaker into feature_dyn_sec_latest 2022-09-26 18:09:34 +05:30
Abhishek Kondur f632bec11d merge conflicts resolved 2022-09-26 17:47:20 +05:30
Abhishek Kondur 698a4be861 configure mq on startup 2022-09-26 16:57:10 +05:30
Matthew R. Kasun 5f7d6ea1ef logic.Is_EE --> systemcfg.Is_EE 2022-09-25 07:11:26 -04:00
Abhishek Kondur bcaf009cd7 disconnect mq conn after updating admin password 2022-09-16 15:53:31 +05:30
Abhishek Kondur 1b4128bf69 configure mq to update admin password 2022-09-16 15:40:42 +05:30
Abhishek Kondur 2eb5cde6ab dyn sec netclient changes 2022-09-16 11:35:28 +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
afeiszli b670755cce refactoring for ee 2022-09-14 13:26:31 -04:00
Abhishek Kondur 5270c1ede8 watch dynsec messages,create client on node join 2022-09-14 15:59:22 +05:30
afeiszli e637c3d550 dont publish server metrics 2022-09-13 16:35:14 -04:00
0xdcarns 88cd0a6497 initial commit 2022-09-13 15:25:56 -04:00
Abhishek Kondur 08a6ed483c dynsec intial code 2022-09-13 23:33:39 +05:30
Matthew R. Kasun 84e58d0d5a send connected status on checkin 2022-09-08 06:19:10 -04:00
Alex Feiszli 1f7a587d3e
Merge pull request #1510 from gravitl/feature_v0.15.1_accesskeysisolation
Feature v0.15.1 accesskeysisolation
2022-09-02 14:35:53 -04:00
cameronts 53385eb100 Updated per commit comments. 2022-09-02 07:29:29 -07:00
cameronts 59351b1e00 Access key blanking for calls that the client uses. 2022-09-02 04:40:14 -07:00
Matthew R. Kasun c9037db19f remove debugging logs 2022-08-29 14:29:28 -04:00
Matthew R. Kasun 49c6380643 reuse mq connections 2022-08-29 14:08:01 -04:00
Matthew R. Kasun 104a715ec5 update lastcheckin in addition to lastmodified on node update 2022-08-18 08:14:37 -04:00
0xdcarns bda4268fc8 changed to always update server check-in times even when not leader 2022-07-15 08:55:01 -04:00
Abhishek Kondur 8e70a254fb GRA-414: check for empty records 2022-07-13 15:24:11 +04:00
0xdcarns edcbc912a0 added option for insecure mqtt connections 2022-07-07 15:38:13 -04:00
Matthew R. Kasun e5a59d7081 add bool to control update to node 2022-07-07 05:52:43 -04:00
0xdcarns c12748671d reduce number of peer updates sent 2022-07-06 10:06:39 -04:00
0xdcarns 47005b7ea4 removed useless continue 2022-07-05 20:19:19 -04:00