netmaker/logic
Abhishek K 0638dcac49
NET-940: Inet Gws (#2828)
* internet gws apis

* add validate check for inet request

* add default gw changes to peer update

* update json tag

* add OS checks for inet gws

* add set defaul gw pro func

* allow disable and enable inet gw

* add inet handlers to pro

* add fields to api node

* add inet allowed ips

* add default gw to pull

* unset node inet details on deletion

* unset internet gw on network nodes

* unset inet gw fix

* unset inet gw fix

* send default gw ip

* fix inet node endpoint

* add default gw endpoint ip to pull resp

* validate after unset gws

* add inet client peer allowedips to inet node

* validate after unset gws

* fix allowed ips for inet peer and gw node

* fix allowed ips for inet peer and gw node

* fix allowed ips for inet peer and gw node

* fix allowed ips for inet peer and gw node

* fix inet gw and relayed conflict

* fix inet gw and relayed conflict

* fix update req

* fix update inet gw api

* when inet gw is peer ignore other allowedIps

* test relay

* revert test relay

* revert inet peer update changes

* channel internet traffic of relayed node to relay's inetgw

* channel internet traffic of relayed node to relay's inetgw

* channel internet traffic of relayed node to relay's inetgw

* add check for relayed node

* add inet info to peer update

* add inet info to peer update

* fix update node to persist inet info

* fix go tests

* egress ranges with inet gw fix

* egress ranges with inet gw fix

* disallow node acting using inet gw to act as inet gw

* add check to validate inet gw

* fix typos

* add firewall check

* set inetgw on ingress req on community

* set inetgw to false on community on ingress del
2024-02-28 08:46:51 +07:00
..
acls NET-735: HA Support (#2701) 2023-12-05 12:01:35 +04:00
hostactions moved data structure to db 2023-03-03 14:23:51 -05:00
pro/netcache NET-551: User Mgmt Re-Design (#2547) 2023-09-01 14:27:08 +05:30
auth.go fix: stability patches (#2698) 2023-11-29 20:12:37 +04:00
clients.go fix(NET-897): uniform client and node acls (#2803) 2024-02-13 20:25:27 +07:00
dns.go don't bind coredns to publicip 2024-01-23 18:02:15 +05:30
enrollmentkey.go fix(NET-786): enhance enrollment key validation (#2726) 2024-01-03 12:23:04 +05:30
enrollmentkey_test.go fix(NET-786): enhance enrollment key validation (#2726) 2024-01-03 12:23:04 +05:30
errors.go NET-725: Failovers (#2685) 2023-11-29 20:10:07 +04:00
extpeers.go feat(NET-817): add postup/down scripts for clients (#2810) 2024-02-08 23:29:43 +05:30
gateway.go NET-940: Inet Gws (#2828) 2024-02-28 08:46:51 +07:00
host_test.go NET-447: Removed proxy related fields and code (#2459) 2023-07-26 11:22:49 +05:30
hosts.go NET-812: Deprecate Setting /etc/hosts entries (#2733) 2023-12-20 10:24:53 +04:00
jwts.go return user details form db 2023-11-27 14:43:12 +04:00
legacy.go added ability to remove legacy nodes 2023-03-07 11:02:51 -05:00
metrics.go [NET-546] Move ee code to ee package, unify ee status and terminology (#2538) 2023-09-01 07:42:05 +05:30
networks.go check if new network is overlapping (#2655) 2023-11-08 17:43:20 +04:00
nodes.go NET-940: Inet Gws (#2828) 2024-02-28 08:46:51 +07:00
peers.go NET-940: Inet Gws (#2828) 2024-02-28 08:46:51 +07:00
relay.go NET-940: Inet Gws (#2828) 2024-02-28 08:46:51 +07:00
security.go NET-551: User Mgmt Re-Design (#2547) 2023-09-01 14:27:08 +05:30
server.go NET-725: Failovers (#2685) 2023-11-29 20:10:07 +04:00
serverconf.go add trial end date to server status api 2024-01-20 01:30:09 +05:30
telemetry.go add trial license logic 2024-01-19 14:51:51 +05:30
timer.go add trial license logic 2024-01-19 14:51:51 +05:30
traffic.go add trial license logic 2024-01-19 14:51:51 +05:30
users.go NET-551: User Mgmt Re-Design (#2547) 2023-09-01 14:27:08 +05:30
util.go send peer update for extclient extraAllowedIps update 2023-11-27 10:03:21 +04:00
util_test.go random string 2023-05-02 13:28:00 -04:00
version.go ensure netclient version is compatible 2022-11-14 14:41:34 -05:00
version_test.go ensure netclient version is compatible 2022-11-14 14:41:34 -05:00
wireguard.go [NET-562] Persistent Keep Alive from node to host (#2604) 2023-10-06 10:09:19 +04:00
zombie.go NET-667: force delete daemon node (#2645) 2023-10-31 14:34:28 +04:00