]> 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>
Sat, 7 May 2022 09:32:08 +0000 (11:32 +0200)
commitbb0ddb22d021055303ca69e35082bed77729d5d8
tree1fab3028bf0f6b3b2032cff86110385c2dcd3ad3
parent7c519df543b16a8fea25de549117e038c52c1922
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