snort-users November 2009 archive
Main Archive Page > Month Archives  > snort-users archives
snort-users: Re: [Snort-users] If this, but not this rules

Re: [Snort-users] If this, but not this rules

From: Joel Esler <jesler_at_nospam>
Date: Wed Nov 25 2009 - 03:52:31 GMT
To: Jesse Lands <>

On Tue, Nov 24, 2009 at 8:28 PM, Jesse Lands <>wrote:

> Not sure if this even possible, but I want to alert on a specific file
> header flag, but not if it contains another flag.
> Is there a way to write an alert like that? Not asking for solutions. If
> there is a spot you can reference I can read it.

You mean to do a positive match, then a negative match? Yes.

For instance, I want to look for packets with the word "joel" but not the word "esler"

content:"joel"; content:!"esler"; -- Joel Esler | 302-223-5974 | gtalk:

------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.

_______________________________________________ Snort-users mailing list Go to this URL to change user options or unsubscribe: Snort-users list archive: