From owner-freebsd-questions@FreeBSD.ORG Fri Apr 27 07:16:32 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 E9F0D16A401 for ; Fri, 27 Apr 2007 07:16:32 +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 A614F13C43E for ; Fri, 27 Apr 2007 07:16:32 +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 1HhKgx-0007dn-9t for freebsd-questions@freebsd.org; Fri, 27 Apr 2007 09:16:31 +0200 To: freebsd-questions@freebsd.org References: <23ed14b80704260325w3fc06647vb114cd411625e16b@mail.gmail.com> From: peter@bsdly.net (Peter N. M. Hansteen) Date: Fri, 27 Apr 2007 09:16:26 +0200 In-Reply-To: <23ed14b80704260325w3fc06647vb114cd411625e16b@mail.gmail.com> (Andreas Wider's message of "Thu, 26 Apr 2007 12:25:06 +0200") Message-ID: <87bqhab839.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: How do I prevent unauthorized ssh login attempts? 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, 27 Apr 2007 07:16:33 -0000 " Andreas Wider?e Andersen " writes: > How can I stop these attempts or block them - or even recognize them? I do > not have IPF installed. There are several packages which could help, the one I prefer is a simple pf rule set which tracks the number of connection attempts per time unit and puts the too-chatty ones in a doghouse list of addresses. One way to do it is described at http://home.nuug.no/~peter/pf/en/bruteforce.html -- 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" delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.