lkml.org 
[lkml]   [1999]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux ping flood on localhost
On Fri, 16 Apr 1999, Tigran Aivazian wrote:

> Hi,
>
> You said:
>
> >Ummm, If I remember correctly it was a bug in the ping program itself and
> > not in the kernel.
> > Just upgrade your version of ping.
>
> Yes, we know it is an FAQ and everybody knows the correct answer "get the
> latest ping" but, even the best Linux distributions (you know who you
> are!) still come with the ping(8) that says 95% packet loss on lo.
>
> Hope they take notice of this and correct their behaviour (while they are
> at it I hope they also trim down the /etc/rc.d/rc.sysinit file which I
> always have to manually shorten (by almost an order of magnitude)).
>

I think the latest ping will produce 90% packet loss on a flood to
localhost. This was some kind of 'feature' (a side-effect) introduced
around 2.2.x (Alan responded to this). As I understand it, ICMP replies
are delayed by a HZ, so the maximum response-rate is 100/second. Ping
flood tries 1000/second so you lose the flood-game.

Cheers,
Dick Johnson
***** FILE SYSTEM WAS MODIFIED *****
Penguin : Linux version 2.2.5 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.105 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site