mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Accept NFLOG as a logging target for iptables.
This commit is contained in:
parent
fb45fddfa9
commit
abc37f16d7
1 changed files with 1 additions and 1 deletions
|
|
@ -557,7 +557,7 @@
|
|||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
if [ ${IPTABLES_ACTIVE} -eq 1 ]; then
|
||||
if [ -n "${IPTABLESSAVEBINARY}" ]; then
|
||||
HAS_LOGGING=$(${IPTABLESSAVEBINARY} | ${GREPBINARY} "\-j LOG")
|
||||
HAS_LOGGING=$(${IPTABLESSAVEBINARY} | ${EGREPBINARY} "\-j (NF)?LOG")
|
||||
if [ -z "${HAS_LOGGING}" ]; then
|
||||
Report "firewall_no_logging[]=iptables"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue