[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-inetutils] ping -c 1 down.site.com never returns
From: |
Hisham Kotry |
Subject: |
Re: [bug-inetutils] ping -c 1 down.site.com never returns |
Date: |
Mon, 5 Jan 2004 12:07:51 -0800 (PST) |
--- Sergey Poznyakoff <address@hidden> wrote:
>
> > ping -c 1 www.ibm.com never returns. The site drops
> > icmp packets.
> [...]
> > The actual behaviour is for ping to continue running until
> > it receives a packet or is interrupted.
> [...]
> > Can anyone think of an elegant solution? Or is this the
> > desired behaviour?
>
> Actually, that's the way most ping implementations behave. The only
> possible solution will be to enforce some timeout value via the
> command line.
Or use a default value of 3seconds, rfc2988 (along-side other more
advanced algorithms) uses it as an initial value for tcp's rto, wich is
a pretty good estimation on the rtt's upper-bound.
Cheers,
kotry
__________________________________
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003