Project

General

Profile

Actions

Bug #924

open

missing space between variable and value in suricata.yaml

Added by Peter Manev about 9 years ago. Updated about 3 years ago.

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

Description

This is Suricata version 2.0beta1 RELEASE and latest git

If we have no space between the variable and the value:

flow:
  memcap:32000000000000000000mb
  hash-size: 65536
  prealloc: 10000
  emergency-recovery: 30

Notice the missing space at the memcap value.

We get an ERR msg, like this:


- <Info> - CPUs/cores online: 2
Failed to parse configuration file at line 515: mapping values are not allowed in this context

Which does not give a hint that the ERR is because of a missing space.

Actions #1

Updated by Victor Julien almost 9 years ago

  • Target version set to TBD
Actions #2

Updated by Andreas Herz about 6 years ago

  • Assignee set to OISF Dev
Actions #3

Updated by Andreas Herz about 3 years ago

This is not an error message from us but rather from the external lib. Should we catch this beforehand?

Actions

Also available in: Atom PDF