| To: | Andrew Morton <akpm@xxxxxxxx> |
|---|---|
| Subject: | Re: Fw: F_SETSIG broken/changed in 2.6 for UDP and TCP sockets? |
| From: | David Stevens <dlstevens@xxxxxxxxxx> |
| Date: | Tue, 1 Jun 2004 14:19:04 -0600 |
| Cc: | netdev@xxxxxxxxxxx, Russell Leighton <russ@xxxxxxxxxxxxxxxxxxxx> |
| In-reply-to: | <20040531151843.7144dfce.akpm@osdl.org> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
> In the udp case, I when I listen for multicast packets my app only
> receives them when I am running a tcpdump (bizarre!).
Russ,
This piece (which I expect has nothing to do with the other
problems you mentioned) sounds like you haven't joined the groups on
the interface on which you're receiving the multicast packets.
"tcpdump" will place the interface in "promiscuous mode" which will
receive all packets, and ordinary packet delivery will allow
the application to receive them, even if you haven't joined the group
on the relevant interface.
To verify if the group joins is broken, you can look at
/proc/net/igmp. If the groups you're joining are not listed on the
interface you want, the program isn't joining the groups correctly.
Group membership is per-interface, so joining a group on one interface
does not join it on another.
Feel free to contact me if you need some help debugging the
multicast problem.
+-DLS
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [IPSEC] fix ref counting in __xfrm4_bundle_create(), Eugene Surovegin |
|---|---|
| Next by Date: | [PATCH 12/17 linux-2.6.7-rc2] prism54: Add likely/unlikely, KO wds completely, Margit Schubert-While |
| Previous by Thread: | Re: [IPSEC] fix ref counting in __xfrm4_bundle_create(), Eugene Surovegin |
| Next by Thread: | Re: Fw: F_SETSIG broken/changed in 2.6 for UDP and TCP sockets?, Russell Leighton |
| Indexes: | [Date] [Thread] [Top] [All Lists] |