]> 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>
Tue, 3 Aug 2021 17:25:45 +0000 (19:25 +0200)
commit9bbaa720955eeacc2e74b00e4b17f55efce9a73c
treeb712d28bf27f3c988064df71ae557983047800e4
parentea7afa470777648d7e277622ef109fd9782f7ad7
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