Project

General

Profile

Actions

Bug #6408

closed

Output plugins receive identifier, but not thread identifier

Added by Jeff Lucovsky 7 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Currently, output plugins receive a "thread_id" during per-thread initialization. The thread id is actually a slot number for an internal data structure and thus, not useful for correlating to the Suricata thread.

Instead, the per-thread init function should receive a correlating value to the Suricata threads. The semantic change should be unnoticed by output plugins as the id will continue to be unique for different Suricata threads.

Actions

Also available in: Atom PDF