From owner-freebsd-questions@FreeBSD.ORG Fri Jan 5 09:09:39 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6B6E916A407 for ; Fri, 5 Jan 2007 09:09:39 +0000 (UTC) (envelope-from peter@bsdly.net) Received: from skapet.datadok.no (skapet.datadok.no [194.54.107.19]) by mx1.freebsd.org (Postfix) with ESMTP id 2888613C467 for ; Fri, 5 Jan 2007 09:09:38 +0000 (UTC) (envelope-from peter@bsdly.net) Received: from thingy.datadok.no ([194.54.103.97] helo=thingy.datadok.no.bsdly.net ident=peter) by skapet.datadok.no with esmtp (Exim 4.62) (envelope-from ) id 1H2kia-0003yi-58 for freebsd-questions@freebsd.org; Fri, 05 Jan 2007 09:46:28 +0100 To: freebsd-questions@freebsd.org References: <459A5A45.4080309@wmptl.com> From: peter@bsdly.net (Peter N. M. Hansteen) Date: Fri, 05 Jan 2007 09:46:27 +0100 In-Reply-To: <459A5A45.4080309@wmptl.com> (Nathan Vidican's message of "Tue, 02 Jan 2007 08:12:37 -0500") Message-ID: <87ejq9kgik.fsf@thingy.datadok.no> User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.19 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: sshd break-in attempt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2007 09:09:39 -0000 Nathan Vidican writes: > of attempts). Anyhow, long story short; is there not an easy way to > make sshd block or deny hosts temporarily if X number of invalid > login attempts are made within a minute's time? if you use pf, it's fairly straightforward with an overload rule, see eg http://home.nuug.no/~peter/pf/en/bruteforce.html Cheers, -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/ "First, we kill all the spammers" The Usenet Bard, "Twice-forwarded tales" Dec 22 02:13:59 delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.