ruleset.uc: log forwarded traffic not matched by zone policies
authorJo-Philipp Wich <jo@mein.io>
Fri, 14 Oct 2022 15:56:27 +0000 (17:56 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 14 Oct 2022 15:56:27 +0000 (17:56 +0200)
commit4fbf6d75a4a9e523d1848a28d8a3ea095e870195
treea32e2be9ee323c1a50aef26796ce9ae5f3bce15b
parentc7201a3d24eb2a9ae122a0d6e4bb41146edebf10
ruleset.uc: log forwarded traffic not matched by zone policies

When zone logging is enabled and the global forward policy set to drop or
reject, then stage an extra logging rule to log traffic that will be
dropped by subsequent rules or the global reject policy.

Ref: https://forum.openwrt.org/t/x/137182/4
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
root/usr/share/firewall4/templates/ruleset.uc