FreeBSD Bugzilla – Attachment 191885 Details for
Bug 227016
security/sshguard blacklist timeout too short
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Change blacklist values
sshg (text/plain), 1.76 KB, created by
Dan McGregor
on 2018-03-27 22:05:52 UTC
(
hide
)
Description:
Change blacklist values
Filename:
MIME Type:
Creator:
Dan McGregor
Created:
2018-03-27 22:05:52 UTC
Size:
1.76 KB
patch
obsolete
>commit 5ae724c86dc8e0f695d93f100b7b0aa03b351073 >Author: Dan McGregor <dan.mcgregor@usask.ca> >Date: Mon Mar 26 16:22:42 2018 > > Change default blacklist timeout. > > It turns out 30 is a pretty low number, and upstream recommends 120 > or more, so use that value. > >diff --git a/security/sshguard/Makefile b/security/sshguard/Makefile >index 52ec5ecead39..c906491d138d 100644 >--- a/security/sshguard/Makefile >+++ b/security/sshguard/Makefile >@@ -3,6 +3,7 @@ > > PORTNAME= sshguard > PORTVERSION= 2.1.0 >+PORTREVISION= 1 > CATEGORIES= security > MASTER_SITES= SF/sshguard/sshguard/${PORTVERSION} > >diff --git a/security/sshguard/files/patch-examples-sshguard.conf.sample b/security/sshguard/files/patch-examples-sshguard.conf.sample >index 403b21c4706b..15ef37a818a4 100644 >--- a/security/sshguard/files/patch-examples-sshguard.conf.sample >+++ b/security/sshguard/files/patch-examples-sshguard.conf.sample >@@ -25,7 +25,7 @@ > # Colon-separated blacklist threshold and full path to blacklist file. > # (optional, no default) > -#BLACKLIST_FILE=90:/var/lib/sshguard/enemies >-+#BLACKLIST_FILE=30:/var/db/sshguard/blacklist.db >++#BLACKLIST_FILE=120:/var/db/sshguard/blacklist.db > > # IP addresses listed in the WHITELIST_FILE are considered to be > # friendlies and will never be blocked. >diff --git a/security/sshguard/files/sshguard.in b/security/sshguard/files/sshguard.in >index fb81d592b030..1233a855604f 100644 >--- a/security/sshguard/files/sshguard.in >+++ b/security/sshguard/files/sshguard.in >@@ -67,7 +67,7 @@ rcvar=sshguard_enable > load_rc_config sshguard > > : ${sshguard_enable:=NO} >-: ${sshguard_blacklist=30:/var/db/sshguard/blacklist.db} >+: ${sshguard_blacklist=120:/var/db/sshguard/blacklist.db} > : ${sshguard_danger_thresh=} > : ${sshguard_release_interval=} > : ${sshguard_reset_interval=}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 227016
: 191885