Multicast-to-unicast bugs and fixes to wifi-scripts + hostapd
Christopher Hill
ch6574 at gmail.com
Sat Nov 14 08:01:52 PST 2026
Hi,
I believe there are several bugs and regressions worth fixing in wifi-scripts [1] before a next major release is cut that would prevent duplicate multicast traffic coming from wireless clients. I suspect this has gone undetected as I believe it’s mainly triggered by Apple devices sending out mDNS over the air, which is low traffic and ignores duplicates, plus some of the problems are related to dynamic VLANs, however I’d like to know if there’s interest in fixing?
(In priority order)
I have a PR open [2] that keeps hairpin and ap_isolate in sync, plus has wifi-vlan inherit settings from the parent wifi-iface. Circa 20 lines of script changes. There’s a broader discussion to be had about how one should actually configure the two different multicast-to-unicast mechanisms offered through UCI, but this change is a bug squash.
I have another PR open [3] that backports a one-line change for hostapd into 25.12 that fixes GTK rekey on dynamic VLANs. Hostapd has been upgraded on main that fixes this issue, however a cherry pick is impractical.
Both PRs contain details about what the exact problem is that is being fixed, and the testing I did to confirm resolution. Happy to work with anyone on advancing these.
Thanks,
Chris
N.B. I also observed that umdns doesn’t follow RFC 6762 so filed an issue [4], but this is small potatoes.
[1] https://forum.openwrt.org/t/multicast-to-unicast-with-multiple-bugs-and-proposed-fixes/
[2] https://github.com/openwrt/openwrt/pull/26613
[3] https://github.com/openwrt/openwrt/pull/26509
[4] https://github.com/openwrt/mdnsd/issues/38
More information about the openwrt-devel
mailing list