Revision 74ab2e3c
ID | 74ab2e3cfb2f763b0dd90e0491c3492e6654cdc1 |
Create ebtables chains with RETURN policy
This fixes inter-node private networks in case of multicast packets.
Multicast packets are forwarded to all interfaces bridged
on the bridge. Lets assume the following:
prv0 bridge with tap0, tap1, and eth1.
From tap0 comes a multicast packet.
We will see:
forward IN=tap0 OUT=tap1
forward IN=tap0 OUT=eth1
input IN=tap0
In FORWARD chain we have:
-i tap0 -j FROMTAP0
-o tap0 -j TOTAP0
-i tap1 -j FROMTAP1
-0 tap1 -j TOTAP1
So the first packet will match the first rule. FROMTAP0 does not
drop it since the src MAC is correct and ACCEPTs it!
We fix this by changing the policy to RETURN.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Files
- added
- modified
- copied
- renamed
- deleted