From 40fe374ce79a2a0df1ae63093ba689225cae6705 Mon Sep 17 00:00:00 2001 From: Dominik Lisiak Date: Sun, 14 Oct 2018 22:15:18 +0200 Subject: Upgrade to 3.1.0. --- .../files/patch-active-response_host-deny.sh | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 security/ossec-hids-local/files/patch-active-response_host-deny.sh (limited to 'security/ossec-hids-local/files/patch-active-response_host-deny.sh') diff --git a/security/ossec-hids-local/files/patch-active-response_host-deny.sh b/security/ossec-hids-local/files/patch-active-response_host-deny.sh deleted file mode 100644 index aff6243..0000000 --- a/security/ossec-hids-local/files/patch-active-response_host-deny.sh +++ /dev/null @@ -1,15 +0,0 @@ ---- active-response/host-deny.sh.orig 2018-06-26 12:15:38 UTC -+++ active-response/host-deny.sh -@@ -126,10 +126,10 @@ if [ "x${ACTION}" = "xadd" ]; then - # Deleting from hosts.deny - elif [ "x${ACTION}" = "xdelete" ]; then - lock; -- TMP_FILE=`mktemp /var/ossec/ossec-hosts.XXXXXXXXXX` -+ TMP_FILE=`mktemp ${PWD}/ossec-hosts.XXXXXXXXXX` - if [ "X${TMP_FILE}" = "X" ]; then - # Cheap fake tmpfile, but should be harder then no random data -- TMP_FILE="/var/ossec/ossec-hosts.`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -1 `" -+ TMP_FILE="${PWD}/ossec-hosts.`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -1 `" - fi - echo "${IP}" | grep "\:" > /dev/null 2>&1 - if [ $? = 0 ]; then -- cgit v1.2.3