summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2014-10-02 12:28:02 +0000
committerMark Felder <feld@FreeBSD.org>2014-10-02 12:28:02 +0000
commiteef685b8bb1f1c573e92bc31dc6f578883ca59b9 (patch)
treef1d4ba9771399be53a3e55bae4974bb347cfd981
parentRetire gnome-desktop-sharp20 it depends gnome-panel which is going away (diff)
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}