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 <cryptograffiti@gmail.com>


On Tue, Nov 24, 2009 at 8:28 PM, Jesse Lands <cryptograffiti@gmail.com>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: jesler@sourcefire.com

------------------------------------------------------------------------------ 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. http://p.sf.net/sfu/bobj-july

_______________________________________________ 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