[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161205213001.GA16819@breakpoint.cc>
Date: Mon, 5 Dec 2016 22:30:01 +0100
From: Florian Westphal <fw@...len.de>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: Willem de Bruijn <willemdebruijn.kernel@...il.com>,
netfilter-devel@...r.kernel.org, pablo@...filter.org,
netdev@...r.kernel.org, daniel@...earbox.net,
Willem de Bruijn <willemb@...gle.com>
Subject: Re: [PATCH nf-next] netfilter: xt_bpf: support ebpf
Eric Dumazet <eric.dumazet@...il.com> wrote:
> On Mon, 2016-12-05 at 15:28 -0500, Willem de Bruijn wrote:
> > From: Willem de Bruijn <willemb@...gle.com>
> >
> > Add support for attaching an eBPF object by file descriptor.
> >
> > The iptables binary can be called with a path to an elf object or a
> > pinned bpf object. Also pass the mode and path to the kernel to be
> > able to return it later for iptables dump and save.
> >
> > Signed-off-by: Willem de Bruijn <willemb@...gle.com>
> > ---
>
> Assuming there is no simple way to get variable matchsize in iptables,
> this looks good to me, thanks.
It should be possible by setting kernel .matchsize to ~0 which
suppresses strict size enforcement.
Its currently only used by ebt_among, but this should work for any xtables
module.
Powered by blists - more mailing lists