kernelkit / infix

Linux :yellow_heart: NETCONF = Infix
https://kernelkit.org
GNU General Public License v2.0
52 stars 12 forks source link

test: Multi-Port Network Namespaces #799

Closed wkz closed 1 week ago

wkz commented 1 week ago

Description

In order for the TPMR to act as a bridge, the mode of the MACVLANs has been changed to passthru, which allows it to receive all packets from its lower interface, and also lets it transmit unicast packets with any SA without triggering the kernel's spoof protection logic. This also enables us to use the parent interface's promiscuity value as an indicator for when a MACVLAN has been fully removed in the kernel, which should be more reliable than the old time.sleep(.5).

Close #261

Checklist

Tick relevant boxes, this PR is-a or has-a: