[LCP]how to read IGMP reports ?

Rahul Amaram rahul at students.iiit.net
Wed Dec 17 19:12:02 UTC 2003


Hi,
    I am using RedHat 9.0 and am working on implementing an IGMPv2 testing tool. My test setup includes a machine "172.16.7.10" on which the daemon "mrouted" runs and another mahcine "172.16.7.9" on which the testing tool runs.

    I am trying to read IGMP packets on machine "172.16.7.9" using raw sockets. But to my surprise only the general queries generated by mrouted running on "172.16.7.10" are being read by the raw socket. The reports generated are being skipped. I know that reports are being generated because of tcpdump which I am simultaneously running on "172.16.7.9" which shows IGMPv2 reports as well.

    Now my question is simple - if the program which i have written using raw sockets can read General Queries, why isnt it reading Group specific queries and reports ? Should I set any socket options or should I subscribe to any group so that all queries and reports are passed to the raw socket ?

In anticipation,
     Rahul.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linux.org.au/pipermail/linuxcprogramming/attachments/20031217/eaf7df9e/attachment.htm 


More information about the linuxCprogramming mailing list