Snort mailing list archives

Re: snort and http_inspect


From: Joel Esler <jesler () sourcefire com>
Date: Wed, 27 Feb 2013 08:35:46 -0500

You don't have a full session pcap here, this is only one side of the conversation, which would be why it's not working.


On Feb 27, 2013, at 2:18 AM, Smit Smit <lonely.ruyk () yandex ru> wrote:

Ok, for example this.
 
INTERESTING: if i remove  http_header keyword from test rule snort will alert.
 
 
27.02.2013, 06:19, "Joel Esler" <jesler () sourcefire com>:
Can you send the pcap off list?

--
Joel Esler
Sent from my iPhone 

On Feb 26, 2013, at 8:41 PM, Ruyk <lonely.ruyk () yandex ru> wrote:

Hello, list.

I have problem with snort at Ubuntu server 12 (x86_64).
HTTP inspect preprocessor won't handle HTTP packages.

I write test rule in local.rules:

alert tcp any any <> any any (msg:"test alert";content:"GET"; nocase; http_header; classtype:trojan-activity; 
sid:2000004201;)

then I run snort like this:
/usr/local/bin/snort -c /usr/local/etc/snort/snort.conf -r /tmp/test_http_alerts.pcap

where test_http_alerts.pcap contains requests to web server via proxy(3128 port)

But this alert don't triggers and HTTP inspect reports:
   POST methods:                         0
   GET methods:                          0

Files with additional info in attachment.

P.S.: Sorry for my English
<snort.conf>
<snort_output.txt>
------------------------------------------------------------------------------
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_feb
_______________________________________________
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!
<ya_request.pcap>

------------------------------------------------------------------------------
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_feb
_______________________________________________
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: