]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commit
ids-functions.pl: Rework oinkmaster() function.
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 29 Mar 2021 14:51:18 +0000 (16:51 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Thu, 2 Dec 2021 06:52:52 +0000 (07:52 +0100)
commitc5fefcfccb051bc1baedbd4bfee4000fc039d6c1
tree9f71500e01abb29d55cdf2177d3494eac31f2f43
parentdd7ab1fc7a7b8dbc0088e1b6619f2d36c1a5d875
ids-functions.pl: Rework oinkmaster() function.

Rework the function to work with the latest changes and multiple
providers.

The function now does the following:

* Extract the stored rules tarballs for all enabled providers.
* Copy rules files for enabled providers which provide plain files.
* Still calls oinkmaster to set up the rules and modify them.
* Calls the merge functions for classification and sid to msg files.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/cfgroot/ids-functions.pl