Snort mailing list archives

Re: Writing a "not" snort rule


From: JJC <cummingsj () gmail com>
Date: Tue, 19 Mar 2013 12:35:50 -0600

He probably gets payed way too much already, this "Joe" character ;-)

On a serious note, do a search in the snort_manual for the keyword
"negate" and around page 182, and other locations, you will find your
solution.

JJC

On Tue, Mar 19, 2013 at 12:30 PM,  <ntbuck12 () yahoo com> wrote:
Attention Joe and snort rule writers. I have read a fair amount of
information on writing rules, but now I am stuck on how to to this.

How could I detect on the following scenario? - Alert on any packet that
contains ANYTHING OTHER THAN "message1", "message2" or "message3", in a
certain field.

Obviously I could use offset and depth to narrow down to the field I'm
looking at, but now to a do a "negative search". Ideas?


Side Note: I'm pretty sure whatever Joe Esler gets paid isn't nearly enough.
I love the blogs too, Joe.




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
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://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort
news!

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
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://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!


Current thread: