]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commit
ipblocklist-functions.pl: Add function to get the holdoff_rate of a
authorTim FitzGeorge <ipfr@tfitzgeorge.me.uk>
Sun, 6 Mar 2022 14:07:17 +0000 (15:07 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Thu, 7 Jul 2022 15:26:13 +0000 (17:26 +0200)
commit8d12d12a4f2d6cd071517a0cc0d3cf885536e6a5
treebd6d18e1efab50fbe5e36693a02a07661147b58e
parenta7bf1d9666f3e108486639cd4115b78a24235954
ipblocklist-functions.pl: Add function to get the holdoff_rate of a
given list.

The function will return the rate in seconds based on the configured
rate value in the blocklist sources file and the given blocklist.

Signed-off-by: Tim FitzGeorge <ipfr@tfitzgeorge.me.uk>
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/cfgroot/ipblocklist-functions.pl