Snort mailing list archives

Re: Why is this rule still being tripped?


From: Orion Poplawski <orion () cora nwra com>
Date: Tue, 13 Jan 2004 13:24:02 -0700

Martin Roesch wrote:

Have you tried making a negated TRUSTED_NET set and using that instead of the global negation? I need to look at the logic, but I think that none of the IPs in TRUSTED_NET can match for the rule to fail.

Have you tried it with just the one net you want to ignore to narrow it down to the IP list?

     -Marty

Well, this doesn't change anything (as you would expect):


var TRUSTED_NET [65.171.192.0/24,192.168.0.0/24,65.104.69.192/27,207.202.149.0/24,12.105.80.64/27,69.9.9.160/27]
var PUBLIC_NET !$TRUSTED_NET

alert icmp $PUBLIC_NET any -> $HOME_NET any (msg:"ICMP PING"; itype: 8; icode: 0; sid:384; classtype:misc-activity; rev:4;)


What I don't understand is that I have:

var HOME_NET [65.171.192.0/24,192.168.0.0/24]
var EXTERNAL_NET !$HOME_NET

and those rules work. Perhaps it is an issue when both IP addrs are negated lists?

If I do:

var TRUSTED_NET 65.104.69.192/27
var PUBLIC_NET !$TRUSTED_NET

Then the rule does not trip on $PUBLIC_NET->$HOME_NET traffic.

--
Orion Poplawski
System Administrator                   303-415-9701 x222
Colorado Research Associates/NWRA      FAX: 303-415-9702
3380 Mitchell Lane, Boulder CO 80301   http://www.co-ra.com



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
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: