Project

General

Profile

Actions

Bug #6408

closed

Output plugins receive identifier, but not thread identifier

Added by Jeff Lucovsky over 1 year ago. Updated 12 days 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 #1

Updated by Jeff Lucovsky over 1 year ago

  • Description updated (diff)
Actions #2

Updated by Jeff Lucovsky over 1 year ago

  • Status changed from Assigned to In Review
Actions #3

Updated by Jason Ish about 1 year ago

  • Target version changed from TBD to 8.0.0-beta1
Actions #4

Updated by Jeff Lucovsky about 1 year ago

  • Status changed from In Review to Closed
Actions #5

Updated by Victor Julien 11 months ago

Actions #6

Updated by Jason Ish 12 days ago

Actions #7

Updated by Jason Ish 12 days ago

I dissociated this from the plugin story, as this isn't really about plugins, but the internal logging registration APIs. Which may be used by plugins, but are also used internally.

Actions

Also available in: Atom PDF