Re: Rules for ICMP Type X Code Y

Tom Eastep
Thu, 05 Nov 2009 17:25:55 -0000

bgardner@iprotech.info wrote:
> Is it possible to create rules that apply to specific codes of ICMP types?
>
> The AllowICMPs macro seems to have this type of precision for ICMP type 3
code 4.
>
> How can I write a rule that has this kind of precision for arbitrary ICMP
types/codes?

The same way as the macro does.

-Tom
--
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________