In article <(E-Mail Removed)>, Andrei Ivanov wrote:
>Moe Trin <(E-Mail Removed)> wrote:
>> In article <(E-Mail Removed)>, Andrei Ivanov wrote:
>>>
>>>I would ping every hop with series of several hundred
>>>ICMP echo-request's, first standard size packets (small),
>>>then 1 Kb, or larger.
>>
>> Please do not do that. Some people understand that as a "denial of
>> service" attack. There is simply NO REASON to abuse the network like
>> that. Three pings should tell you enough - so try
>>
>> ping -c 3 -s 1480 IP.ADD.RE.SS
>
>If I'll send one hundred ICMP echo requests, and will get back 80
>responses, it will mean that at that particular hop 20% of packets
>were lost. It's terrible condition, and definitely something would
>be wrong right at that hop.
But what would you do about it? Source routing has been ignored for
more than ten years, and trying to send mail to the owner of the routers
at each end of the "bad link" is nearly useless, even assuming you gat
figure out what a working address might be..
>Your three ping's in this case will [very likely] reveal nothing at all.
I also look for hints in the round trip delays. If I see _anything_ in
three pings, I would likely inventigate further, but would use a more
appropriate tool. Ping, and the crippled version of 'tracerout' that
comes with windoze and uses ICMP echos in place of UDP packets are not
reresentative of what is happening to your _data_ packets.
>It's not network abuse, it's just proper use for proper tool.
Have you noticed how many hosts no longer reply to pings? We drop them
(inbound) at the border router because of abuse. The two ISPs I use at
home do the same, mainly because of abuse, but also because of windoze
worms. The (American) National Security Agency recommends _rejecting_
ICMP echo (as well as 'ICMP redirect', ICMP mask-request) both in AND
outbound.
http://www.nsa.gov/snac/index.html. Before you get to
parinoid, this is the same outfit that brings you SELinux.
On our internal LAN, we permit pings, but none of the servers or
routers will answer. Ten years ago, on booting a host that had been
moved, or repaired or whenever there was a question of communication,
we'd blast away, with
ping -c 25 -s 20480 some.nearby.host
and be worried if even one ping (note the -size which means each ping
gets fragmented, and generates 14 packets each way, and all had to come
back IN THE CORRECT ORDER to be considered a success) failed. That was
on a 255.255.252.0 subnet that often had over three hundred active hosts
on the same 10Base5 Thicknet wire. Times have changed, and I don't do that
any more, even on my home network with just six hosts.
Old guy