Project

General

Profile

Actions

Bug #133

closed

suricata app-layer-htp response Zero-length data chunks are not allowed

Added by rmkml rmkml almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Hi,
I have downloaded last suricata git version (v0.8.2 release have same pb), and I have this error with joigned pcap file:
[25537] 28/4/2010 -- 13:14:28 - (app-layer-htp.c:406) <Error> (HTPHandleResponseData) -- [ERRCODE: SC_ERR_ALPARSER(56)] - Error in parsing HTTP server response: [1] [htp_response.c] [733] Zero-length data chunks are not allowed
[25537] 28/4/2010 -- 13:14:28 - (app-layer-parser.c:831) <Error> (AppLayerParse) -- [ERRCODE: SC_ERR_ALPARSER(56)] - Error occured in parsing "http" app layer protocol, using network protocol 6, source IP address 10.50.1.208, destination IP address 199.7.71.72, src port 51173 and dst port 80
If anyone have a idea please?
Joigned pcap file (not fuzing, it's a real/live trafic) contains http connection to ocsp_verisign since firefox browser.
Regards
Rmkml


Files

Actions #1

Updated by Pablo Rincon almost 14 years ago

Hi, this patch should fix it. The engine was not checking the size of the chunks and there was one of zero length, resulting on an error on the htplib.

Actions #2

Updated by Gurvinder Singh almost 14 years ago

Attached is the patch which fixes the cause of having zero size messages in itself. As in the given pcap there should not be any such messages.

Actions #3

Updated by Victor Julien almost 14 years ago

  • Status changed from Resolved to Closed
  • Target version set to 0.9.0

This was fixed by applying Gurvinder's patch. Thanks guys.

Actions

Also available in: Atom PDF