fw4.uc: handle zone masq6 option
authorJo-Philipp Wich <jo@mein.io>
Sat, 22 Jan 2022 18:16:19 +0000 (19:16 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sat, 22 Jan 2022 19:22:17 +0000 (20:22 +0100)
commit16a10706f24393b11500408e586b495073622e85
tree2a6f1e24328c81ee8e484b3c060fb95de98abfa7
parent07579df54f38d75afea44b2a3b41a6d9af9497a1
fw4.uc: handle zone masq6 option

The ruleset template and internal adress selection logc has been prepared
for IPv6 masquerading already but the toplevel option was not exposed
until now.

Also add some initial testcases for zone configuration while we're at it.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
root/usr/share/ucode/fw4.uc
tests/02_zones/01_policies [new file with mode: 0644]
tests/02_zones/02_masq [new file with mode: 0644]
tests/02_zones/03_masq_src_dest_restrictions [new file with mode: 0644]