From owner-freebsd-pf@FreeBSD.ORG Thu Aug 30 20:22:54 2007 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12A6716A421 for ; Thu, 30 Aug 2007 20:22:54 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.freebsd.org (Postfix) with ESMTP id 98AC713C465 for ; Thu, 30 Aug 2007 20:22:53 +0000 (UTC) (envelope-from max@love2party.net) Received: from dslb-088-066-029-033.pools.arcor-ip.net [88.66.29.33] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis), id 0ML31I-1IQqXU0Bdn-0001NW; Thu, 30 Aug 2007 22:22:52 +0200 From: Max Laier Organization: FreeBSD To: freebsd-pf@freebsd.org Date: Thu, 30 Aug 2007 22:22:39 +0200 User-Agent: KMail/1.9.7 References: <107702.63851.qm@web53701.mail.re2.yahoo.com> In-Reply-To: <107702.63851.qm@web53701.mail.re2.yahoo.com> X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<=?utf-8?q?=25=7D*=5FBD=0A=09U=5For=3D=5CmOZf764=26nYj=3DJYbR1PW0ud?=>|!~,,CPC.1-D$FG@0h3#'5"k{V]a~.<=?utf-8?q?mZ=7D44=23Se=7Em=0A=09Fe=7E=5C=5DX5B=5D=5Fxj?=(ykz9QKMw_l0C2AQ]}Ym8)fU MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5532724.30vefhT4s1"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200708302222.50629.max@love2party.net> X-Provags-ID: V01U2FsdGVkX1+S0TpqlnJq8n3JQUA26uPvF1m+ZGrtDYa0PEe QEvNFW7QuP3839SObMT19kkGddmqbYVoQhpC44HD3TrhfIXLbB bYrfzqhPkdxu+30RS9aMbrFHNhLD5i59l+v3rtJREc= Cc: Subject: Re: ping of death X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Aug 2007 20:22:54 -0000 --nextPart5532724.30vefhT4s1 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 30 August 2007, Lorenz Helleis wrote: > Nessus give it to me: > > Mensagem: > The machine crashed when pinged with an incorrectly fragmented packet. > This is known as the 'jolt' or 'ping of death' denial of service > attack. > > An attacker may use this flaw to shut down this server, > thus preventing you from working properly. > > Solution : contact your operating system vendor for a patch. > > How can i fix this using pf ?? basic scrubbing will take care of the classic 'ping of death': /* Respect maximum length */ if (fragoff + ip_len > IP_MAXPACKET) { DPFPRINTF(("max packet %d\n", fragoff + ip_len)); goto bad; } so=20 scrub in on $ext_if=20 should keep you save. =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart5532724.30vefhT4s1 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBG1ycaXyyEoT62BG0RAtexAJ41Evwjz4wdyOajLwpGmljlXzFQxACfSV8d pMjWWFi42vHqiPVefug6kxo= =T86h -----END PGP SIGNATURE----- --nextPart5532724.30vefhT4s1--