Project

General

Profile

Actions

Bug #6408

closed

Output plugins receive identifier, but not thread identifier

Added by Jeff Lucovsky about 1 year ago. Updated 8 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.


Related issues 1 (1 open0 closed)

Blocks Suricata - Story #7148: extensibility: pluginsNewVictor JulienActions
Actions

Also available in: Atom PDF