ICMPv6 capture filter fails for MLD messages
Hi,
I have a system (vyatta NOS) with:
TShark (Wireshark) 3.4.10 (Git v3.4.10 packaged as 3.4.10-0+deb11u1)
and :
en_US.UTF-8, with libpcap version 1.9.1 (with TPACKET_V3), with GnuTLS 3.7.1,
I am able to capture IPv6 NS messages - type 135 with:
tshark -i dp0p194p1 icmp6[0]=135
but when I try any MLD message types 130 or 143 it never works ?? I find it really peculiar since the matching occurs on exactly same bytes just different value ?? Is there any workaround please ?? Tx, Jan
Can you share a sample capture file (via some file sharing site) of a packet that works with the capture filter and one that doesn't?
There is a single packet attached to 14536: MLDRv2 - Multicast address record: auxiliary data but not sure how to test - 1814: Capture filters not work when capturing from named pipes or stdin
Thank you for looking at it so fast. I will try to share a capture file which has the MLD packets (not seen with icmp6[0]=143) and ordinary NS packets seen with icmp6[0]=135 option here: https://app.box.com/s/2r60e8dfir81klr... I hope it works for you I have never used it before ...
pcap good but still looking for a way to play it into dumpcap for capture.
How were the packets in the pcap generated? Easy to recreate on the command line?
Vyatta is modified Linux machine - it has its own CLI to enable IPv6 and MLD on an interface. But it translates into those Linix dev files somewhere where you can enable it on an ordinary Linux interface:
each of these dirs have files there to enable multicast and MLD on the interface.
And then you just tshark on that interface ...