Add a new command line option, --include. This will merge additional
configuration files into the configuration specified in the main
suricata.yaml. It can be provided multiple times and the files will be
included in the order they appear on the command line.
Ticket: 3912
Add function to load a yaml file and insert it into the conf tree at
a specific prefix.
Example YAML:
somefile: myfile.txt
If loaded using ConfYamlLoadFileWithPrefix with prefix "myprefix", it
can be retrieved by the name of "myprefix.somefile".
Update Conf API to allow direct access to nodes.
A configuration node is now a tailq head and a tailq entry. This allows us to build
n-ary type trees to build something DOM like.
Properly process lists so a list of rule files (for example) can be loaded.
- Mock YAML configuration file.
- YAML loader for basic YAML files - not all YAML elements support yet..
todo.
- Add --dump-config command line parameter to dump the state of the
configuration db after loading the config file.