mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-30 09:14:18 +02:00
Update tests_firewalls
This commit is contained in:
parent
0891d2693e
commit
f3ffbb0b48
@ -165,10 +165,11 @@
|
|||||||
if [ ! "${SORTBINARY}" = "" ]; then eq="$( echo "${errqueue}" | ${SORTBINARY} -u )"; else eq="${errqueue}"; fi
|
if [ ! "${SORTBINARY}" = "" ]; then eq="$( echo "${errqueue}" | ${SORTBINARY} -u )"; else eq="${errqueue}"; fi
|
||||||
echo "${eq}" | while IFS="\n" read -r eql
|
echo "${eq}" | while IFS="\n" read -r eql
|
||||||
do
|
do
|
||||||
|
if [ ! "$eql" = "" ]
|
||||||
|
then
|
||||||
set -- ${eql}
|
set -- ${eql}
|
||||||
while [ $# -gt 0 ]
|
while [ $# -gt 0 ]
|
||||||
do
|
do
|
||||||
LogText "Result: Found ${3} for ${2} (table: ${1})"
|
|
||||||
Display --indent 6 --text "- Checking chain ${2} (table: ${1}, target: ${3})" --result "${3}" --color "${4}"
|
Display --indent 6 --text "- Checking chain ${2} (table: ${1}, target: ${3})" --result "${3}" --color "${4}"
|
||||||
if [ "${3}" = "NFQUEUE" ]
|
if [ "${3}" = "NFQUEUE" ]
|
||||||
then
|
then
|
||||||
@ -176,6 +177,7 @@
|
|||||||
fi
|
fi
|
||||||
shift 4
|
shift 4
|
||||||
done
|
done
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user