aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh/security.sh
diff options
context:
space:
mode:
authorAndreas Hasenack <andreas@mandriva.com>2008-01-10 19:09:32 +0000
committerAndreas Hasenack <andreas@mandriva.com>2008-01-10 19:09:32 +0000
commit757b7d782a7124a08fb1869eeca7ed3a927b0982 (patch)
tree3d2c0a124bb62b454ed3f6063ce99307f8f4fe27 /cron-sh/security.sh
parentc03239aade749b43754203b1624c8c0e8e272a22 (diff)
downloadmsec-757b7d782a7124a08fb1869eeca7ed3a927b0982.tar
msec-757b7d782a7124a08fb1869eeca7ed3a927b0982.tar.gz
msec-757b7d782a7124a08fb1869eeca7ed3a927b0982.tar.bz2
msec-757b7d782a7124a08fb1869eeca7ed3a927b0982.tar.xz
msec-757b7d782a7124a08fb1869eeca7ed3a927b0982.zip
- include ipv6 in the report (#19486)
Diffstat (limited to 'cron-sh/security.sh')
-rwxr-xr-xcron-sh/security.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/cron-sh/security.sh b/cron-sh/security.sh
index 257bd63..30c1434 100755
--- a/cron-sh/security.sh
+++ b/cron-sh/security.sh
@@ -131,7 +131,7 @@ if [[ -f ${CHKROOTKIT_TODAY} ]]; then
mv -f ${CHKROOTKIT_TODAY} ${CHKROOTKIT_YESTERDAY}
fi
-netstat -pvlA inet 2> /dev/null > ${OPEN_PORT_TODAY};
+netstat -pvlA inet,inet6 2> /dev/null > ${OPEN_PORT_TODAY};
# Hard disk related file check; the less priority the better...
nice --adjustment=+19 /usr/bin/msec_find ${DIR}