|
|
|
@ -3609,19 +3609,19 @@ int SigGroupBuild (DetectEngineCtx *de_ctx) {
|
|
|
|
|
if (mpm_table[de_ctx->mpm_matcher].Prepare != NULL) {
|
|
|
|
|
mpm_table[de_ctx->mpm_matcher].Prepare(mpm_ctx);
|
|
|
|
|
}
|
|
|
|
|
printf("packet- %d\n", mpm_ctx->pattern_cnt);
|
|
|
|
|
//printf("packet- %d\n", mpm_ctx->pattern_cnt);
|
|
|
|
|
|
|
|
|
|
mpm_ctx = MpmFactoryGetMpmCtxForProfile(de_ctx->sgh_mpm_context_uri);
|
|
|
|
|
if (mpm_table[de_ctx->mpm_matcher].Prepare != NULL) {
|
|
|
|
|
mpm_table[de_ctx->mpm_matcher].Prepare(mpm_ctx);
|
|
|
|
|
}
|
|
|
|
|
printf("uri- %d\n", mpm_ctx->pattern_cnt);
|
|
|
|
|
//printf("uri- %d\n", mpm_ctx->pattern_cnt);
|
|
|
|
|
|
|
|
|
|
mpm_ctx = MpmFactoryGetMpmCtxForProfile(de_ctx->sgh_mpm_context_stream);
|
|
|
|
|
if (mpm_table[de_ctx->mpm_matcher].Prepare != NULL) {
|
|
|
|
|
mpm_table[de_ctx->mpm_matcher].Prepare(mpm_ctx);
|
|
|
|
|
}
|
|
|
|
|
printf("stream- %d\n", mpm_ctx->pattern_cnt);
|
|
|
|
|
//printf("stream- %d\n", mpm_ctx->pattern_cnt);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// SigAddressPrepareStage5(de_ctx);
|
|
|
|
|