netmaker/models
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
..
accessToken.go
acl.go NET-1784: Adv Acl Rules (#3239) 2024-12-10 11:21:14 +04:00
api_host.go move tags to node model 2024-09-22 13:37:58 +04:00
api_node.go NET-1782: Fetch Node Connection Status from metrics (#3237) 2024-12-10 10:46:05 +04:00
dnsEntry.go NET-1603: Manage DNS NM changes (#3124) 2024-10-29 13:53:45 +04:00
enrollment_key.go block default key deletion,delete default key on network deletion 2024-10-30 15:58:55 +04:00
error.go
extclient.go feat: receive device info and public endpoint from rac (#3215) 2024-12-03 13:19:43 +04:00
host.go move tags to node model 2024-09-22 13:37:58 +04:00
intclient.go
metrics.go fix metric bytes sent/recv issue (#3166) 2024-10-30 11:48:57 +04:00
migrate.go migration (#2509) 2023-08-14 23:14:10 +05:30
mqtt.go NET-1784: Adv Acl Rules (#3239) 2024-12-10 11:21:14 +04:00
names.go use name generator 2024-10-24 14:02:39 +04:00
network.go api for network with stats (#3111) 2024-09-26 11:52:21 +04:00
network_test.go use channels for sync 2023-02-14 07:01:38 -05:00
node.go NET-1784: Adv Acl Rules (#3239) 2024-12-10 11:21:14 +04:00
ssocache.go
structs.go NET1847:Add STUN settings (#3235) 2024-12-06 09:38:32 +04:00
tags.go support tags system on ext clients 2024-10-17 19:33:43 +04:00
user_mgmt.go add view only permissions for network users 2024-11-10 17:38:04 +04:00