From owner-freebsd-security@FreeBSD.ORG Sun Sep 19 12:37:20 2004 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30DB916A4CE for ; Sun, 19 Sep 2004 12:37:20 +0000 (GMT) Received: from bluelight.org.uk (bluelight.org.uk [80.229.144.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4A2843D45 for ; Sun, 19 Sep 2004 12:37:19 +0000 (GMT) (envelope-from terry@mrtux.co.uk) Received: from [192.168.2.138] (unknown [192.168.2.138]) by bluelight.org.uk (Postfix) with ESMTP id 84A8F3BE for ; Sun, 19 Sep 2004 13:40:31 +0100 (BST) Message-ID: <414D7D7E.9040301@mrtux.co.uk> Date: Sun, 19 Sep 2004 13:37:18 +0100 From: Terry User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-security@freebsd.org References: <20040919120131.4B2F916A4D8@hub.freebsd.org> In-Reply-To: <20040919120131.4B2F916A4D8@hub.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re:sshd security X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: terry@mrtux.co.uk List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Sep 2004 12:37:20 -0000 I had the same problem so i setup up hosts.allow to only allow access from certain ips i require This has the affect of killing the connection from any other ip befor gettign to any login prompt example below sshd : localhost : allow sshd : 192.168.2. : allow sshd : 82.41.115.213 :allow sshd : 216.123.248.219 : allow <-- public ip i wish to allow of course i have changed it sshd : all : deny This then shows in log instead of failed login attempts dot.blah.co.uk refused connections: Sep 17 22:11:55 dlt sshd[35669]: refused connect from usen-219x113x213x21.ap-US.usen.ad.jp (219.113.213.21) Regards Terry