All of lore.kernel.org
 help / color / mirror / Atom feed
From: FoObArf00@netscape.net
To: chrisw@osdl.org (Chris Wright)
Cc: linux-kernel@vger.kernel.org
Subject: Re: IGMP packets?
Date: Wed, 08 Dec 2004 15:58:29 -0500	[thread overview]
Message-ID: <00640596.1F2101FF.023DF18B@netscape.net> (raw)

I have 3 machines.  A (eth0) is connected to B (eth1) with a cross over cable and B (eth0) and C (eth0) are on a switch.  I want to forward the igmp queries and reports that A (eth1) generates when joining/leaving a multicast group on B (eth1) from B(eth0) to C (eth0).  I put the code to do this on different places such as ip_rcv, ip_route_input, etc and no luck.  The weird thing is that it works when I do a tcpdump on B's eth1. 
 
A-(eth0)----(eth1)-B-(eth0)----(eth0)-C

Thanks.

Chris Wright <chrisw@osdl.org> wrote:

>* FoObArf00@netscape.net (FoObArf00@netscape.net) wrote:
>> I have been trying to analyze igmp packets (queries, reports) with
>> ttl of 1 ,of course, in the kernel and ran into a weird situation.
>> Only when an interface is in promiscuous mode (i.e. tcpdump), the igmp
>> packets get to ip_rcv on ip_input.c.  I was wondering if someone can
>> point in the right direction on how/where to get the these packets when
>> not doing a tcpdump.  Thanks
>
>Could you be more specific?  Which machines are involved (e.g. IIRC the
>igmp report is not looped back locally).  What do you mean by analyze in
>the kernel?
>
>thanks,
>-chris
>

__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp

             reply	other threads:[~2004-12-08 20:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-08 20:58 FoObArf00 [this message]
2004-12-08 21:33 ` IGMP packets? Chris Wright
  -- strict thread matches above, loose matches on Subject: below --
2004-12-07  0:29 FoObArf00
2004-12-08 18:05 ` Chris Wright

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=00640596.1F2101FF.023DF18B@netscape.net \
    --to=foobarf00@netscape.net \
    --cc=chrisw@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.