Project

General

Profile

Actions

Optimization #6246

open

initialization: do config validation before runtime

Added by Shivani Bhardwaj over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

So far, the initialization and config validation are a bit convoluted.

For example, for redmine bug #5870, the processing happens as explained in https://github.com/OISF/suricata/pull/9308#issuecomment-1659801001

As a result of this, some modules which would not need to be initialized in case of a config error, get initialized taking time and making Suricata exit much later than it should have.

Victor says,

Perhaps a 2 step approach, where parsing happens early, but actual start of the runtime late.

No data to display

Actions

Also available in: Atom PDF