fd->scope = CONFIG_SCOPE_TX;
}
+ if (fd->scope == CONFIG_SCOPE_TX) {
+ s->flags |= SIG_FLAG_APPLAYER;
+ }
+
sm->ctx = (SigMatchCtx*)fd;
SigMatchAppendSMToList(s, sm, DETECT_SM_LIST_POSTMATCH);
#include "detect-dsize.h"
#include "detect-tcp-flags.h"
#include "detect-flow.h"
+#include "detect-config.h"
#include "detect-flowbits.h"
#include "util-profiling.h"
case DETECT_ENGINE_EVENT:
s->mask |= SIG_MASK_REQUIRE_ENGINE_EVENT;
break;
+ case DETECT_CONFIG: {
+ DetectConfigData *fd = (DetectConfigData *)sm->ctx;
+ if (fd->scope == CONFIG_SCOPE_FLOW) {
+ s->mask |= SIG_MASK_REQUIRE_FLOW;
+ }
+ break;
+ }
}
}