fw4: add log_limit to rules and redirects
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>
Tue, 1 Aug 2023 19:51:58 +0000 (16:51 -0300)
committerJo-Philipp Wich <jo@mein.io>
Fri, 3 Nov 2023 12:37:19 +0000 (13:37 +0100)
commit187405075911d408fa48e97ce343e76a2a30ef12
treeb175c8f382957d581034108bb3c70ea30d02bf24
parent597dc90fb71419c42c13c27fe24e3d350e6e33dc
fw4: add log_limit to rules and redirects

Just like zone log_limit, now you can specify a different log limit to a
single rule or redirect.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
[whitespace cleanup, properly format limit expressions]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
root/usr/share/firewall4/templates/redirect.uc
root/usr/share/firewall4/templates/rule.uc
root/usr/share/ucode/fw4.uc
tests/02_zones/08_log_limit [new file with mode: 0644]