Commit graph

1207 commits

Author SHA1 Message Date
Yabin Ma
5f21c8bb1d
NET-1778: scale test code changes (#3203)
* comment ACL call and add debug message

* add cache for network nodes

* fix load node to network cache issue

* add peerUpdate call 1 min limit

* add debug log for scale test

* release maps

* avoid default policy for node

* 1 min limit for peerUpdate trigger

* mq options

* Revert "mq options"

This reverts commit 10b93d0118.

* set peerUpdate run in sequence

* update for emqx 5.8.2

* remove batch peer update

* change the sleep to 10 millisec to avoid timeout

* add compress and change encrypt for peerUpdate message

* add mem profiling and automaxprocs

* add failover ctx mutex

* ignore request to failover peer

* remove code without called

* remove debug logs

* update emqx to v5.8.2

* change broker keepalive

* add OLD_ACL_SUPPORT setting

* add host version check for message encrypt

* remove debug message

* remove peerUpdate call control

---------

Co-authored-by: abhishek9686 <abhi281342@gmail.com>
2024-12-10 10:15:31 +04:00
Yabin Ma
c56f1cab15
fix swagger generation issue (#3241) 2024-12-10 08:41:41 +04:00
Abhishek K
5cb49e3d45
Merge pull request #3231 from gravitl/NET-1842
NET-1842:initialize cache in startup
2024-12-04 12:33:05 +04:00
Aceix
89751480e8
feat: receive device info and public endpoint from rac (#3215) 2024-12-03 13:19:43 +04:00
Yabin Ma
71162e401d
forbid duplicated ip in Edit node (#3206) 2024-12-03 13:18:02 +04:00
Max Ma
e8d3e80b08 initialize cache in startup 2024-11-29 11:35:34 +01:00
abhishek9686
8a948187bb block tag deletion if used by a acl policy 2024-11-15 15:39:36 +04:00
abhishek9686
dcbe94eeb5 avoid adding static nodes to tags 2024-11-11 21:31:10 +04:00
abhishek9686
348a4d963b comment out default pro trial 2024-11-11 09:48:18 +04:00
abhishek9686
32dfcecdff add security to cpu profile 2024-11-08 10:36:25 +04:00
abhishek9686
16b693815f add cpu profiling endpoint 2024-11-07 18:18:08 +04:00
abhishek9686
3e90dbe75a comment default dns setting for extclients 2024-11-01 16:58:37 +04:00
abhishek9686
4b99435cbc user roles and groups migration 2024-10-31 11:58:54 +04:00
abhishek9686
167d29a96b remove * on default grp, add admins to admin net groups by default 2024-10-30 19:22:05 +04:00
abhishek9686
56d5c85da7 block default key deletion,delete default key on network deletion 2024-10-30 15:58:55 +04:00
abhishek9686
0d6792c21b Merge branch 'develop' of https://github.com/gravitl/netmaker into NET-1615 2024-10-30 11:49:54 +04:00
Abhishek K
f63ed23b61
Merge pull request #3160 from gravitl/NET-1640
NET-1640: Include static Nodes in the nodes api
2024-10-30 11:49:10 +04:00
Abhishek K
4ec1ea4831
Merge pull request #3161 from gravitl/NET-1613
NET-1613: TAG Mgmt APIs
2024-10-30 11:48:42 +04:00
abhishek9686
9331431a4e Merge branch 'develop' of https://github.com/gravitl/netmaker into NET-1615 2024-10-30 11:40:22 +04:00
abhishek9686
ffd0133468 add middleware acl check 2024-10-29 15:28:25 +04:00
Max Ma
5c15f3d9eb
NET-1603: Manage DNS NM changes (#3124)
* add switch for manage dns

* manage DNS sync publish

* add dns sync api

* add manageDNS field in peerUpdate

* add default dns for extClent if manage dns enabled

* add DEFAULT_DOMAIN for internal DNS lookup

* move DNSSync to peerUpdate

* fix empty host in network issue

* sync up dns when custom dns add/delete

* fix custom DNS ip4/ipv6 validator issue
2024-10-29 13:53:45 +04:00
abhishek9686
ebc3e90301 add extclient egress ranges 2024-10-29 12:41:40 +04:00
abhishek9686
2cc54d949c remove user role from policy types 2024-10-29 08:51:27 +04:00
abhishek9686
4eacadbb27 convert network roles to groups, deprecate RAG roles 2024-10-28 16:18:50 +04:00
abhishek9686
f7b78ccad6 remove user role from acl policy types 2024-10-28 11:39:16 +04:00
abhishek9686
8e661eb59e resolve merge conflicts 2024-10-27 23:42:06 +04:00
abhishek9686
79048868d9 fix client validation messages 2024-10-25 16:17:55 +04:00
abhishek9686
10de931a86 fix extclient validation err messages 2024-10-24 15:16:59 +04:00
the_aceix
1cf828961d fix(NET-1613): patch api responses fot create and update tags 2024-10-24 10:05:24 +00:00
abhishek9686
0c882db508 send peer updates on user updates and ingress gw 2024-10-23 22:31:16 +04:00
abhishek9686
f51f655f00 send peer updates on user updates and ingress gw 2024-10-23 22:30:36 +04:00
abhishek9686
6c52b68214 fix ingress firewall updates 2024-10-22 19:54:23 +04:00
abhishek9686
6b93163bd5 fix user policy acls 2024-10-19 13:50:54 +04:00
abhishek9686
c37cf2b7e3 create default user policies 2024-10-18 16:53:39 +04:00
abhishek9686
5418e9a13f resolve merge conflicts 2024-10-18 10:10:43 +04:00
abhishek9686
d2918ccc2f support tags system on ext clients 2024-10-17 19:33:43 +04:00
abhishek9686
6c1208ad81 resolve merge conflicts 2024-10-17 15:15:54 +04:00
abhishek9686
67563ab753 resolve merge conflicts 2024-10-17 15:15:00 +04:00
abhishek9686
4e4ffac787 fix acls peer update logic 2024-10-17 13:07:46 +04:00
abhishek9686
2ea707fb5c resolve merge conflicts 2024-10-17 10:42:59 +04:00
abhishek9686
272dfda088 create default tags on network 2024-10-17 10:41:33 +04:00
abhishek9686
9efdbcb414 Merge branch 'develop' of https://github.com/gravitl/netmaker into NET-1613 2024-10-16 18:41:32 +04:00
abhishek9686
66871ab210 resolve merge conflict 2024-10-16 18:41:07 +04:00
abhishek9686
6ccafe82ed set static nodes to list 2024-10-15 19:36:46 +04:00
abhishek9686
b41353b415 add static nodes to api resp 2024-10-14 16:36:25 +04:00
Max Ma
24cee9b6de
NET-1608:reset failover if endpoint changed (#3149)
* reset failover if endpoint changed

* add peerUpdate in pull when resetfailover

* remove go routine for peerUpdate in pull

* update peerUpdate in pull
2024-10-10 13:15:58 +04:00
Abhishek K
1f9808ff59
NET-1604: New Simplified RAC Apis (#3147)
* ipv6 fix for mobile apps

* simplified RAC APIs

* add response to invite api

* fix get config api

* fix middleware for auth

* add separate controller for rac apis

* Revert "ipv6 fix for mobile apps"

This reverts commit dc84d90be2.
2024-10-01 17:48:36 +04:00
abhishek9686
a9697f9d7b add acl types api 2024-09-30 12:42:26 +04:00
Abhishek K
427a3b1ad0
Merge pull request #3141 from gravitl/master
Master
2024-09-29 16:47:36 +04:00
abhishek9686
1561aaf788 remove query unescape usage 2024-09-29 16:00:38 +04:00