[Oisf-devel] [PATCH] Added request length to custom HTTP logging

I. Sanchez sanchezmartin.ji at gmail.com
Sun May 26 10:03:20 UTC 2013


Hi,

The patch is included in the Pull Request 377 regarding feature #602

https://github.com/inliniac/suricata/pull/377
https://redmine.openinfosecfoundation.org/issues/602

Cheers,

  Ignacio




On Sun, May 26, 2013 at 6:26 AM, <mathewm at sdf.lonestar.org> wrote:

> On Thu, 28 Mar 2013 10:37:10 +0100, Victor Julien <victor at inliniac.net>
> wrote:
>
>> On 03/23/2013 10:46 AM, mathewm at sdf.lonestar.org wrote:
>>
>>> Added request length to custom HTTP logging
>>>
>>> Custom HTTP logging currently provides access to the HTTP response
>>> length (via %B in the custom log format string), but not the request
>>> length. The request length can be very valuable.
>>>
>>> I've modified log-httplog.c to provide access to libhtp's
>>> request_message_len, via %b in the custom log format.
>>>
>>
>> Interesting addition. Was going to apply it, but my git rejects it. Can
>> you retry sending it against the current master, or attach a "git
>> format-patch -1" file? A github pr works as well.
>>
>> Cheers,
>> Victor
>>
>
> Sorry for the delay, I need to pay more attention to my email!
>
> A corrected patch file is attached, which I managed to successfully test
> locally so with any luck this one will be OK.
>
> Cheers
>
> Mat
> _______________________________________________
> Suricata IDS Devel mailing list: oisf-devel at openinfosecfoundation.org
> Site: http://suricata-ids.org | Participate:
> http://suricata-ids.org/participate/
> List: https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-devel
> Redmine: https://redmine.openinfosecfoundation.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openinfosecfoundation.org/pipermail/oisf-devel/attachments/20130526/0f27116b/attachment-0002.html>


More information about the Oisf-devel mailing list