Re: 2.1.126 - x.x.x.x sent an invalid ICMP error to a broadcast

wilfrid Gaboriaud (wgaboria@iut-lr.univ-lr.fr)
Thu, 05 Nov 1998 09:10:41 +0100


see the kernel sources :
/*
* Throw it at our lower layers
*
* RFC 1122: 3.2.2 MUST extract the protocol ID from the
passed header.
* RFC 1122: 3.2.2.1 MUST pass ICMP unreach messages to the
transport layer.
* RFC 1122: 3.2.2.2 MUST pass ICMP time expired messages
to transport layer.
*/

/*
* Check the other end isnt violating RFC 1122. Some
routers send
* bogus responses to broadcast frames. If you see this
message
* first check your netmask matches at both ends, if it
does then
* get the other vendor to fix their kit.
*/

if (inet_addr_type(iph->daddr) == RTN_BROADCAST)
{
if (net_ratelimit())
printk(KERN_WARNING "%s sent an invalid ICMP
error to a
broadcast.\n",
in_ntoa(skb->nh.iph->saddr));
return;
}

wilfrid

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/