Commit graph

1275 commits

Author SHA1 Message Date
abhishek9686
8f370a74a9 fix ipv6 addr rules on gw node 2025-03-06 19:01:53 +04:00
abhishek9686
6e1b16a6ea fix ext-ext comms 2025-03-06 03:45:09 +04:00
abhishek9686
9a1c1c281b fix extclient comms to gws 2025-03-05 23:24:24 +04:00
abhishek9686
984db44c78 fix extclient comms to gws 2025-03-05 23:06:38 +04:00
abhishek9686
e22519c07e fix acls rules on node 2025-03-05 20:35:21 +04:00
abhishek9686
b45a926649 optimise static node rules, fix traffic flows for static nodes 2025-03-05 14:26:35 +04:00
abhishek9686
2cb5519978 fix egress range comparison 2025-03-03 20:24:18 +04:00
abhishek9686
d21411392b fix integration tests 2025-03-03 12:05:23 +04:00
abhishek9686
7e0ff17420 validate egress ranges with metric 2025-03-03 11:33:46 +04:00
abhishek9686
f5d6717186 add egress routes with metric to peer update 2025-03-03 00:34:45 +04:00
abhishek9686
33fafa83e6 add nameservers to dns settins 2025-02-28 21:49:53 +04:00
abhishek9686
225bf37e02 resolve merge conflicts 2025-02-28 12:18:38 +04:00
abhishek9686
ce6ec25253 fix network ip allocation in HA 2025-02-27 16:26:15 +04:00
abhishek9686
46eea43397 add mutex for target nodes 2025-02-25 19:41:57 +04:00
abhishek9686
dd8cd5856e change mutex to write lock 2025-02-24 13:38:34 +03:00
abhishek9686
e50da805d4 Merge branch 'develop' of https://github.com/gravitl/netmaker into NET-1911 2025-02-24 08:53:49 +03:00
Abhishek K
48535f7ef1
NET-1956: Async Node Status API (#3341)
* add node status api

* upsate node status api to return map data

* resolve merge conflicts
2025-02-24 08:48:24 +03:00
Aceix
2fcdd865c8
fix: unlnk deleted networks and tags from enrollment keys (#3328) 2025-02-24 08:22:18 +03:00
Aceix
f46030e40f
fix: add user group struct to get user response (#3336)
* fix: add user group struct to user response

* fix: set auto-created network groups as default
2025-02-24 08:17:55 +03:00
abhishek9686
0256458a59 change mutex lock 2025-02-21 15:12:26 +03:00
abhishek9686
ce50b965d4 add peer mutex 2025-02-19 23:04:50 +04:00
abhishek9686
92698363cd add node mutex to model 2025-02-19 22:17:40 +04:00
abhishek9686
9590f9e5a4 resolve merge conflicts 2025-02-19 09:33:23 +04:00
Abhishek K
ee6bea117f
Merge branch 'develop' into master 2025-02-19 01:14:06 +04:00
abhishek9686
98606bc2dc fix static node ingress rules 2025-02-19 00:52:40 +04:00
abhishek9686
7dd4c048c3 add mutex around peer tags 2025-02-18 22:10:03 +04:00
abhishek9686
8536f0eeb9 extclients from policies 2025-02-18 16:39:19 +04:00
abhishek9686
d22a6a39e3 resolve merge conflicts 2025-02-17 20:29:29 +04:00
Abhishek K
f028a6374d
Merge pull request #3332 from gravitl/master
Master
2025-02-17 18:10:19 +04:00
abhishek9686
252de61aa7 clone node tags 2025-02-17 17:55:53 +04:00
abhishek9686
9812b5c428 remove deleted users from acl policy 2025-02-14 21:05:31 +04:00
abhishek9686
ed1f48a4b4 remove node id from acls when deleted 2025-02-14 19:59:58 +04:00
abhishek9686
41fa0b1bce resolve merge conflicts 2025-02-14 18:24:56 +04:00
Abhishek K
689b9b6b52
NET-1941: failover signaling optimized, new endpoint for metrics peer info (#3322)
* optimise acl cache with network map

* fix mutex clash

* fix acl mutex

* add new endpoint for metrics peer info

* fix static check

* add new endpoint for metrics peer info

* fix host peer info api params

* cache failover data

* add json tag

* avoid duplicate calls to failover

* add failover check ctx

* add failover check ctx

* fix failover debug log

* optimise failover operations

* remove debug logs

* rm unused model

* rm unused model
2025-02-14 16:06:26 +04:00
Abhishek K
fb02979697
Merge pull request #3330 from gravitl/master
Master
2025-02-14 09:41:34 +04:00
abhishek9686
bee1f4dda4 remove debug log, fix concurrent map write issue 2025-02-13 22:53:05 +04:00
abhishek9686
28af1156e6 fix static node id policy 2025-02-09 12:26:46 +04:00
abhishek9686
fabc9f2920 optimise firewall rules 2025-02-08 20:57:09 +04:00
abhishek9686
61bf479e50 upsert on color update 2025-02-07 17:23:53 +04:00
abhishek9686
3bdb7fb5e3 fix src policy check 2025-02-05 22:39:13 +04:00
abhishek9686
a9c14c4643 Merge branch 'develop' of https://github.com/gravitl/netmaker into NET-1911 2025-02-04 19:32:25 +04:00
Abhishek K
64bc351564
Merge pull request #3315 from gravitl/master
Master
2025-02-04 19:32:14 +04:00
abhishek9686
01e7ccf731 don't override acl rules for multi-net host 2025-02-04 15:34:03 +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
abhishek9686
46d79ee512 support static nodes in standalone device policies 2025-02-03 16:02:42 +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
9a40717b5b fix single device policies 2025-02-01 16:54:43 +04:00
abhishek9686
d2d5658a01 Merge branch 'develop' of https://github.com/gravitl/netmaker into NET-1911 2025-01-31 20:26:24 +04:00
abhishek9686
2c720d022b fix user acl device policy 2025-01-29 11:07:44 +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