svn commit: r414462 - in head/security/sshguard: . files

Mark Felder feld at FreeBSD.org
Mon May 2 16:49:09 UTC 2016


Author: feld
Date: Mon May  2 16:49:08 2016
New Revision: 414462
URL: https://svnweb.freebsd.org/changeset/ports/414462

Log:
  security/sshguard: Update man page, fix sshguard_reset_interval default
  
  Upstream responded to my submitted man page patch and indicated that
  sshguard_reset_interval (-s) has been changed to 1800 (30 mins) as well.

Modified:
  head/security/sshguard/Makefile
  head/security/sshguard/files/patch-man_sshguard.8
  head/security/sshguard/files/sshguard.in

Modified: head/security/sshguard/Makefile
==============================================================================
--- head/security/sshguard/Makefile	Mon May  2 16:26:04 2016	(r414461)
+++ head/security/sshguard/Makefile	Mon May  2 16:49:08 2016	(r414462)
@@ -3,7 +3,7 @@
 
 PORTNAME=	sshguard
 PORTVERSION=	1.6.4
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	SF/sshguard/sshguard/${PORTVERSION}
 

Modified: head/security/sshguard/files/patch-man_sshguard.8
==============================================================================
--- head/security/sshguard/files/patch-man_sshguard.8	Mon May  2 16:26:04 2016	(r414461)
+++ head/security/sshguard/files/patch-man_sshguard.8	Mon May  2 16:49:08 2016	(r414462)
@@ -1,4 +1,4 @@
---- man/sshguard.8.orig	2016-05-02 15:44:01 UTC
+--- man/sshguard.8.orig	2016-03-17 08:01:48 UTC
 +++ man/sshguard.8
 @@ -84,7 +84,7 @@ at \fI\%http://www.sshguard.net/\fP\&.
  .SH OPTIONS
@@ -9,7 +9,7 @@
  Block an attacker when its dangerousness exceeds \fIthresh\fP\&. Each attack
  pattern that is matched contributes a fixed dangerousness of 10.
  .TP
-@@ -112,7 +112,7 @@ monitor instead. \fBsshguard\fP transpar
+@@ -112,13 +112,13 @@ monitor instead. \fBsshguard\fP transpar
  using this option, standard input is ignored, but can be re\-added by
  giving \(aq\fB\-l\fP \-\(aq.
  .TP
@@ -18,3 +18,10 @@
  Wait at least \fIinterval\fP seconds before releasing a blocked address.
  Repeat attackers are blocked for 1.5 times longer after each attack.
  Because \fBsshguard\fP unblocks attackers only at infrequent intervals,
+ this parameter is inexact (actual blocks will be longer).
+ .TP
+-.B \fB\-s\fP \fIinterval\fP (default 1200 secs, or 20 minutes)
++.B \fB\-s\fP \fIinterval\fP (default 1800 secs, or 30 minutes)
+ Forget about an attacker \fIinterval\fP seconds after its last attempt. Its
+ dangerousness will be reset to zero.
+ .TP

Modified: head/security/sshguard/files/sshguard.in
==============================================================================
--- head/security/sshguard/files/sshguard.in	Mon May  2 16:26:04 2016	(r414461)
+++ head/security/sshguard/files/sshguard.in	Mon May  2 16:49:08 2016	(r414462)
@@ -54,7 +54,7 @@
 # sshguard_reset_interval (int):
 #				Interval before a suspected attack is
 #				forgotten and danger is reset to 0.
-#				Set to "1200" by default.
+#				Set to "1800" by default.
 # sshguard_whitelistfile (str):	Path to the whitelist.
 #				Set to "%%PREFIX%%/etc/sshguard.whitelist"
 #				by default.
@@ -73,7 +73,7 @@ load_rc_config sshguard
 : ${sshguard_blacklist=30:/var/db/sshguard/blacklist.db}
 : ${sshguard_danger_thresh=30}
 : ${sshguard_release_interval=120}
-: ${sshguard_reset_interval=1200}
+: ${sshguard_reset_interval=1800}
 : ${sshguard_whitelistfile="%%PREFIX%%/etc/sshguard.whitelist"}
 : ${sshguard_watch_logs=/var/log/auth.log:/var/log/maillog}
 


More information about the svn-ports-all mailing list