fw4: parse traffic rules before forwarding rules
authorJo-Philipp Wich <jo@mein.io>
Mon, 7 Feb 2022 10:08:20 +0000 (11:08 +0100)
committerJo-Philipp Wich <jo@mein.io>
Mon, 7 Feb 2022 10:23:37 +0000 (11:23 +0100)
commitb54f462272c3a68a1a733a9037dc7c109c54499d
tree4b92fbae24039bd66d55e43d9b8fefc1a0d8ee4b
parent4d5af8b0196912ab21f1b288f73cafa2eb6a1345
fw4: parse traffic rules before forwarding rules

Parse traffic rules before inter-zone-forwarding rules to ensure that
those rules end up in the correct order within the rendered ruleset.

Traffic rules must preceede zone forwarding rules, like they did in
firewall3.

Fixes: FS#4258
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
root/usr/share/ucode/fw4.uc
tests/01_configuration/02_rule_order [new file with mode: 0644]