Bug #144
closedisdataat + relative does not work when previous match is pcre.
Description
isdataat + relative does not work when previous match is pcre. This behavior is supported in snort we should do the same
[3499] 4/5/2010 -- 19:41:06 - (detect-isdataat.c:253) <Error> (DetectIsdataatSetup) -- [ERRCODE: SC_ERR_INVALID_SIGNATURE(36)] - Unknown previous keyword!
[3499] 4/5/2010 -- 19:41:06 - (detect.c:295) <Error> (DetectLoadSigFile) -- [ERRCODE: SC_ERR_INVALID_SIGNATURE(36)] - Error parsing signature "alert tcp any any -> any any (msg:"pcre with isdataat + relative"; pcre:"/A(ll|pp)WorkAndNoPlayMakesWillADullBoy/"; isdataat:96,relative; sid:106;)" from file /home/coz/allworkplain.rules at line 207
01/04-12:29:26.927934 [**] [1:106:0] pcre with isdataat + relative [**] [Priority: 0] {TCP} 192.168.2.3:39867 -> 209.85.225.105:80
Files
Updated by Gurvinder Singh over 14 years ago
- File 0001-set-the-isdataat-keyword-when-previous-sigmatch-is-e.patch 0001-set-the-isdataat-keyword-when-previous-sigmatch-is-e.patch added
- Status changed from New to Resolved
- Assignee changed from OISF Dev to Gurvinder Singh
- % Done changed from 0 to 90
Attached patch supports setting up sig when previous keyword is pcre
Updated by Victor Julien over 14 years ago
- Status changed from Resolved to Closed
- % Done changed from 90 to 100
Patches applied, thanks Gurvinder.