You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ok "$SYSCTL_PARAM correctly set to $SYSCTL_EXP_RESULT"
fi
done
else
ok "ipv6 disabled"
fi
}
You can see in line 20 that SYSCTL_PARAMS is set.
When running an audit, I see other sysctl values being checked:
hardening [INFO] Treating [REDACTED]/debian-cis-4.1-4/bin/hardening/3.3.9_disable_ipv6_router_advertisement.sh
3.3.9_disable_ipv6_router [INFO] Working on 3.3.9_disable_ipv6_router_advertisement
3.3.9_disable_ipv6_router [INFO] [DESCRIPTION] Disable IPv6 router advertisements.
3.3.9_disable_ipv6_router [INFO] Checking Configuration
3.3.9_disable_ipv6_router [INFO] Performing audit
3.3.9_disable_ipv6_router [ KO ] net.ipv6.conf.all.disable_ipv6 was not set to 1
3.3.9_disable_ipv6_router [ KO ] net.ipv6.conf.default.disable_ipv6 was not set to 1
3.3.9_disable_ipv6_router [ KO ] net.ipv6.conf.lo.disable_ipv6 was not set to 1
3.3.9_disable_ipv6_router [ KO ] net.ipv6.conf.all.disable_ipv6 was not set to 1
3.3.9_disable_ipv6_router [ KO ] net.ipv6.conf.default.disable_ipv6 was not set to 1
3.3.9_disable_ipv6_router [ KO ] net.ipv6.conf.lo.disable_ipv6 was not set to 1
3.3.9_disable_ipv6_router [ KO ] Check Failed
The values being checked are the same as set/overridden in the is_ipv6_enabled function:
#57 introduced the
is_ipv6_enabled
helper function, which is used e.g. indebian-cis/bin/hardening/3.3.9_disable_ipv6_router_advertisement.sh
Lines 20 to 66 in 9a225c6
You can see in line 20 that
SYSCTL_PARAMS
is set.When running an audit, I see other sysctl values being checked:
The values being checked are the same as set/overridden in the
is_ipv6_enabled
function:debian-cis/lib/utils.sh
Lines 53 to 71 in 9a225c6
I haven't tested it, but I would expect this to also mess with the apply function just disabling IPv6 instead.
I am running the
4.1-4
release from GitHub on a Debian 12 installation.The text was updated successfully, but these errors were encountered: