igmpproxy
                                
                                 igmpproxy copied to clipboard
                                
                                    igmpproxy copied to clipboard
                            
                            
                            
                        multiple downstream devices on same interface
when i read the code correct:
- acceptLeaveMessage
... calls
- setRouteLastMemberMode
...
 if (numberOfInterfaces(croute) <= 1) {
                my_log(LOG_DEBUG, 0, "Leaving group %d now", group);
                sendJoinLeaveUpstream(croute, 0);
}
In case we have multiple devices on one downstream interface, that have joined this group, the current implementation immediately sends a leave message upstream. Which is a problem for all the other devices, which have not send a leave message yet.
I just created a pull request with a solution for this https://github.com/pali/igmpproxy/pull/57.
Of course I'm open for suggestions but for me the changes in that pull request have fixed this issue.
Just to note that this is only specific to the quickleave mode which is not fully compatible with IGMPv2 protocol. So fix (or rather workaround) to this problem is to turn off quickleave mode. But in #57 we try to improve current situation.