Project

General

Profile

Actions

Bug #2117

closed

byte_extract and byte_test collaboration doesnt work on 3.2.1

Added by ajaxtpm ajaxtpm almost 7 years ago. Updated almost 7 years ago.

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

Description

First of all, it doesnt work on 3.2.1 but works on 4.0dev currently.

The issue is when I extract a number from a string (content-length header value) by applying byte_extract to it and then compare it to another string number (http chunk size) by using byte_test it doesnt work as expected and it seems that 2nd number (chunk size) is compared to 0.
Find test sigs, pcap and suricata 3.2.1 output in attachment


Files

SuricataTest-20170522T111003Z-001.zip (2.76 KB) SuricataTest-20170522T111003Z-001.zip ajaxtpm ajaxtpm, 05/22/2017 06:10 AM
Actions

Also available in: Atom PDF