gluon-ebtables-filter-multicast: relax multicast firewall rules
Allow the transmission of a multicast packet as long as it is not flooded through the whole mesh. Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
This commit is contained in:
parent
5d55deabbc
commit
b22c708dcb
@ -1 +1,6 @@
|
||||
if os.execute('batctl -v | grep -q "batman-adv: 2013.4"') ~= 0 then
|
||||
rule ('MULTICAST_OUT -p IPv6 --ip6-dst ff02::1/128 -j DROP')
|
||||
rule ('MULTICAST_OUT -p IPv6 --ip6-dst ff02::/ff0f:: -j mark --set-mark 0x4 --mark-target RETURN')
|
||||
end
|
||||
|
||||
rule ('MULTICAST_OUT -j DROP')
|
||||
|
@ -21,6 +21,7 @@ uci:section('batman-adv', 'mesh', 'bat0', {
|
||||
routing_algo = routing_algo,
|
||||
multicast_mode = true,
|
||||
multicast_fanout = 16,
|
||||
noflood_mark = '0x4/0x4',
|
||||
})
|
||||
uci:save('batman-adv')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user