]> git.ipfire.org Git - people/ms/suricata.git/commit
datasets: parse defaults section from yaml
authorShivani Bhardwaj <shivanib134@gmail.com>
Thu, 10 Sep 2020 08:34:16 +0000 (14:04 +0530)
committerVictor Julien <victor@inliniac.net>
Thu, 10 Sep 2020 18:56:15 +0000 (20:56 +0200)
commit1286b0a8f1ed2e024e8f171ee1cf702c55351588
tree8b5d385adf761c103f03572c8a94e98fc8a1e046
parent5ac94fc4076676d77bbc8b31c5515db7b3545401
datasets: parse defaults section from yaml

Datasets can now have a global defaults setting in suricata.yaml. In
case the settings for memcap and hashsize are not find in the yaml or
rule, this shall be the fallback.

Example:

datasets:
  defaults:
    memcap: 100mb
    hashsize: 2048
  ua-seen:
    type: string
    load: datasets.csv
src/datasets.c
suricata.yaml.in