Snort mailing list archives

Re: Snort home net and external net question


From: Joel Esler <jesler () sourcefire com>
Date: Fri, 3 Sep 2010 12:52:44 -0400

On Sep 3, 2010, at 11:01 AM, Andy Berryman wrote:

If I have my home net of snort set to:
 
var HOME_NET [10.215.0.0/16]
 
How can I make my external net be !$HOME_NET and 10.215.40.0/24 subnet?
 

With recent versions of Snort, you can do positives and negatives in the same variable, but the more specific entry 
needs to come first.

var HOME_NET [10.215.0.0/16]
var EXTERNAL_NET [10.216.40.0/16,!$HOME_NET]

Should work.

Joel

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
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: