hi Mani!

ping (8)
--------------------------------------------------------
[...]
     -l preload
             If preload is specified, ping sends that many packets as fast as
             possible before falling into its normal mode of behavior.  Only
             the super-user may use this option.

[...]
    -f      Flood ping.  Outputs packets as fast as they come back or one
             hundred times per second, whichever is more.  For every
  
[...]
---------------------------------------------------------

-l is worse than -f in that a packet is sent as soon as the
system call sending the last packet returns. So right now, you are
still trying to hit your network with a hundred million ICMP packets
almost at once. And if that is not enough you are following that with
a floodping.

Packets are still being _sent_. You should see a spate of '.'s each of
which will tell you that a ping has failed. 

Your machine is still sending the huge amount of data, the windows
machine card still has to receive all those data and pass it on to the
NIC software driver which still has to pass it to the windows IP layer, which
ultimately rejects all that data. So you _are_ still taking up cycles
on the windows machine.

- Sandip


On Tue, May 07, 2002 at 08:08:48AM +0530, Subramani A spoke out thus:
> Hi,
>     I did a 'ping -frl 99999999 -s 6500 <ip of a windowz 2000 box>' from my
> Mandrake 8.2 machine, and managed to send the network usage to 100 %,
> needless to say the machine began to crawl. I disabled ICMP ping on the
> windowz box and it stopped replying to all ping requests on that IP, but
> strangely the flooded ping still works, only diff is that the windows box
> does not send back any packets. 
> 
> Any reason why this is happening? What does the ping -f option really do? I
> thought that it sends fragmented ICMP packets to the target machine..

-- 
Sandip Bhattacharya
Mindframe Software
Work: sandip @ mindsw.com, http://www.mindsw.com
Play: sandipb @ bigfoot.com, http://www.sandipb.net
-----------------------------------------------

          ================================================
To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header
Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org
          =================================================

Reply via email to