Current location

narf Source control manager Git

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshtrom <shtrom@1991c358-8f32-0410-a49a-990740bdf4c2>2010-07-26 07:17:48 +0000
committershtrom <shtrom@1991c358-8f32-0410-a49a-990740bdf4c2>2010-07-26 07:17:48 +0000
commit3f06d00b1affbe7d659141be288f0ca9a84cb929 (patch)
tree1a4f88e7ebb6cd130d8cb40983a42a2f4e143d7a /openbsd
parentbf24c63578b4b6747fd497d05abf479cdc461634 (diff)
[denyhost.sh] No need for -v on pfctl invocations.
git-svn-id: svn+ssh://scm.narf.ssji.net/svn/shtrom/scripts@818 1991c358-8f32-0410-a49a-990740bdf4c2
Diffstat (limited to 'openbsd')
-rwxr-xr-xopenbsd/denyhost.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd/denyhost.sh b/openbsd/denyhost.sh
index e7f59d0..f8e9796 100755
--- a/openbsd/denyhost.sh
+++ b/openbsd/denyhost.sh
@@ -130,7 +130,7 @@ done > ${TMP_DIR}/failed_passwords.list
sort -u ${TMP_DIR}/invalid_users.list ${TMP_DIR}/failed_passwords.list -o $NEW_BLOCKERS_FILE
-pfctl -t kiddies -vTshow | grep -v Cleared | sed "s/ //g" | sort -n > ${TMP_DIR}/blockers.list
+pfctl -t kiddies -Tshow | sed "s/ //g" | sort -n > ${TMP_DIR}/blockers.list
for IP in `grep -v -f ${TMP_DIR}/blockers.list $NEW_BLOCKERS_FILE`; do
process_ip $IP
done
@@ -140,4 +140,4 @@ pfctl -t kiddies -T expire 25200 1>/dev/null 2>&1
# Add new entries
mv $NEW_BLOCKERS_FILE ${TMP_DIR}/blockers.list
-pfctl -t kiddies -vTadd -f ${TMP_DIR}/blockers.list 1>/dev/null 2>&1
+pfctl -t kiddies -Tadd -f ${TMP_DIR}/blockers.list 1>/dev/null 2>&1