17370d8462
We must ensure that each node becomes IGMP/MLD querier for its local clients; having only a single querier for the whole mesh is generally unreliable, leading to frequent "IGMP/MLD querier appeared/disappeared" messages from batman-adv and unreliable snooping. In smaller meshes it might be interesting only segment querier domains, but allow membership reports to pass through the mesh, in order to support snooping switches outside the mesh without special configuration. A site.conf switch is provided to control this behaviour. Fixes #1320
10 lines
264 B
Plaintext
10 lines
264 B
Plaintext
chain('IN_ONLY', 'RETURN')
|
|
chain('OUT_ONLY', 'RETURN')
|
|
|
|
-- nat chain runs early, so we can drop IGMP/MLD
|
|
chain('MULTICAST_IN', 'RETURN', 'nat')
|
|
chain('MULTICAST_IN_ICMPV6', 'RETURN', 'nat')
|
|
|
|
chain('MULTICAST_OUT', 'RETURN')
|
|
chain('MULTICAST_OUT_ICMPV6', 'RETURN')
|