aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2022-04-01 15:02:25 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2022-04-01 15:09:49 +0000
commitdc24d9430367984eb0508a5ca5a67572e4678542 (patch)
tree2129fee0b472e7cd8abe65331b8e19cae50b19f5
parentb0f1737fbd756fe31004fd485671f267b860adcc (diff)
downloadports-dc24d9430367984eb0508a5ca5a67572e4678542.tar.gz
ports-dc24d9430367984eb0508a5ca5a67572e4678542.zip
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
-rw-r--r--UPDATING8
-rw-r--r--security/sshguard/Makefile2
-rw-r--r--security/sshguard/files/sshguard.in2
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)"