How can i send igmpv3 query from igmp proxy?
nghiasoft opened this issue · comments
I need to configure my router as a downstream with igmpv3, currently igmpproxy builds igmp
query membership message by:
{code}
static void buildIgmp(uint32_t src, uint32_t dst, int type, int code, uint32_t group, int datalen) {
struct ip *ip;
struct igmp *igmp;
{code}
So should i change struct igmp to struct igmpv3 in https://github.com/afabbro/netinet/blob/master/igmp.h? i have tried it but look likes it does not work.
igmpproxy for downstream network does not support igmpv3 fully/correctly yet. Usage of igmp version for upstream network is controlled by operating system/kernel.
On Linux you can set igmp <version>
for upstream <interface>
by command:
/sbin/sysctl net.ipv4.conf.<interface>.force_igmp_version=<version>