Abhishek K
64bc351564
Merge pull request #3315 from gravitl/master
...
Master
2025-02-04 19:32:14 +04:00
Abhishek K
e13bf2c0eb
NET-1923: Add Metric Port to server config ( #3306 )
...
* set default metrics port 8889
* set default metrics port 51821
* add metrics port to server config
* bind caddy only on tcp
* add var for pulling files
* add new line
* update peer update model
* check if port is not zero
* set replace peer to false on pull
* do not replace peers on failover sync
* remove debug log
* add old peer update fields for backwards compatibility
* add old json tag
* add debug log in caller trace func
2025-02-04 08:44:24 +04:00
Abhishek K
4431dc99a7
NET-1933: option to force destroy network ( #3311 )
...
* option to force destroy network
* fix network tests
* fix network defaults func
* fix network destroy action
* delete network if node count is zero
* push peer update network deletion
* send node update
2025-02-03 15:19:44 +04:00
abhishek9686
68b257b2ec
update default acl field
2025-01-30 15:55:41 +04:00
Vishal Dalwadi
cec48be354
NET-1906: Add endpoints for Sync All Hosts and Upgrade All Hosts. ( #3302 )
...
* feat(go): add endpoint to sync all hosts.
* feat(go): add endpoint to upgrade all hosts.
* feat(go): allow force upgrade of hosts.
* fix(go): config yaml tag.
2025-01-28 11:33:38 +05:30
Abhishek K
8297642b90
NET-1914: add gw apis, move relays into CE ( #3309 )
...
* add gw apis, move relays into CE
* set gw field on relay and ingress creation
* add gw handlers to relay and ingress apis
* if node is inetgw and gw add dns
* remove pro check on relays
* fetch node before updating
2025-01-28 11:28:31 +05:30
abhishek9686
557270acdb
add config to check for reset peer udpate
2025-01-20 17:56:33 +05:30
abhishek9686
715ed23553
remove default value on dns domain
2024-12-18 23:07:37 +04:00
Abhishek K
fc8675bf9c
NET-1867: add default domain to all entries ( #3252 )
...
* add dns entry validation check
* append default domain if not append
* add dot for default domain
* fix dns tests
2024-12-16 12:18:32 +04:00
Abhishek K
116e2ef959
Net 1784 latest ( #3250 )
...
* fix all resources rules
* for any service set defaults
2024-12-12 10:02:31 +04:00
Abhishek K
7093373c77
NET-1784: Migrate All Policies ( #3245 )
...
* migrate all policies
* migrate all policies
* add acl policy type for any traffic
* use any service type for migration
2024-12-10 11:55:37 +04:00
Abhishek K
f124b10c35
NET-1784: Adv Acl Rules ( #3239 )
...
* define direction on acl req
* define protocol types and rule model
* get rules for node
* fetch acl rule for a node
* redine acl firewall model
* add json tags
* update port,protocol, and direction
* add json tags to acl options
* convert protocol to string
* simplify acl map
* add json tags to acl rules
* add networks to fw update
* add acls rules
* NET-1784: add allow all field
* add allow all field on fw udpate
* remove debug logs
* fix port and protocol types
* migrate default acl policies
* define constants for service types
* add adv options for user rules on ingress gw
* debug log
* allow whole network
* add static nodes to acl rules
* replace peers on acl updates
* initiliase rule map
* add user acl rules on target node
* revert acl check on extclient
* handle static node rules on ingress gw
* update multiple policies for users
* check allowed direction
* remove debug logs
2024-12-10 11:21:14 +04:00
Abhishek K
31c2311bef
NET-1782: Fetch Node Connection Status from metrics ( #3237 )
...
* add live status of node
* handle static node status
* add public IP field to server configuration
* get public Ip from config
* improve node status logic
* improvise status check
* use only checkin status on old nodes
---------
Co-authored-by: the_aceix <aceixsmartx@gmail.com>
2024-12-10 10:46:05 +04:00
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