Commit graph

20 commits

Author SHA1 Message Date
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
yearski
672bb2a293
remove agentbackend 2023-02-20 02:22:00 -07:00
afeiszli
7800eeb09e reverting script files 2022-08-18 09:58:54 -04:00
cameronts
9f92b20a15 Added chain creation for nftables. 2022-08-05 05:07:00 -07:00
Matthew R Kasun
5aa2c16df1 refactored logic for Hub change 2022-06-21 15:19:54 +00:00
afeiszli
5bfbe2b81d fix test 2022-05-31 14:15:51 -04:00
Matthew R. Kasun
f5aa1d1e62 reorder register/join 2022-04-25 10:38:29 -04:00
Matthew R. Kasun
7152f6ccd4 remove references to grpc/comms net 2022-04-21 15:53:44 -04:00
0xdcarns
aefc8b090b added basic api endpoints 2022-03-10 14:55:40 -05:00
0xdcarns
9668a84cd0 added one more test 2022-03-10 14:55:40 -05:00
0xdcarns
68c7014802 refactored node functions further 2022-03-10 14:55:40 -05:00
0xdcarns
da25da775c refactored some logic to use typed functions 2022-03-10 14:55:40 -05:00
0xdcarns
a8043accc9 node ACL logic + tests implemented 2022-03-10 14:55:40 -05:00
Matthew R Kasun
2310977391 refactor to reduce number of types of message in message queue simplifying the subscribers and publishers 2022-01-21 05:19:17 -05:00
0xdcarns
b793c248ec test logic update 2022-01-17 14:21:40 -05:00
afeiszli
70493754b2 ripping out wg grpc stuff 2021-08-09 17:34:13 -04:00
afeiszli
4e758d67aa tests working locally 2021-05-28 10:04:07 -04:00
afeiszli
8e9a0b46aa test changes 2021-05-27 17:21:28 -04:00
Matthew R Kasun
bb2bb0e1ee fixed tests 2021-05-09 13:31:50 -04:00
Matthew R Kasun
97119f86f1 Delete User Test 2021-04-28 13:49:24 -04:00