Re: Fwd: Linux bridge on linksys WRT54GS running OpenWRT

Bart De Schuymer <[email protected]>
Newsgroups gmane.linux.network.bridge.ebtables.devel
Message-ID <[email protected]>
Op vr, 18-11-2005 te 20:37 +0100, schreef Sebastien Chaumontet:
> Hi Bart,
> 
> Thanks for your attention to this subject.
> 
> Here is how to reproduce this problem:
> - two hosts on a LAN
> - on host A create a bridge
> - add the device to bridge
> - run on host A : "tcpdump -i br0 not ip"
> - run on host A : "tcpdump -i eth0 not ip"
> - on host you can use a very good tool like vlc to join a group :
> "vlc udp://@[ff1e::8888]:8888"
> 
> This should generate a MLD report (which should be catched by
> multicast router) but it is blocked by something in bridge.
> So you will be able to see it on eth0 and not br0.
> 
> If you need some more information we can discuss about this on IRC
> #etables (freenode).

Using the pcap file you sent me, it turns out that the version field in
the IPv6 header isn't filled in correctly. Your packet has value 0
there, while it should be value 6.

Removing the following two lines from
net/bridge/br_netfilter.c::br_nf_pre_routing_ipv6() should let those
packets through (please report back if that doesn't fix it):
if (hdr->version != 6)
	goto inhdr_error;

Alternatively, you can disable IPv6 filtering by the bridge by doing
# echo 0 > /proc/sys/net/bridge/bridge-nf-call-ip6tables

cheers,
Bart




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.