Snort mailing list archives
Re: snort rule help
From: Erek Adams <erek () theadamsfamily net>
Date: Tue, 16 Oct 2001 22:11:29 -0700 (PDT)
On Tue, 16 Oct 2001, Jeffrey Post wrote:
I am trying to modify a scan rule so that it ignores two specific hosts. I enclosed them in brackets and have a ! in front of each one, but snort still logs this traffic and puts it into the database. Is it possible to exclude two addresses? Here is the rule I am using.
Yes.
alert tcp $EXTERNAL_NET any -> [!A.B.C.D,!W.X.Y.Z] 8080 (msg:"SCAN Proxy attempt";flags:S; classtype:attempted-recon; sid:620; rev:1;) I am running Snort 1.8.1on one computer logging to a mysql database. Any help would be appreciated.
Well.... I'd go about it another way: snort -o <rest of your options> And in your rules: pass tcp $EXTERNAL_NET any -> [A.B.C.D,W.X.Y.Z] 8080 That should pass all traffic from the outside to those IP's. Cheers! ----- Erek Adams Nifty-Type-Guy TheAdamsFamily.Net _______________________________________________ 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 rule help Jeffrey Post (Oct 16)
- Re: snort rule help Chris Green (Oct 16)
- Re: snort rule help Erek Adams (Oct 16)