Project

General

Profile

Actions

Bug #7856

open

DPDK EAL options defined in suricata.yaml are not accepted by suricata during startup

Added by Adam Kiripolsky 2 days ago. Updated about 14 hours ago.

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

Description

Suricata in DPDK run mode can configure the DPDK Environment Abstraction Layer (EAL) using the dpdk.eal-params option defined in suricata.yaml. The commit 4dfd44d changed how the EAL options are parsed and effectively disabled passing the parameters to the rte_eal_init() function. The issue was caused by decreasing the size argument passed to strlcat in AllocAndSetOption within runmode-dpdk.c, trancating every option by one character. The fix was to revert to the original approach by adding + 1 to the size.

Actions

Also available in: Atom PDF