Snort mailing list archives

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


From: "J-H. Johansen" <corinth () online no>
Date: Thu, 27 Nov 2003 17:49:47 +0100

J-H. Johansen wrote:

Hi,

I'm working on some ICMP rules and was wondering
Recently I added a variable which contains our homenet with exclusions:

var NOT_ICMP_SERVERS [$HOME_NET,!xxx.xxx.xx.xxx/32,!xxx.xx.xx.xx/32]

This failed while running a check so I've also tried:

var ICMP_WHITELIST [xxx.xxx.xx.xxx/32,xxx.xx.xx.xx/32]
var NOT_ICMP_SERVERS $HOME_NET !$ICMP_WHITELIST

this one doesn't fail but it doesn't work either.

var ICMP_WHITELIST [xxx.xxx.xx.xxx/32,xxx.xx.xx.xx/32]
var NOT_ICMP_SERVERS [$HOME_NET,!$ICMP_WHITELIST]

fails as well.

Any clues as to how this must be done ?


And does anyone have a clue why bigbrother sent me this reply when I sent this mail ?


Subject: Symantec Mail Security detected that you sent a message containing prohibited content
From: admin () unitedwaydenver org

Subject of the message: [Snort-users] Question about negated and non-negated variables in rules Recipient of the message: "snort-users () lists sourceforge net" <snort-users () lists sourceforge net>

jens:H


-------------------------------------------------------
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: