aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-03-16 22:01:34 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-03-16 22:01:34 +0000
commit6cea86f704eb79ef03e761b5b61508d400631cdc (patch)
treeaa6da483310ba4640e9f294ab388c65c3a91d7fc /security
parent09ed6a38be162dac98d32a58666c1c088b1bd617 (diff)
downloadports-6cea86f704eb79ef03e761b5b61508d400631cdc.tar.gz
ports-6cea86f704eb79ef03e761b5b61508d400631cdc.zip
- Fix warning output
PR: 132541 Submitted by: Lukasz Wasikowski <lukasz@wasikowski.net>
Notes
Notes: svn path=/head/; revision=230269
Diffstat (limited to 'security')
-rw-r--r--security/rkhunter/files/patch-rkhunter2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/rkhunter/files/patch-rkhunter b/security/rkhunter/files/patch-rkhunter
index 97cbe7dfc03c..133f7b5671bb 100644
--- a/security/rkhunter/files/patch-rkhunter
+++ b/security/rkhunter/files/patch-rkhunter
@@ -7,7 +7,7 @@
- SOCKSTAT_OUTPUT=`${SOCKSTAT_CMD} -n | grep '\*[:.]\*' | cut -c1-55 | grep '\*[:.]' | cut -c39-47 | grep -v '\*' | tr -d ' ' | ${SORT_CMD} | ${UNIQ_CMD}`
- NETSTAT_OUTPUT=`${NETSTAT_CMD} -an | egrep -v 'TIME_WAIT|ESTABLISHED|SYN_SENT|CLOSE_WAIT|LAST_ACK|SYN_RECV|CLOSING' | cut -c1-44 | grep '\*\.' | cut -c24-32 | grep -v '\*' | tr -d ' ' | tr -d '\t' | ${SORT_CMD} | ${UNIQ_CMD}`
+ SOCKSTAT_OUTPUT=`${SOCKSTAT_CMD} | grep '\*[:.]\*' | cut -c1-55 | grep '\*[:.]' | cut -c39-47 | grep -v '\*' | tr -d ' ' | ${SORT_CMD} | ${UNIQ_CMD}`
-+ NETSTAT_OUTPUT=`${NETSTAT_CMD} -an | egrep -v 'TIME_WAIT|ESTABLISHED|SYN_SENT|CLOSE_WAIT|LAST_ACK|SYN_RECV|CLOSING' | cut -c1-44 | grep '\*\.' | cut -c23-31 | grep -v '\*' | tr -d ' ' | tr -d '\t' | ${SORT_CMD} | ${UNIQ_CMD}`
++ NETSTAT_OUTPUT=`${NETSTAT_CMD} -an | egrep -v 'TIME_WAIT|ESTABLISHED|SYN_SENT|CLOSE_WAIT|LAST_ACK|SYN_RECV|CLOSING' | cut -c1-44 | grep '\*\.' | cut -c23-31 | grep -v '\*' | tr -d ' ' | tr -d '\t' | tr -d '.' | ${SORT_CMD} | ${UNIQ_CMD}`
if [ "${SOCKSTAT_OUTPUT}" = "${NETSTAT_OUTPUT}" ]; then
display --to SCREEN+LOG --type PLAIN --result OK --color GREEN --log-indent 2 --screen-indent 4 ROOTKIT_OS_BSD_SOCKNET