Commit graph

226 commits

Author SHA1 Message Date
abhishek9686
088b4ef82b check peer status 2025-01-06 17:54:04 +04:00
Abhishek K
629f6d3d70
Merge pull request #3273 from gravitl/NET-1784-release
add all proto to default user policies
2024-12-20 20:11:57 +04:00
abhishek9686
27088a3595 add all proto to default user policies 2024-12-20 20:10:57 +04:00
Abhishek K
93219dd984
Merge pull request #3265 from gravitl/NET-1784-release
Net 1784 release
2024-12-18 23:09:02 +04:00
abhishek9686
73eed6e583 add service type to default acl polices 2024-12-18 16:18:24 +04:00
Aceix
b1d813a906
refactor: update metadata descriptions for Network User permissions (#3254) 2024-12-17 15:32:47 +04:00
Yabin Ma
1d9e0f71df
add format int64 for swagger doc (#3247)
* add format int64 for swagger doc

* add format int64 for swagger doc

* add global override

* swagger doc update

* add new line for .swaggo file
2024-12-12 09:52:52 +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
Vishal Dalwadi
496d541822
NET-1833: add retries to license key validation. (#3222)
* feat(go): add retries to license key validation.

* feat(go): increase the number of retries.
2024-12-10 10:15:54 +04:00
Yabin Ma
c56f1cab15
fix swagger generation issue (#3241) 2024-12-10 08:41:41 +04:00
Abhishek K
dbb44c2867
Merge pull request #3217 from gravitl/failover_mutex
Failover mutex
2024-11-23 18:18:36 +04:00
abhishek9686
44769aff31 ignore request to failover peer 2024-11-22 19:31:50 +04:00
abhishek9686
6f60551f02 add failover ctx mutex 2024-11-22 19:14:50 +04:00
abhishek9686
dcbe94eeb5 avoid adding static nodes to tags 2024-11-11 21:31:10 +04:00
Abhishek K
d485a3060f
Merge pull request #3195 from gravitl/NET-1773
NET-1773: Fix Platform User Permissions, comment out default pro trial on status api, peer endpoint fix
2024-11-11 11:27:24 +04:00
abhishek9686
378bac7452 add view only permissions for network users 2024-11-10 17:38:04 +04:00
Max Ma
e194d80fe9
fix metric cache map issue (#3191) 2024-11-10 15:30:21 +04:00
Abhishek K
b796331f3c
preserver platfrom user admin role (#3187) 2024-11-08 13:38:17 +04:00
abhishek9686
f13bdada89 ignore failover requests to failover node 2024-11-06 16:10:55 +04:00
abhishek9686
74579e467b disable default pro setup 2024-11-06 10:42:54 +04:00
abhishek9686
2339b49878 cannot update default groups 2024-11-05 15:05:59 +04:00
abhishek9686
c07b32d167 fix all networks user grp 2024-11-04 16:58:03 +04:00
abhishek9686
9609d87a87 skip clients loop when admin 2024-11-04 15:50:17 +04:00
abhishek9686
f24f3d84ab ignore non-rac clients in auto disable hook 2024-11-04 13:36:28 +04:00
abhishek9686
4b99435cbc user roles and groups migration 2024-10-31 11:58:54 +04:00
abhishek9686
1b035d980e initialise group net func 2024-10-30 23:17:16 +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
e1cc0a24dd control user access to gw by roles 2024-10-30 15:24:23 +04:00
abhishek9686
8c6772420f refer new new user role fields 2024-10-30 13:11:32 +04:00
abhishek9686
169ae8fd02 update global group names 2024-10-30 13:02:53 +04:00
abhishek9686
5375a8eefa fix user roles and groups descriptions 2024-10-30 12:31:15 +04:00
abhishek9686
0d6792c21b Merge branch 'develop' of https://github.com/gravitl/netmaker into NET-1615 2024-10-30 11:49:54 +04:00
Max Ma
2426b5fd39
fix metric bytes sent/recv issue (#3166) 2024-10-30 11:48:57 +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
ea46ea5378 fix extclient allowed Ips 2024-10-29 22:57:58 +04:00
abhishek9686
2852314762 fix global network role access 2024-10-29 20:24:31 +04:00
abhishek9686
0246a7e32d add global grp to default acl policy 2024-10-29 16:29:57 +04:00
abhishek9686
ffd0133468 add middleware acl check 2024-10-29 15:28:25 +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
bf88a80ea2 avoid gateway role migration 2024-10-27 23:31:30 +04:00
abhishek9686
514e785f7b ignore disabled policies for users 2024-10-25 16:15:41 +04:00
Vishal Dalwadi
470e9ddfe7
feat(go): update email template. (#3150)
* feat(go): update email template.

* feat(go): update email template.

* feat(go): update email template.

* feat(go): update email template.

* feat(go): update email template.

* feat(go): update email template.

* feat(go): update email template.
2024-10-24 13:52:55 +04:00
abhishek9686
c0f107b302 remove userips usage, add allow all to fwupdate 2024-10-23 14:15:13 +04:00
abhishek9686
148c1fdc8f return all gws for admins 2024-10-22 15:12:05 +04:00
abhishek9686
7fa6580103 add ingress rules to peer update 2024-10-21 12:35:10 +04:00