> ping compiled with egcs-1.1.2 is broken. Anyone who's tried it out has
> noticed that. It doesn't ever get any return packets.
Just letting everyone know of my progress on the ping problem. I whipped
out ethereal on my workstation and got to pinging it from various
computers. When I sent a ping from my NeXT, my workstation sent back a
response. But when I sent a ping from an Alpha, no response was sent.
Digging deeper into the contents of the ping packet from the Alpha
revealed that the checksum was incorrect. I then turned to the ICMP RFC
(RFC 792) to find out if a bad checksum meant that no reply was to be
sent. I didn't find anything out there.
But that's what I'm going to bet is going on. I believe that the checksum
code in ping is incorrectly calculating the checksum by making assumptions
that the machine is 32-bit. I also believe that the reason ping built
with ccc doesn't work is because ccc takes some special precautions to
make sure that alignment isn't out of whack and all that.
So, I'll be spending the next several hours trying to patch up the ping
checksum code and seeing if that fixes the problem. If so, I'll have a
patch ready as soon as I'm done. If not, who knows. I guess it'll be
back to ethereal.
-- Chris Lumens - chris@slackware.com - KG6CIH @n=(-42,-85,-83,-19,65,2,-10,-10,-15,-3,2,-10,73,-4,8,-4,2,79,8,17,15,7,14,2); print map{chr(-$n[$i++]+ord)} sort(split(//,'place random string here')),"\n";
This archive was generated by hypermail 2b30 : Fri May 09 2003 - 10:00:02 PDT