Re: [PATCH] bridge: make bridge-nf-call-*tables default configurable

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mark Smith <lk-netdev@...>
Cc: David Miller <davem@...>, <herbert@...>, <markmc@...>, <netdev@...>, <kaber@...>, Netfilter Developer Mailing List <netfilter-devel@...>, <bdschuym@...>
Date: Tuesday, June 30, 2009 - 5:30 pm

On Tuesday 2009-06-30 22:57, Mark Smith wrote:

Hm not good. Then again, Netfilter does not know where the packet comes
from or where it goes, and Bridge does not know that Conntrack is
(potentially, it even varies) part of PREROUTING.


Bridge unpacks such frames if I've seen the code right :-/

        if (skb->protocol == htons(ETH_P_IPV6) || IS_VLAN_IPV6(skb) ||
            IS_PPPOE_IPV6(skb)) {
                nf_bridge_pull_encap_header_rcsum(skb);
                return br_nf_pre_routing_ipv6(hook, skb, in, out, okfn);
        }

I, too, wonder, why it would unpack PPP here.

However, there is a sysctl flag called vlan_tagged/pppoe_tagged which 
you can se to zero to not pull_encap VLAN/PPP.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] bridge: make bridge-nf-call-*tables default conf..., Jan Engelhardt, (Tue Jun 30, 5:30 pm)