Current location

narf Source control manager Git

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshtrom <shtrom@1991c358-8f32-0410-a49a-990740bdf4c2>2009-05-20 01:13:41 +0000
committershtrom <shtrom@1991c358-8f32-0410-a49a-990740bdf4c2>2009-05-20 01:13:41 +0000
commit264d0e734033bbdbdf0969e72ad3764e31183954 (patch)
tree7cdb9df4579c65c31c3fbec302f2d871df315ee3 /openbsd
parent282421ff646c8b887346f4977036b220e91d9b33 (diff)
[OpenBSD scripts] DenyHost does not attempt to put the reverse name in the email
subject. git-svn-id: svn+ssh://scm.narf.ssji.net/svn/shtrom/scripts@542 1991c358-8f32-0410-a49a-990740bdf4c2
Diffstat (limited to 'openbsd')
-rwxr-xr-xopenbsd/denyhost.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd/denyhost.sh b/openbsd/denyhost.sh
index e4f3e07..33d35cb 100755
--- a/openbsd/denyhost.sh
+++ b/openbsd/denyhost.sh
@@ -62,7 +62,7 @@ for IP in `grep -v -f ${TMP_DIR}/blockers.list $NEW_BLOCKERS_FILE`; do
cat $WHOIS_FILE
echo "Incriminating logs:"
cat $LOGIN_FILE
- ) | mail -s "Host ${HOST:-$IP} is compromized" $DEST_ADDR
+ ) | mail -s "Host $IP is compromized" $DEST_ADDR
rm -f $HOST_FILE $WHOIS_FILE $LOGIN_FILE
done