Thread: Unable to receive multicast
for last couple of days, i've been unsuccesfully trying receive multicast packets on ubuntu server 11.04, , seen strange things along way. program use test this, http://www.scribd.com/doc/38224328/mcreceive-c.
network has been configured forward me multicast packets, regardless of joins. tcpdump shows me:
however, after starting test program, multicast packets magically disappear tcpdump output, seems strange side-effect.code:15:16:11.308952 ip 10.164.130.2.61417 > 224.16.17.23.47806: udp, length 1400 ...
@ same time, "recvfrom" call in mcreceive.c blocks , returns no value.
verified interface has joined group:
and i'm listening on right port:code:netstat -g | grep 224.16.17.23 eth3 1 224.16.17.23
searching forum, found rpfilter might issue, disabled it:code:netstat -l | grep 47806 udp 0 0 *:47806 *:*
anybody thoughts on else solution ?code:cat /proc/sys/net/ipv4/conf/*/rp_filter 0 0 0 0 0 0 0
thanks,
steven
i think have use ip_add_source_membership instead of ip_add_membership , mention source ip address of sender
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] Unable to receive multicast
Ubuntu
Comments
Post a Comment