Multicast over BNET
Hello list
I'm having a problem with multicast filters. When BNEP multicast filters are activated in the kernel (2.6.11, also in others) I cannot send multicast packets over the interface.
If I do a "tcpdump -i bnep0" the packets I am sending (to 224.0.0.133) show up, but they aren't actually sent over the "air" (in fact, a hcidump shows no activity).
I've set up a route for the interface (eg, route add -net 224.0.0.0 netmask 240.0.0.0 dev bnep0).
I am not a member of that group. Even if I join the MC group (using only setsockopt, not using SIOCADDMULTI ioctl), it still doesn't transmit the packets.
If I disable the multicast filters, all goes OK. The packets are really sent and received by my peer.
The box receives all multicast traffic OK, just those packets I wish to send do not reach my peer.
My question: Is there a way (simple) to get around this w/o recompiling the kernel? I also have another problem because the application we're using is Java(tm) based...
Thanks in advance for any pointers/help on this.
=C1lvaro Lopes
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Alvaro,
Quoted 18 lines
I'm having a problem with multicast filters. When BNEP multicast filters are activated in the kernel (2.6.11, also in others) I cannot send multicast packets over the interface.
If I do a "tcpdump -i bnep0" the packets I am sending (to 224.0.0.133) show up, but they aren't actually sent over the "air" (in fact, a hcidump shows no activity).
I've set up a route for the interface (eg, route add -net 224.0.0.0 netmask 240.0.0.0 dev bnep0).
I am not a member of that group. Even if I join the MC group (using only setsockopt, not using SIOCADDMULTI ioctl), it still doesn't transmit the packets.
If I disable the multicast filters, all goes OK. The packets are really sent and received by my peer.
Quoted 8 lines
The box receives all multicast traffic OK, just those packets I wish to send do not reach my peer.
My question: Is there a way (simple) to get around this w/o recompiling the kernel? I also have another problem because the application we're using is Java(tm) based...
Thanks in advance for any pointers/help on this.
I never used multicast and actually I have no idea what is going wrong there. Hopefully someone is debugging it and send in a patch to fix it. Another alternate option can be to make the multicast and protocol filter options a module parameter. Both patches are welcome, but until then there is no other chance the recompiling the kernel, I think.
Regards
Marcel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users