[Snort-users] icmp pass rules

Stephen Reese rsreese at ...11827...
Fri Oct 24 01:35:54 EDT 2008

I would like pass echo reply's on the internal network but not all
ICMP traffic. Currently my rule passes all of the internal ICMP
traffic, it there a way to be specific when creating a pass a rule
with ICMP?

var HOME_NET [,,,,]

#Who cares if internal hosts are pinging each other
pass icmp $HOME_NET any -> $HOME_NET any (msg:"ICMP Echo Reply"; sid:1000002;)


On Wed, Oct 22, 2008 at 2:02 PM, Stephen Reese <rsreese at ...11827...> wrote:
> On Wed, Oct 22, 2008 at 1:32 PM, Joel Esler <eslerj at ...11827...> wrote:
>> Your rules have no "sid" keyword in them. You must put an sid number in
>> there above 1 million.
>> J
> Thank you Joel, got it with the following:
> #Ignore redirects from the main router
> var 3825ROUTER []
> pass icmp $3825ROUTER any -> $HOME_NET any (msg:"ICMP Destination
> Unreachable Protocol Unreachable"; sid:1000000;)
> #Chatty Minolta copiers
> var DI200 [,]
> pass icmp $DI200 any -> $3825ROUTER any (msg:"ICMP redirect net"; sid:1000001;)

More information about the Snort-users mailing list