]> 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>
Wed, 8 Sep 2021 17:37:23 +0000 (19:37 +0200)
commit093c10d40d683d5ebb52311a34271afae995b374
tree0e61d2ed0af1752cbee25a09d3cc33125b0d7ae7
parent8c3d3a1438ccedeacae97a2f9f9527bae3eb4bc4
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