git: dc24d9430367 - main - security/sshguard: disable blacklisting by default
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 Apr 2022 15:10:50 UTC
The branch main has been updated by amdmi3:
URL: https://cgit.FreeBSD.org/ports/commit/?id=dc24d9430367984eb0508a5ca5a67572e4678542
commit dc24d9430367984eb0508a5ca5a67572e4678542
Author: Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-04-01 15:02:25 +0000
Commit: Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-04-01 15:09:49 +0000
security/sshguard: disable blacklisting by default
Blacklisting is now disabled by default to avoid overriding the setting in
sshguard.conf. To enable blacklisting, uncomment the BLACKLIST_FILE line in
sshguard.conf.
PR: 221602
Reported by: bahlgren@beah.se
Submitted by: kevinz5000@gmail.com
---
UPDATING | 8 ++++++++
security/sshguard/Makefile | 2 +-
security/sshguard/files/sshguard.in | 2 +-
3 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/UPDATING b/UPDATING
index 96f53b6a6761..6496e2b901b8 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,14 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
+20220401:
+ AFFECTS: security/sshguard
+ AUTHOR: kevinz5000@gmail.com
+
+ Blacklisting is now disabled by default to avoid overriding the setting in
+ sshguard.conf. To enable blacklisting, uncomment the BLACKLIST_FILE line in
+ sshguard.conf.
+
20220329:
AFFECTS: users of sysutils/screen
AUTHOR: cy@FreeBSD.org
diff --git a/security/sshguard/Makefile b/security/sshguard/Makefile
index 48621f158097..7e0d66b5f9b7 100644
--- a/security/sshguard/Makefile
+++ b/security/sshguard/Makefile
@@ -2,7 +2,7 @@
PORTNAME= sshguard
PORTVERSION= 2.4.2
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= security
MASTER_SITES= SF/sshguard/sshguard/${PORTVERSION}
diff --git a/security/sshguard/files/sshguard.in b/security/sshguard/files/sshguard.in
index d3e88a6ff196..fd59b3297e2f 100644
--- a/security/sshguard/files/sshguard.in
+++ b/security/sshguard/files/sshguard.in
@@ -60,7 +60,7 @@
name=sshguard
rcvar=sshguard_enable
-set_rcvar sshguard_blacklist "120:/var/db/sshguard/blacklist.db" "Blacklisting threshold and path to blacklist file (colon-separated)"
+set_rcvar sshguard_blacklist "" "Blacklisting threshold and path to blacklist file (colon-separated)"
set_rcvar sshguard_danger_thresh "" "Attack threshold"
set_rcvar sshguard_pidfile "/var/run/sshguard.pid" "Path to PID file"
set_rcvar sshguard_release_interval "" "Time before releasing first-time attackers (s)"