[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: List of legal icmp-type values?



* Dave Anderson <[email protected]> [2004-05-19 15:32]:
> On Wed, 19 May 2004, Axel Rau wrote:
> 
> >Am 19.05.2004 um 06:05 schrieb Dave Anderson:
> >
> >> Where can I find a list of the legal non-numeric values for 'icmp-type'
> >> (e.g., echoreq, timex, etc)?  I've looked through the docs and mailing
> >> list archives and not found an answer to this.
> >If you can live with plaintext explanation, try this one
> >	http://www.faqs.org/rfcs/rfc792.html
> 
> Thanks, but that only gives the numeric values.  What I can't find
> anywhere is a list of the *names* which pf accepts for icmp-type, which
> I prefer to the numeric values since using them makes the pf.conf easier
> to read.
/usr/src/sbin/pfctl/pfctl_parser.c, line 74,
  static const struct icmptypeent icmp_type[] = {
etc
-- 
Henning Brauer, BS Web Services, http://bsws.de
[email protected] - [email protected]
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)