avahi - Where multicast packets could be filtered? -
i installed openwrt distro on router , enable support of avahi in it. goal discover network services in network.
i plugged pc lan port announced services. on router run tcpdump on bridge interface : tcpdump -i br0 -vvn udp port 5353
during avahi browse execution receive output: root@localhost:~# avahi-browse -art
21:55:22.995004 ip (tos 0x0, ttl 255, id 0, offset 0, flags [df], proto udp (17), length 74) 192.168.1.1.5353 > 224.0.0.251.5353: [udp sum ok] 0 ptr (qm)? _services._dns-sd._udp.local. (46)
but on pc wireshark didn't show multicast queries during call, hence no services found.
does mean router filter multicast packets somehow? way know filter in ebtables, shows nothing filtering of mdns addresses:
root@localhost:~# ebtables -l bridge table: filter bridge chain: input, entries: 1, policy: accept -j ro_input bridge chain: forward, entries: 1, policy: accept -j ro bridge chain: output, entries: 1, policy: accept -j igmpproxy bridge chain: ro, entries: 0, policy: return bridge chain: ro_input, entries: 0, policy: return bridge chain: igmpproxy, entries: 4, policy: return -p ipv4 -o wl0.1 --ip-dst 239.0.0.0/8 -j drop -p ipv4 -o wl0.2 --ip-dst 239.0.0.0/8 -j drop -p ipv4 -o wl0.3 --ip-dst 239.0.0.0/8 -j drop -p ipv4 -o br0 --ip-dst 239.0.0.0/8 -j drop
where these multicast packets filtered/dropped?
i found in router snooping enabled, think corresponds igmp snooping
after disabling it, multicast dns queries reached destination , show wireshark.
here i've done (of course path vary in different hardware , distro):
echo "0" > /proc/hwswitch/default/snooping
Comments
Post a Comment