linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to read IGMP reports ?
@ 2003-12-17 11:19 Rahul Amaram
  0 siblings, 0 replies; only message in thread
From: Rahul Amaram @ 2003-12-17 11:19 UTC (permalink / raw)
  To: linux-c-programming

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-12-17 11:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-17 11:19 how to read IGMP reports ? Rahul Amaram

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).