From d9bf87b0e6b62b1aee9c2d2e89a7db7cd58a52d3 Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Fri, 26 Jun 2009 19:20:23 +0000 Subject: Use more correct iptables configuration auditing. --- cron-sh/scripts/02_network.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron-sh/scripts/02_network.sh b/cron-sh/scripts/02_network.sh index ebd8a4c..f333b00 100755 --- a/cron-sh/scripts/02_network.sh +++ b/cron-sh/scripts/02_network.sh @@ -29,7 +29,7 @@ if [[ ${CHECK_OPEN_PORT} == yes ]]; then fi if [[ ${CHECK_FIREWALL} == yes ]]; then - iptables -L 2>/dev/null > ${FIREWALL_TODAY} + iptables -S 2>/dev/null > ${FIREWALL_TODAY} fi ### Changed open port -- cgit v1.2.1