Project

General

Profile

Bug #2744

--list-keywords complains about missing yaml

Added by Victor Julien about 1 month ago.

Status:
New
Priority:
Normal
Target version:
-
Affected Versions:
Effort:
low
Difficulty:
low

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.

Also available in: Atom PDF