]> 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>
Sun, 6 Mar 2022 14:07:17 +0000 (15:07 +0100)
commit6723a8d8aa69e0b1a6b9afa14d86bacf94b71c2f
treef720bfafe8d78628114030cbff13933efd5e1579
parente20f0165450aa4a2949d4843e6b92720026ca0ac
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