Actions
Bug #1098
closedhttp_raw_uri with relative pcre parsing issue
Affected Versions:
Effort:
Difficulty:
Label:
Description
Hi,
Suricata v2.0 beta 2 fire if you use relative uri pcre like this:
alert tcp any any -> any 80 (msg:"Testing Rule1"; content:"baduricontent"; http_raw_uri; pcre:"/[a-z]{5}\.html/R"; sid:1; rev:2;)
but not fire if you use ^ on relative uri pcre like this: (It's fire on snort)
alert tcp any any -> any 80 (msg:"Testing Rule2"; content:"baduricontent"; http_raw_uri; pcre:"/^[a-z]{5}\.html/R"; sid:2; rev:2;)
Tested with: wget http://google.com/baduricontentabcde.html
(joigned pcap file)
Regards
@rmkml rmkml
Files
Actions