balena-os / meta-balena

A collection of Yocto layers used to build balenaOS images
https://www.balena.io/os
968 stars 115 forks source link

tests: os: expand iptables rules tests to include ip6tables rules #3493

Open rcooke-warwick opened 2 months ago

rcooke-warwick commented 2 months ago

The supervisor uses different iptables binaries for ipv4 and ipv6 rules, so we should check it adds rules for both, inc ase there is a problem with ip6tables

Change-type: patch


Contributor checklist

Reviewer Guidelines

github-actions[bot] commented 2 months ago

Website deployed to CF Pages, 👀 preview link https://f561e2ca.balena-os.pages.dev

kb2ma commented 2 months ago

Looks good to me, @rcooke-warwick. I verified that the BALENA-FIREWALL chain has at least 10 entries on a recent device. Is it feasible to run at least this one test locally to confirm?

pipex commented 2 months ago

Looks good to me too @rcooke-warwick

rcooke-warwick commented 2 months ago

depends on https://github.com/balena-os/meta-balena/pull/3484 to be able to pass - at the moment it correctly fails