Snort mailing list archives

Re: Will this work - negated hosts?


From: "Weir, Jason" <jason.weir () nhrs org>
Date: Tue, 26 Oct 2010 12:24:45 -0400

-----Original Message-----
From: Crook, Parker [mailto:Parker_Crook () reyrey com] 
Sent: Tuesday, October 26, 2010 11:02 AM
To: Weir, Jason; snort-users () lists sourceforge net
Subject: RE: Will this work - negated hosts?


-----Original Message-----
From: Weir, Jason [mailto:jason.weir () nhrs org]
Sent: Tuesday, October 26, 2010 10:50 AM
To: snort-users () lists sourceforge net
Subject: [Snort-users] Will this work - negated hosts?

var HOME_NET [192.168.1.0/22,192.168.2.0/24]

var DNS_SERVERS [192.168.1.1,192.168.2.1]

var HOME_NET_MINUS_DNS [$HOME_NET,!$DNS_SERVERS]

And then use $HOME_NET_MINUS_DNS in a rule like this.

alert tcp [10.1.1.1,10.1.1.2,10.1.1.3] any -> $HOME_NET_MINUS_DNS
any

-Jason

Jason, yes this will work... I have been using logical 
negations from IP ranges for quite some time successfully 
(page 26 of the 2.9 manual).

-Parker

Looks like this is not working with 2.8.6.1 can anyone verify?

Any ideas?

-J


_____________________________________________________________________________________________

Please visit www.nhrs.org to subscribe to NHRS email announcements and updates.
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
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: