Skip to main content

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:

code:
15:16:11.308952 ip 10.164.130.2.61417 > 224.16.17.23.47806: udp, length 1400 ...
however, after starting test program, multicast packets magically disappear tcpdump output, seems strange side-effect.

@ same time, "recvfrom" call in mcreceive.c blocks , returns no value.

verified interface has joined group:

code:
netstat -g | grep 224.16.17.23 eth3            1      224.16.17.23
and i'm listening on right port:
code:
netstat -l | grep 47806 udp        0      0 *:47806                 *:*
searching forum, found rpfilter might issue, disabled it:
code:
 cat /proc/sys/net/ipv4/conf/*/rp_filter 0 0 0 0 0 0 0
anybody thoughts on else solution ?

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

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support