Project

General

Profile

Actions

Bug #2744

closed

--list-keywords complains about missing yaml

Added by Victor Julien over 5 years ago. Updated almost 5 years ago.

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

Description

./src/suricata --list-keywords=all|grep client_body -A2
[27202] 14/12/2018 -- 07:36:34 - (conf-yaml-loader.c:430) <Error> (ConfYamlLoadFile) -- [ERRCODE: SC_ERR_FATAL(171)] - failed to open file: /etc/suricata//suricata.yaml: No such file or directory
http_client_body:
    Description: content modifier to match only on HTTP request-body

The list keywords command should not even try to open the YAML. A secondary issue is that the SC_ERR_FATAL code is used, but it's not actually fatal.

Actions

Also available in: Atom PDF