azure-container-networking/npm
Hunter Gregory 73a22fc5c6
fix: [NPM] [Linux] improve iptables version detection and cleanup (#3090)
* fix: improve iptables version detection

Signed-off-by: Hunter Gregory <42728408+huntergregory@users.noreply.github.com>

* fix: redo everything and add tests

Signed-off-by: Hunter Gregory <42728408+huntergregory@users.noreply.github.com>

* fix: address comments

Signed-off-by: Hunter Gregory <42728408+huntergregory@users.noreply.github.com>

* fix: avoid segfault by only listing one chain

Signed-off-by: Hunter Gregory <42728408+huntergregory@users.noreply.github.com>

* style: log the kernel version

Signed-off-by: Hunter Gregory <42728408+huntergregory@users.noreply.github.com>

* style: fix lints

Signed-off-by: Hunter Gregory <42728408+huntergregory@users.noreply.github.com>

* fix: don't use stale chains. add comments. minor style change

Signed-off-by: Hunter Gregory <42728408+huntergregory@users.noreply.github.com>

* fix: listing kube chain. get stderr too. also add missing ut

Signed-off-by: Hunter Gregory <42728408+huntergregory@users.noreply.github.com>

* fix: log messages

Signed-off-by: Hunter Gregory <42728408+huntergregory@users.noreply.github.com>

* fix: stop checking kernel version. default nft, never crash

Signed-off-by: Hunter Gregory <42728408+huntergregory@users.noreply.github.com>

* style: fix lint

Signed-off-by: Hunter Gregory <42728408+huntergregory@users.noreply.github.com>

* style: try fixing gci/gofumpt lint

Signed-off-by: Hunter Gregory <42728408+huntergregory@users.noreply.github.com>

* test: fix unit tests referencing iptables legacy

Signed-off-by: Hunter Gregory <42728408+huntergregory@users.noreply.github.com>

* style: fix lint in iptm_test.go

Signed-off-by: Hunter Gregory <42728408+huntergregory@users.noreply.github.com>

---------

Signed-off-by: Hunter Gregory <42728408+huntergregory@users.noreply.github.com>
2024-11-06 22:04:36 +00:00
..
cmd [NPM Lite] Querying L1VH + Non-L1VH Endpoints (#3086) 2024-11-05 22:51:08 +00:00
config feat: [NPM] Adding Npm Lite (#3005) 2024-09-30 23:41:51 +00:00
controller feat: [NPM] Adding Npm Lite (#3005) 2024-09-30 23:41:51 +00:00
daemon feat: [NPM] Restructure code and add deploy manifests (#1203) 2022-02-04 16:25:12 -08:00
deploy chore: migrate from disallowed registries (#2455) 2024-01-03 18:07:28 +00:00
examples [NPM Lite] Fix for NPM Lite Yaml File (#3077) 2024-10-22 17:14:40 +00:00
http npm: enable debug feature parity for v2 (#1324) 2022-06-14 18:58:17 +00:00
ipsm npm: enable debug feature parity for v2 (#1324) 2022-06-14 18:58:17 +00:00
iptm fix: [NPM] [Linux] improve iptables version detection and cleanup (#3090) 2024-11-06 22:04:36 +00:00
metrics perf: [NPM] [LINUX] add NetPols in background (#1969) 2023-07-19 09:13:52 -07:00
pkg fix: [NPM] [Linux] improve iptables version detection and cleanup (#3090) 2024-11-06 22:04:36 +00:00
profiles perf: [NPM] [LINUX] add NetPols in background (#1969) 2023-07-19 09:13:52 -07:00
testpolicies fix: [NPM] remove print statement in v1 and update testpolicy names (#1184) 2022-01-04 10:56:57 -08:00
util fix: [NPM] [Linux] improve iptables version detection and cleanup (#3090) 2024-11-06 22:04:36 +00:00
Makefile feat: [NPM] define transport shim layer using gRPC (#1163) 2021-12-14 11:52:28 -08:00
azure-npm.yaml chore: [NPM] Updated NPM to Not Use Privileged containers and to Mount Container's Root Filesystem as Read Only (#2598) 2024-02-29 02:56:16 +00:00
cacheencoder.go feat: [NPM] Adding Npm Lite (#3005) 2024-09-30 23:41:51 +00:00
linux.Dockerfile chore: upgrade go toolchain to 1.23 (#3022) 2024-10-09 19:09:07 -05:00
npm.go [NPM Lite] Querying L1VH + Non-L1VH Endpoints (#3086) 2024-11-05 22:51:08 +00:00
npm_test.go npm: enable debug feature parity for v2 (#1324) 2022-06-14 18:58:17 +00:00
npm_v1_test.go npm: enable debug feature parity for v2 (#1324) 2022-06-14 18:58:17 +00:00
windows.Dockerfile chore: upgrade go toolchain to 1.23 (#3022) 2024-10-09 19:09:07 -05:00