Consider signatures with the flags keyword to be packet inspecting only, not stream.

remotes/origin/master-1.1.x
Victor Julien 14 years ago
parent 30d84ab20d
commit 09b5dca343

@ -135,7 +135,14 @@ int SignatureHasStreamContent(Signature *s) {
SCReturnInt(0);
}
SigMatch *sm = s->sm_lists[DETECT_SM_LIST_PMATCH];
SigMatch *sm = s->sm_lists[DETECT_SM_LIST_MATCH];
for ( ; sm != NULL; sm = sm->next) {
if (sm->type == DETECT_FLAGS) {
SCReturnInt(0);
}
}
sm = s->sm_lists[DETECT_SM_LIST_PMATCH];
if (sm == NULL) {
SCReturnInt(0);
}

Loading…
Cancel
Save