Commit graph

1305 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
87ef555542
NET1847:Add STUN settings (#3235)
* add setting to turn on/off STUN

* sync stun setting in peerUpdate

* sync stun servers setting in peerUpdate
2024-12-06 09:38:32 +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
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
64f730f6f0 list cache 2024-11-27 15:05:08 +04:00
abhishek9686
cbe660fbf2 get all nodes on startup 2024-11-27 15:01:26 +04:00
abhishek9686
cde56204fc load all nodes into cache 2024-11-27 14:56:24 +04:00
abhishek9686
698032a4dc load acls into cache 2024-11-27 12:57:48 +04:00
abhishek9686
7df8196aba initiliase acl cache 2024-11-27 12:28:08 +04:00
Abhishek K
0351434a4e
Merge pull request #3205 from gravitl/NET-1773-acls
NET-1773: block tag deletion if used by an acl policy
2024-11-18 15:07:21 +04:00
abhishek9686
604f8f5ef2 fix old acls migration 2024-11-15 21:07:40 +04:00
abhishek9686
8a948187bb block tag deletion if used by a acl policy 2024-11-15 15:39:36 +04:00
abhishek9686
c8048da70c limit ext names to 15 2024-11-14 13:43:36 +04:00
abhishek9686
edcb19f7eb set relayed peer endpoint to nil on relay 2024-11-10 20:28:33 +04:00
abhishek9686
dc03269771 set peer endpoint if host endpoint is nil 2024-11-10 19:14:45 +04:00
abhishek9686
87b790aaa6 set peer endpoint if host endpoint is nil 2024-11-10 18:59:52 +04:00
abhishek9686
15bfcada65 sort extclients 2024-11-10 16:38:14 +04:00
abhishek9686
ce93c9e0c1 add migrate fix on tags init 2024-11-08 10:55:43 +04:00
abhishek9686
a7ccf13cc8 default value set on acls 2024-11-08 10:46:06 +04:00
abhishek9686
bfc437bc9f add security to cpu profile 2024-11-08 10:37:43 +04:00
abhishek9686
e6656209f9 add default global roles to admin users 2024-11-08 10:33:56 +04:00
abhishek9686
574598a2a3 fix acls cache 2024-11-07 21:55:19 +04:00
abhishek9686
163bc9e620 cache new acls 2024-11-07 19:32:20 +04:00
abhishek9686
f973d3d9e1 cache acls v1 2024-11-07 18:25:26 +04:00
abhishek9686
16b693815f add cpu profiling endpoint 2024-11-07 18:18:08 +04:00
abhishek9686
bb06ddaabe improve egress error 2024-11-07 11:44:08 +04:00
abhishek9686
4cf6771b11 remove firewall requirement for ingress node 2024-11-07 11:42:57 +04:00
Abhishek K
4f172142db
Merge pull request #3176 from gravitl/NET-1737
NET-1737: use cloned copy of acl object
2024-11-04 20:22:59 +04:00
abhishek9686
c07b32d167 fix all networks user grp 2024-11-04 16:58:03 +04:00
abhishek9686
bab772f562 set last checkin status 2024-11-04 13:02:20 +04:00
abhishek9686
38cb4d86e4 return clone of map 2024-11-04 12:46:08 +04:00
abhishek9686
e36eef476a perform acl operations on cloned map 2024-11-04 12:38:08 +04:00
abhishek9686
811956bb4e set default value on model 2024-11-01 16:35:44 +04:00
abhishek9686
df3662f0cc check for custom all policies 2024-10-31 15:13:29 +04:00
abhishek9686
4b99435cbc user roles and groups migration 2024-10-31 11:58:54 +04:00
abhishek9686
7fa87219c1 fix static check 2024-10-30 20:41:56 +04:00
abhishek9686
b85585ab9e check for custom allow all 2024-10-30 19:40:41 +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
0ddbf7958e fix rebase errors 2024-10-30 12:02:42 +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
cd669774c0 fix node addr mask 2024-10-30 10:21:34 +04:00
abhishek9686
ea46ea5378 fix extclient allowed Ips 2024-10-29 22:57:58 +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
2ee3cefc18 Revert "chnage egress range type to string"
This reverts commit a0735e8203.
2024-10-29 13:00:28 +04:00
abhishek9686
a0735e8203 chnage egress range type to string 2024-10-29 12:59:24 +04:00