mailing list archives
Re: Big problem on 2.0.x?
From: swhite () OX COMPSOC NET (Stephen White)
Date: Sat, 11 Dec 1999 17:22:34 +0000
Mike Ireton wrote:
i found that when u do a ping -s 65468 -R ANYIPADDRESS ( -R record
route) the system starts to print on the screen kernel dumps
, freezes complitely and after few secconds the system reboots.
This can be 'fixed' (okay kludged around) by altering the
#define MAXPACKET (65536 - 60 - 8)/* max packet size */
line in ping.c
I've reduced it to 32K (32768) on my Linux 2.0.36 box, since that should
avoid all possible problems (air on the side of caution and all that). I
don't see users having any reason to need such large ping packets anyway
(other than for the purpose of local or remote exploits).
For those using RedHat 5.2 I've made an SRPM and .i368 RPM containing my
new ping and they are avaiable via annon. ftp at
You'll need to install with --force since the package reports the same
version as the normal redhat5.2 one so RPM thinks it's already
It has also been suggested that ping could be patched to make '-s' only
available to root (like '-l' is), as an alternative solution. I haven't
tried this but it should be a fairly simple modification.
Neither of these address the real problem in the kernel, but they do
mean that sysadmins can go on allowing users to run ping without the
worry of quite such a trivial DoS.
The same problem does not appear to occur in Linux 2.2, Windows 95 or
Stephen White OU Compsoc System Administration Team
<swhite () ox compsoc net> http://www.ox.compsoc.net/~swhite/
- Big problem on 2.0.x? Eduardo Cruz (Dec 09)
- <Possible follow-ups>
- Re: Big problem on 2.0.x? Stephen White (Dec 11)