Bug #145
closedwithin does not work when previous match is pcre.
Description
within does not work when previous match is pcre. This is supported in snort we should do the same.
[3499] 4/5/2010 -- 19:41:06 - (detect-within.c:154) <Error> (DetectWithinSetup) -- [ERRCODE: SC_ERR_WITHIN_MISSING_CONTENT(99)] - within needs two preceeding content or uricontent options
[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 within modifier"; pcre:"/AllWorkAndNoPlayMakesWillADullBoy/"; content:"HTTP"; within:5; classtype:bad-unknown; sid:49; rev:1;)" from file /home/coz/allworkplain.rules at line 411
snort output...
01/04-12:29:26.927934 [**] [1:49:1] pcre with within modifier [**] [Classification: Potentially Bad Traffic] [Priority: 2] {TCP} 192.168.2.3:39867 -> 209.85.225.105:80
Files