Crash for offline pcap mode when running in single mode
Suricata fails initialization when running in pcap mode with single runmode.
To reproduce, just run suricata with flag option --pcap and configuration
- interface: eth1
This is just an example.
The bug is in function RunModeSetLiveCaptureSingle (from util-runmodes.c).
The configuration must be parsed after LiveGetDeviceName returned the interface for live_dev_c, not before. Switching the lines solve the bug.
Updated by Maurizio Abba over 5 years ago
Updated by Victor Julien over 5 years ago
- Status changed from New to Closed
- Target version set to 4.1beta1