]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commit
ids-functions.pl: Introduce private _get_dl_rulesfile() function.
authorStefan Schantl <stefan.schantl@ipfire.org>
Fri, 26 Mar 2021 12:19:58 +0000 (13:19 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Thu, 2 Dec 2021 06:52:51 +0000 (07:52 +0100)
commit90d62d40a9ab599b8e10b6ff40222fb3801e4972
treebdca2dc2dcb35ce907eb1632f8d7c2c1b5fe79e7
parent6ffaeb49315960a02e596ac712a573c875043855
ids-functions.pl: Introduce private _get_dl_rulesfile() function.

This function can be used to generate/get the absolute file and path
for a given ruleset provider.

The files will be stored in the usual "/var/tmp" folder with a new
file format based on the dl_file type and the provider.

Examples could be:
* /var/ipfire/idsrules-emerging.tar.gz
* /var/ipfire/idsrules-registered.tar.gz
* /var/ipfire/idsrules-somprovider.rules

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