From owner-freebsd-security@FreeBSD.ORG Wed Oct 29 19:01:49 2003 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 EB10E16A4CE for ; Wed, 29 Oct 2003 19:01:49 -0800 (PST) Received: from franky.speednet.com.au (franky.speednet.com.au [203.57.65.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D52043F93 for ; Wed, 29 Oct 2003 19:01:48 -0800 (PST) (envelope-from andyf@speednet.com.au) Received: from hewey.af.speednet.com.au (udsl-3-062.QLD.dft.com.au [202.168.108.62])h9U31dx6041515; Thu, 30 Oct 2003 14:01:43 +1100 (EST) (envelope-from andyf@speednet.com.au) Received: from hewey.af.speednet.com.au (hewey.af.speednet.com.au [172.22.2.17])h9U31bK5063489; Thu, 30 Oct 2003 13:01:38 +1000 (EST) (envelope-from andyf@speednet.com.au) Date: Thu, 30 Oct 2003 13:01:37 +1000 (EST) From: Andy Farkas X-X-Sender: andyf@hewey.af.speednet.com.au To: Jarkko Santala In-Reply-To: <20031027120642.A96390@trillian.santala.org> Message-ID: <20031030125537.F61846@hewey.af.speednet.com.au> References: <200310270731.AAA23485@lariat.org> <20031027080240.GA9552@rot13.obsecurity.org> <20031027120642.A96390@trillian.santala.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: security@freebsd.org cc: Kris Kennaway Subject: Re: Best way to filter "Nachi pings"? X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 03:01:50 -0000 On Mon, 27 Oct 2003, Jarkko Santala wrote: > On Mon, 27 Oct 2003, Kris Kennaway wrote: > > On Mon, Oct 27, 2003 at 11:06:52AM +0200, Jarkko Santala wrote: > > > > > > Definitely this block-all approach is not sane, its like if someone > > > complains about NFS being broken you'd say disable it. Filtering packets > > > by length on the other hand is a very nice feature to have. > > > > As it happens, ipfw[2] does this anyway. > > IMHO this is the correct answer that might have been given right away. So, using IPFW2, a rule to block the nachi ping would look like: add deny icmp from any to any in icmptypes 8 iplen 92 correct? -- :{ andyf@speednet.com.au Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/