Snort mailing list archives

Re: [Snort-users] how to write rule to match content in http responce gzip encoding?


From: James Lay <jlay () slave-tothe-box net>
Date: Thu, 13 Dec 2012 16:14:57 -0700

On 2012-12-13 10:57, Mitesh Jadia wrote:
Hello,

I am writing one rule like    
 content:"ABC";nocase;msg:....

http response is in gzip encoding and I have enabled ZLIB while
configuring snort. Also http_inspect preprocessor configuration is 
set
to extended_response_inspection. But this rule is not getting 
matched.


Please show me proper way.

Regards,
Mitesh


Make sure you enable inspect_gzip in your http_inspect.  You'll also 
need the file_data; in order to normalize the content.

http://manual.snort.org/node398.html

Hope that helps.

James

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
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: