SCLogInfo("%"PRIu64" sigs per scan match on avg needed inspection, total scans %"PRIu64", less than 25 sigs need inspect %"PRIu64", more than 100 sigs need inspect %"PRIu64", more than 1000 %"PRIu64" max %"PRIu64"",det_ctx->scans_sigs /det_ctx->scans_match,det_ctx->scans_match,det_ctx->scans_sigsmin25,det_ctx->scans_sigsplus100,det_ctx->scans_sigsplus1000,det_ctx->scans_sigsmax);
SCLogInfo("%"PRIu64" sigs per scan match on avg needed inspection, total scans %"PRIu64", less than 25 sigs need inspect %"PRIu64", more than 100 sigs need inspect %"PRIu64", more than 1000 %"PRIu64" max %"PRIu64"",det_ctx->scans_match ?det_ctx->scans_sigs /det_ctx->scans_match:0,det_ctx->scans_match,det_ctx->scans_sigsmin25,det_ctx->scans_sigsplus100,det_ctx->scans_sigsplus1000,det_ctx->scans_sigsmax);
}
/** \brief Create the path if default-rule-path was specified
@ -612,11 +612,15 @@ int SigMatchSignatures(ThreadVars *th_v, DetectEngineCtx *de_ctx, DetectEngineTh
SCMutexUnlock(&p->flow->m);
/* only consider uri sigs if we've seen at least one match */
/** \warn when we start supporting negated uri content matches
/** \warning when we start supporting negated uri content matches
*weneedtoupdatethischeckaswell*/
if(cnt>0){
det_ctx->de_have_httpuri=TRUE;
}
SCLogDebug("uricontent cnt %"PRIu32"",cnt);
}else{
SCLogDebug("no uri inspection: have uri %s",det_ctx->sgh->flags&SIG_GROUP_HAVEURICONTENT?"true":"false");
}
/* inspect the sigs against the packet */
@ -643,8 +647,6 @@ int SigMatchSignatures(ThreadVars *th_v, DetectEngineCtx *de_ctx, DetectEngineTh