igmpproxy icon indicating copy to clipboard operation
igmpproxy copied to clipboard

How can i send igmpv3 query from igmp proxy?

Open nghiasoft opened this issue 6 years ago • 2 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.

nghiasoft avatar Oct 28 '19 10:10 nghiasoft

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>

pali avatar Apr 26 '20 10:04 pali

This pull request https://github.com/pali/igmpproxy/pull/80 adds support for sending igmpv3 queries on downstream interfaces.

pali avatar Apr 09 '22 10:04 pali