]> 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>
Tue, 3 Aug 2021 17:25:46 +0000 (19:25 +0200)
commit3ef3dccc7d81130857c3aaf8fcd28502abb8be2d
tree7f958feb25eb6dd8be68e0fa4d4b6c91d0135236
parentd2857c4b3e0d4b5426f3eba4463da7ddfffa3123
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