Project

General

Profile

Actions

Optimization #5123

closed
JL JF

Bug #5124: alerts: 5.0.8/6.0.4 count noalert sigs towards built-in alert limit (5.0.x backport)

alerts: use alert queing in DetectEngineThreadCtx (5.0.x backport)

Optimization #5123: alerts: use alert queing in DetectEngineThreadCtx (5.0.x backport)

Added by Jeff Lucovsky about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
Effort:
Difficulty:
Label:

Description

Currently each alert is written directly to Packet::alerts during rule evaluation. Then at the end of the detection run for a packet, PacketAlertFinalize removes entries again, when applying thresholding, suppression and noalert. This leads to the issue in #4941 but is often also not very efficient esp when there are multiple rules to remove.

The idea of this ticket is to use a per DetectEngineThreadCtx specific queue of some sort to store the alert "candidates" and have PacketAlertFinalize only write the final alerts to the Packet structure.


Related issues 2 (0 open2 closed)

Related to Suricata - Optimization #5178: detect/alert: improve packet alert queue handlingRejectedJuliana Fajardini ReichowActions
Copied from Suricata - Optimization #4943: alerts: use alert queing in DetectEngineThreadCtxClosedJuliana Fajardini ReichowActions

JL Updated by Jeff Lucovsky about 4 years ago Actions #1

JF Updated by Juliana Fajardini Reichow about 4 years ago Actions #2

JF Updated by Juliana Fajardini Reichow almost 4 years ago Actions #3

  • Assignee changed from OISF Dev to Juliana Fajardini Reichow
  • Target version set to 5.0.10

JF Updated by Juliana Fajardini Reichow almost 4 years ago Actions #4

  • Status changed from New to In Progress

JF Updated by Juliana Fajardini Reichow almost 4 years ago Actions #5

  • Status changed from In Progress to In Review

JF Updated by Juliana Fajardini Reichow almost 4 years ago Actions #6

  • Subject changed from alerts: use alert queing in DetectEngineThreadCtx to alerts: use alert queing in DetectEngineThreadCtx (5.0.x backport)

VJ Updated by Victor Julien almost 4 years ago Actions #7

  • Parent task changed from #5120 to #5124

JF Updated by Juliana Fajardini Reichow almost 4 years ago Actions #8

  • Status changed from In Review to Closed
Actions

Also available in: PDF Atom