From owner-svn-ports-head@freebsd.org Mon May 2 16:49:09 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B54C6B2982F; Mon, 2 May 2016 16:49:09 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 904B716AC; Mon, 2 May 2016 16:49:09 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u42Gn8BD061829; Mon, 2 May 2016 16:49:08 GMT (envelope-from feld@FreeBSD.org) Received: (from feld@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u42Gn8Ng061826; Mon, 2 May 2016 16:49:08 GMT (envelope-from feld@FreeBSD.org) Message-Id: <201605021649.u42Gn8Ng061826@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: feld set sender to feld@FreeBSD.org using -f From: Mark Felder Date: Mon, 2 May 2016 16:49:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r414462 - in head/security/sshguard: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2016 16:49:09 -0000 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}