Actions
Bug #4715
closedpcre keyword cause more alert!
Affected Versions:
Effort:
Difficulty:
Label:
Description
When I use the pcre keyword to detect pcap. It alerted 156 times.alert smb any any -> any any (msg:"smb  test";pcre:"/test/";sid:26;)
But, Change pcre keyword to content keyword, it  alerted 5 times.alert smb any any -> any any (msg:"smb  test";content:"test";sid:27;)
What caused this?  
Does PCRE change the detection mode ? 
If this is the reason,  What keyword can make pcre keyword like content keyword work?
Updated by Philippe Antoine over 2 years ago
Would you have a pcap to reproduce this ?
Also, please note that using pcre on stream without any fixed content will lead to very poor performance
Updated by Philippe Antoine over 1 year ago
- Status changed from New to Feedback
- Target version set to TBD
Updated by Philippe Antoine 8 months ago
I think this comes from the fact that fixed content will run prefilter somehow
Actions