Project

General

Profile

Actions

Bug #2403

closed

Crash for offline pcap mode when running in single mode

Added by Maurizio Abba about 6 years ago. Updated about 6 years ago.

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

Description

Suricata fails initialization when running in pcap mode with single runmode.

To reproduce, just run suricata with flag option --pcap and configuration

pcap:
- 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.

Actions #2

Updated by Victor Julien about 6 years ago

  • Status changed from New to Closed
  • Target version set to 4.1beta1
Actions

Also available in: Atom PDF