Re: Blocking ping ?

From: Valdis Kletnieks (valdis.kletnieks@vt.edu)
Date: 02/04/02


From: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Date: 04 Feb 2002 15:38:47 -0500

Ashok Aiyar <aiyar@ebv.mimnet.northwestern.edu> writes:

> On 3 Feb 2002 03:18:17 GMT,
> Ashok Aiyar (aiyar@ebv.mimnet.northwestern.edu) wrote:
> > P.S. look at /usr/include/netinet/ip_icmp.h for a complete list
> > of all ICMP types and their descriptions.
>
> A better reference would be:
> http://www.iana.org/assignments/icmp-parameters

Actually, in this case, ip_icmp.h is probably a better reference.
icmp-parameters is *all* the registered parameters, most of which
are likely not supported in his kernel (for instance, the IANA
lists:

 6 Alternate Host Address [JBP]

which you don't get in ip_icmp.h even if you *do* #define __USE_BSD (at
least not in my Linux 2.4 kernel..)

The files in /usr/include document what *your* system implements
(or at least they should)...

Having said that, the IANA list *is* something you should go and
read - if only so you understand what ICMP packets you *dont* support
but may encounter... ;)

-- 
				Valdis Kletnieks
				Computer Systems Senior Engineer
				Virginia Tech



Relevant Pages


Quantcast