This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Description
Hi,
from my experiments with nftables (https://ao2.it/134) it looks like the rule used in this project for MLD packets is not enough to match valid MLD packets, I am referring to:
|
ip6 nexthdr icmpv6 icmpv6 type {{ |
The problem is that for valid MLD packets the next header after the IPv6 one is not immediately the ICMPv6 one but the Hop-by-Hop Options header, so the rule you are using:
# Allow multicast listener discovery on link-local addresses.
ip6 nexthdr icmpv6 icmpv6 type {{
mld-listener-query,
...
Should probably become something like:
# Allow multicast listener discovery on link-local addresses.
ip6 nexthdr hopopt hbh nexthdr ipv6-icmp icmpv6 type {{
mld-listener-query,
...
See also the referenced blog post for more details.
I only tested this in a limited environment so I'd like some confirmation that this is actually an issue.
Ciao,
Antonio