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
This commit is contained in:
parent
fce2bf132f
commit
eef685b8bb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369818
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= sshguard
|
||||
PORTVERSION= 1.5
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= SF/sshguard/sshguard/sshguard-${PORTVERSION}
|
||||
|
||||
|
@ -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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user