|
|
|
@ -1698,6 +1698,10 @@ static void DetectRunTx(ThreadVars *tv,
|
|
|
|
|
|
|
|
|
|
|
|
SCLogDebug("%p/%" PRIu64 " txd flags %02x", tx.tx_ptr, tx_id_min, tx.tx_data_ptr->flags);
|
|
|
|
SCLogDebug("%p/%" PRIu64 " txd flags %02x", tx.tx_ptr, tx_id_min, tx.tx_data_ptr->flags);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
det_ctx->tx_id = tx.tx_id;
|
|
|
|
|
|
|
|
det_ctx->tx_id_set = true;
|
|
|
|
|
|
|
|
det_ctx->p = p;
|
|
|
|
|
|
|
|
|
|
|
|
bool do_sort = false; // do we need to sort the tx candidate list?
|
|
|
|
bool do_sort = false; // do we need to sort the tx candidate list?
|
|
|
|
uint32_t array_idx = 0;
|
|
|
|
uint32_t array_idx = 0;
|
|
|
|
uint32_t total_rules = det_ctx->match_array_cnt;
|
|
|
|
uint32_t total_rules = det_ctx->match_array_cnt;
|
|
|
|
@ -1790,9 +1794,6 @@ static void DetectRunTx(ThreadVars *tv,
|
|
|
|
if (array_idx >= de_ctx->profile_match_logging_threshold)
|
|
|
|
if (array_idx >= de_ctx->profile_match_logging_threshold)
|
|
|
|
RulesDumpTxMatchArray(det_ctx, scratch->sgh, p, tx.tx_id, array_idx, x);
|
|
|
|
RulesDumpTxMatchArray(det_ctx, scratch->sgh, p, tx.tx_id, array_idx, x);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
det_ctx->tx_id = tx.tx_id;
|
|
|
|
|
|
|
|
det_ctx->tx_id_set = true;
|
|
|
|
|
|
|
|
det_ctx->p = p;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef DEBUG
|
|
|
|
#ifdef DEBUG
|
|
|
|
for (uint32_t i = 0; i < array_idx; i++) {
|
|
|
|
for (uint32_t i = 0; i < array_idx; i++) {
|
|
|
|
|