From 12f96af8b41ee87ac05e1fb9cb2805587d022b61 Mon Sep 17 00:00:00 2001 From: nser77 <104022475+nser77@users.noreply.github.com> Date: Fri, 4 Oct 2024 09:24:17 +0200 Subject: [PATCH] FIRE-4508 - Adding more tables in ip4tables --- include/tests_firewalls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tests_firewalls b/include/tests_firewalls index 6852b536..c6747f53 100644 --- a/include/tests_firewalls +++ b/include/tests_firewalls @@ -109,7 +109,7 @@ Register --test-no FIRE-4508 --preqs-met ${PREQS_MET} --os Linux --weight L --network NO --root-only YES --category security --description "Check used policies of iptables chains" if [ ${SKIPTEST} -eq 0 ]; then Display --indent 4 --text "- Checking iptables policies of chains" --result "${STATUS_FOUND}" --color GREEN - TABLES="filter" + TABLES="filter nat mangle raw security" for TABLE in ${TABLES}; do LogText "Test: gathering information from table ${TABLE}" FIND="$FIND""\n"$(${IPTABLESBINARY} -t ${TABLE} --numeric --list | ${GREPBINARY} -E -z -o -w '[A-Z]+' | tr -d '\0' | ${AWKBINARY} -v t=${TABLE} 'NR%2 {printf "%s %s ",t, $0 ; next;}1')