aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2014-10-02 20:28:02 +0800
committerfeld <feld@FreeBSD.org>2014-10-02 20:28:02 +0800
commitcf591e84679e528b49f7c8f9e35d5ab23cc0986b (patch)
treef1d4ba9771399be53a3e55bae4974bb347cfd981
parent96b1f804a69fb58167829d8e7889a3967af95d0f (diff)
downloadfreebsd-ports-gnome-cf591e84679e528b49f7c8f9e35d5ab23cc0986b.tar.gz
freebsd-ports-gnome-cf591e84679e528b49f7c8f9e35d5ab23cc0986b.tar.zst
freebsd-ports-gnome-cf591e84679e528b49f7c8f9e35d5ab23cc0986b.zip
The default pardon and prescribe settings in the rc script were swapped
and did not match the documentation. Users should tune to their needs instead of relying on the defaults, but if they are this will be an improvement. Submitted by: John Vinopal
-rw-r--r--security/sshguard/Makefile2
-rw-r--r--security/sshguard/files/sshguard.in8
2 files changed, 5 insertions, 5 deletions
diff --git a/security/sshguard/Makefile b/security/sshguard/Makefile
index c0a594c04ea1..9dc5fde9987e 100644
--- a/security/sshguard/Makefile
+++ b/security/sshguard/Makefile
@@ -3,7 +3,7 @@
PORTNAME= sshguard
PORTVERSION= 1.5
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= security
MASTER_SITES= SF/sshguard/sshguard/sshguard-${PORTVERSION}
diff --git a/security/sshguard/files/sshguard.in b/security/sshguard/files/sshguard.in
index 3ba64337f71e..6ba33c9cdbab 100644
--- a/security/sshguard/files/sshguard.in
+++ b/security/sshguard/files/sshguard.in
@@ -49,10 +49,10 @@
# by default.
# sshguard_safety_thresh (int): Safety threshold. Set to "40" by default.
# sshguard_pardon_min_interval (int):
-# Minimum pardon interval. Set to "1200"
+# Minimum pardon interval. Set to "420"
# by default.
# sshguard_prescribe_interval (int):
-# Prescribe interval. Set to "420" by
+# Prescribe interval. Set to "1200" by
# default.
# sshguard_whitelistfile (str): Path to the whitelist.
# Set to "%%PREFIX%%/etc/sshguard.whitelist"
@@ -69,8 +69,8 @@ load_rc_config sshguard
: ${sshguard_enable:=NO}
: ${sshguard_blacklist=40:/var/db/sshguard/blacklist.db}
: ${sshguard_safety_thresh=40}
-: ${sshguard_pardon_min_interval=1200}
-: ${sshguard_prescribe_interval=420}
+: ${sshguard_pardon_min_interval=420}
+: ${sshguard_prescribe_interval=1200}
: ${sshguard_whitelistfile="%%PREFIX%%/etc/sshguard.whitelist"}
: ${sshguard_watch_logs=/var/log/auth.log:/var/log/maillog}