Project

General

Profile

Actions

Bug #6735

open

setting variables with --set leads to segfault

Added by Corey Thomas 11 months ago.

Status:
New
Priority:
Low
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Trying to incorrectly set threading 'threads' count leads to a segfault before suricata starts. This was done in 8 but likely affects previous version.


suricata -c suricata.yaml -i xxx -S suricata.rules --set threading.cpu-affinity.worker-cpu-set.threads=28

Notice: suricata: This is Suricata version 8.0.0-dev (244a35d53 2024-01-30) running in SYSTEM mode [LogVersion:suricata.c:1147]
Segmentation fault

For reference, the correct way to set this is through a 'array'.

--set threading.cpu-affinity.2.worker-cpu-set.threads=28

No data to display

Actions

Also available in: Atom PDF