Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Aug 2007 22:22:39 +0200
From:      Max Laier <max@love2party.net>
To:        freebsd-pf@freebsd.org
Subject:   Re: ping of death
Message-ID:  <200708302222.50629.max@love2party.net>
In-Reply-To: <107702.63851.qm@web53701.mail.re2.yahoo.com>
References:  <107702.63851.qm@web53701.mail.re2.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708302222.50629.max>