Actions
Bug #4548
closedrules: Unable to find the sm in any of the sm lists
Affected Versions:
Effort:
Difficulty:
Label:
Needs backport to 5.0
Description
I want to detect dns.flags.response==0 and dns.query is "test" or "abc" or "sdf".
alert dns any any -> any any (msg:"DNS_解析请求";byte_test:1,<,0x80,2;dns.query;pcre:"/test|abc|sdf/";sid:1;)
but this alerted "Unable to find the sm in any of the sm lists".
If modify the rule to:alert dns any any -> any any (msg:"DNS_解析请求";dns.query;pcre:"/test|abc|sdf/";sid:1;)
oralert dns any any -> any any (msg:"DNS_解析请求";byte_test:1,<,0x80,2;sid:1;)
These are ok. So,Why is this error reported.
Actions