From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Florian Westphal <fw@strlen.de>
Cc: Davide Caratti <dcaratti@redhat.com>,
Patrick McHardy <kaber@trash.net>,
Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>,
netfilter-devel@vger.kernel.org, coreteam@netfilter.org
Subject: Re: [PATCH nf-next 0/2] netfilter: autoload NAT support for non-builtin L4 protocols
Date: Wed, 19 Oct 2016 17:56:41 +0200 [thread overview]
Message-ID: <20161019155641.GA5118@salvia> (raw)
In-Reply-To: <20161019125733.GA1528@breakpoint.cc>
On Wed, Oct 19, 2016 at 02:57:33PM +0200, Florian Westphal wrote:
> Pablo Neira Ayuso <pablo@netfilter.org> wrote:
[...]
> > > and maybe also nf_conntrack_proto_gre.o, built into
> > > nf_conntrack.ko?
> >
> > Please, keep gre back by now, I think this is quite specific of the
> > pptp conntrack helper that we have in the tree and it only works for
> > IPv4 and it cannot work with NAT either, it's very limited. So please
> > start by building in dccp, sctp and udplite protocols.
>
> Wrt. udplite, I think it makes sense to merge it into udp one, I suspect
> a lot of this becomes redundant after some refactoring.
At quick glance, udplite is a copy and paste from udp trackers, except
for the udplite_error() function. So glad to see this merged into UDP.
> For sctp I am not so sure, it will add a dependency of conntrack
> on crc32, but maybe thats not so important...?
Actually, this would add a dependency for nf_nat, not for
nf_conntrack. The real crc32c implementation details are placed
behind the crypto infrastructure, I don't see any way we can skip
this.
We can still keep config NF_NAT_PROTO_SCTP around, just turn it into
boolean toggle, so people can still compile this out if such
dependency becomes a problem.
I would also remove 'default IP_SCTP' from CONFIG_NF_CT_PROTO_SCTP
since we don't need any local SCTP stack support to forward packets.
Just to summarize: What we're discuss here is a good default
configuration. After reading those RFCs that propose SCTP over UDP
tunneling tricks to workaround firewalls on the Internet, my
impression is that we may be probably responsible for this in some
way.
> Merging NAT makes sense, the external helper modules are very
> small (~120 lines inlcuding boilerplate...).
Correct, it's fairly small amount of code.
prev parent reply other threads:[~2016-10-19 15:56 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-06 17:09 [PATCH nf-next 0/2] netfilter: autoload NAT support for non-builtin L4 protocols Davide Caratti
2016-10-06 17:09 ` [PATCH nf-next 1/2] netfilter: persistent aliases for l4 nat protocols Davide Caratti
2016-10-06 17:09 ` [PATCH nf-next 2/2] xt_nat: probe module for non-builtin L4 protocols Davide Caratti
2016-10-07 7:35 ` [PATCH nf-next 0/2] netfilter: autoload NAT support " Arturo Borrero Gonzalez
2016-10-07 9:59 ` Davide Caratti
2016-10-07 10:32 ` Arturo Borrero Gonzalez
2016-10-07 14:20 ` Florian Westphal
2016-10-17 17:58 ` Pablo Neira Ayuso
2016-10-18 9:12 ` Davide Caratti
2016-10-19 12:23 ` Pablo Neira Ayuso
2016-10-19 12:57 ` Florian Westphal
2016-10-19 15:56 ` Pablo Neira Ayuso [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161019155641.GA5118@salvia \
--to=pablo@netfilter.org \
--cc=coreteam@netfilter.org \
--cc=dcaratti@redhat.com \
--cc=fw@strlen.de \
--cc=kaber@trash.net \
--cc=kadlec@blackhole.kfki.hu \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.