Snort mailing list archives

Re: Question about negated and non-negated variables in rules


From: Matt Kettler <mkettler () evi-inc com>
Date: Mon, 01 Dec 2003 10:23:16 -0500

At 10:12 AM 12/1/2003, J-H. Johansen wrote:
After reading a bit I ended up with a pass rule like below:

pass icmp $ICMP_WHITELIST any -> $HOME_NET any (dsize: >800; sid:499;)


I kept the sid in order to know what alert rule I'm letting pass.

do not duplicate SIDs.. this is technically a syntax error, although snort won't complain much about it.

Use the sid + 1000000 (one million).

ie:

pass icmp $ICMP_WHITELIST any -> $HOME_NET any (dsize: >800; sid:1000499;)


(any sids over 1 million are reserved for local use so you don't have to worry about conflict.



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: