aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-06-26 19:20:23 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-06-26 19:20:23 +0000
commitd9bf87b0e6b62b1aee9c2d2e89a7db7cd58a52d3 (patch)
treee63f71681cfc60d3d18f8e013e8efa384ec04ee3 /cron-sh
parent65e2c9e92c8ef52fc6d47348ddd1bf255e069701 (diff)
downloadmsec-d9bf87b0e6b62b1aee9c2d2e89a7db7cd58a52d3.tar
msec-d9bf87b0e6b62b1aee9c2d2e89a7db7cd58a52d3.tar.gz
msec-d9bf87b0e6b62b1aee9c2d2e89a7db7cd58a52d3.tar.bz2
msec-d9bf87b0e6b62b1aee9c2d2e89a7db7cd58a52d3.tar.xz
msec-d9bf87b0e6b62b1aee9c2d2e89a7db7cd58a52d3.zip
Use more correct iptables configuration auditing.
Diffstat (limited to 'cron-sh')
-rwxr-xr-xcron-sh/scripts/02_network.sh2
1 files changed, 1 insertions, 1 deletions
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