Project

General

Profile

Actions

Bug #2296

open

Unix Manager Should Not Use Conf Functions to Pass Information to source-pcap-file

Added by Danny Browning almost 7 years ago. Updated about 4 years ago.

Status:
Feedback
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

See discussion on https://github.com/OISF/suricata/pull/2992

https://github.com/OISF/suricata/blob/master/src/runmode-unix-socket.c#L316

Using conf functionality at runtime is unsafe. A mutex protected tailq should be used to expose this information to source-pcap-file.

Actions

Also available in: Atom PDF