Hi there, I have noticed some weird behaviour on IGMPv2 and IGMPv3. The short if it is, I can JOIN a multicast group normally (defaulting to v3) - this works nicely until a IGMPv2 device is discovered on my network. After that point, the LEAVE command for the group does not go out on the wire and my router does not stop sending the data.
Digging down, I can see in IGMP.C that v2 has a variable 'reporter' that does not seem to be used on IGMPv3 - and since the JOIN was on v3, this value is Zero. To get the messages going out, this variable needs to be non-zero. To reproduce, Boot Linux Join a Multicast group (Wrireshark will show the packet if you are sniffing) Force to use IGMPv2 (using echo "2" /proc/ .. etc) Leave Multicast Group At the leave point, nothing is sent over the wire, and the subscription is removed from the list. For an experiment, I set im->reporter=1 in the _group_add() function in the case for IGMPv3; and this did allow the message to be sent after a v3->v2 fallback on LEAVE; but there seems to be quite a lot of differences and I am not so sure about the timers still working. Any hints would be appreciated. Regards, Richard