Snort mailing list archives
Re: Snort Variables
From: Matt Kettler <mkettler () evi-inc com>
Date: Fri, 06 Feb 2004 13:38:08 -0500
At 11:32 AM 2/6/2004, SN ORT wrote:
OK, so in the process of optimizing my config, I want to be able to check and see that the variables are reading and storing the correct info I put in the config. Example: var $HTTP_SERVERS [$HOME_NET,!$FIREWALLS] So how do I look at this variable to see it's contents?
Expand it by hand... They're just done as literal text substitution.I suspect you have a common and obvious logic bug. From looking at the above, you want to match HOME_NET and exclude FIREWALLS..
However, that's not what you've declared.The comma separated listings in IP address lists for snort is an OR operator. So the list matches (HOME_NET) OR (not FIREWALLS) . If FIREWALLS is a subset of HOME_NET, the result is the same as "any"
With snort syntax you cannot define HTTP_SERVERS = "everything in HOME_NET, with the exlusion of my FIREWALLS". You have to define it by adding things together.. no subtractions.
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ 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:
- Snort Variables SN ORT (Feb 06)
- Re: Snort Variables Matt Kettler (Feb 06)
- <Possible follow-ups>
- RE: Snort Variables bmcdowell (Feb 06)
