[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120103081521.2fec3a29@nehalam.linuxnetplumber.net>
Date: Tue, 3 Jan 2012 08:15:21 -0800
From: Stephen Hemminger <shemminger@...tta.com>
To: Richard Weinberger <richard@....at>
Cc: davem@...emloft.net, bridge@...ts.linux-foundation.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
netfilter-devel@...r.kernel.org
Subject: Re: [PATCH] netfilter: Fix br_nf_pre_routing() in conjunction with
bridge-nf-call-ip(6)tables=0
On Tue, 3 Jan 2012 14:26:04 +0100
Richard Weinberger <richard@....at> wrote:
> If net.bridge.bridge-nf-call-iptables or net.bridge.bridge-nf-call-ip6tables
> are set to zero xt_physdev has no effect because skb->nf_bridge has not been set up.
>
> Signed-off-by: Richard Weinberger <richard@....at>
I am not sure if this is a valid configuration. The setting of sysctl is saying
"don't do iptables on bridge (since I won't be using it)" and then you are later
doing iptables and expecting the settings as if the iptables setup was being
done.
Instead, you should just enable the net.bridge.bridge-nf-call-iptables sysctl.
If a distro chooses to disable it then you may have to do it explicitly.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists