Your message dated Thu, 12 Apr 2007 01:10:43 -0400
with message-id <[EMAIL PROTECTED]>
and subject line no need to keep this open
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: iputils-ping
Version: 20020927-3
Hi!
I need to say up front that I'm not sure about the methods I'm taking here,
but there sure is some potential for confusion.
What I did was simply to ping a broadcast address in order to discover
connected hosts:
ping -c1 -b 192.168.55.255
The problem is that ping here exits when it gets the first reply. Looking at
the manpage, I see the '-w' argument, which looks useful, but even with it,
ping exits as soon as it receives the number of replies it expects. Here is
also the error: when broadcasting, you can't know how many answers might
come, so it shouldn't finish before it times out.
There is also a sentence in the manpage that was obviously not written with
broadcast addresses in mind, it says "Duplicate packets should never
occur,...". Pinging a broadcast address without -c parameter will give you
those duplicates.
I think at least the manpage deserves an update, but currently the -b option
is pretty useless due to the other shortcomings.
cheers
Uli
****************************************************
Visit our website at <http://www.domino-printing.com/>
****************************************************
This Email and any files transmitted with it are intended only for the person
or entity to which it is addressed and may contain confidential and/or
privileged material. Any reading, redistribution, disclosure or other use of,
or taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you are not the
intended recipient please contact the sender immediately and delete the
material from your computer.
E-mail may be susceptible to data corruption, interception, viruses and
unauthorised amendment and Domino UK Limited does not accept liability for any
such corruption, interception, viruses or amendment or their consequences.
****************************************************
--- End Message ---
--- Begin Message ---
Most modern ICMP/IP implementations aren't going to respond to broadcast
pings anyway, so pinging a broadcast address in an attempt to discover
hosts is going to produce dubious results. You're likely to get better
results with a "ping sweep" over all the unicast addresses on the
network.
Resolving this bug, as I don't believe any aspect of ping's behavior
should change.
noah
signature.asc
Description: Digital signature
--- End Message ---