-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Showing
2 changed files
with
6 additions
and
0 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
package/gluon-ebtables-filter-multicast/files/lib/gluon/ebtables/355-mcast-drop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters