From: Florian Westphal <fw@strlen.de>
To: <netfilter-devel@vger.kernel.org>
Subject: [PATCH nf-next 0/3] netfilter: extensions: don't add nat by default
Date: Thu, 20 Apr 2017 10:11:32 +0200 [thread overview]
Message-ID: <20170420081135.20812-1-fw@strlen.de> (raw)
The nat extension only holds information needed by pptp and the masquerade target (and
in the latter case its not essential), so no need to attach it by default.
First two patches add the nat extension in masquerade and pptp case, 3rd patch
gets rid of the default-add.
This saves 8 bytes in the extension blob unless a connection
is subject to MASQERUADE and/or pptp nat helper.
next reply other threads:[~2017-04-20 8:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-20 8:11 Florian Westphal [this message]
2017-04-20 8:11 ` [PATCH nf-next 1/3] netfilter: masquerade: attach nat extension if not present Florian Westphal
2017-04-20 8:11 ` [PATCH nf-next 2/3] netfilter: pptp: attach nat extension when needed Florian Westphal
2017-04-20 8:11 ` [PATCH nf-next 3/3] netfilter: don't attach a nat extension by default Florian Westphal
2017-04-24 8:39 ` [PATCH nf-next 0/3] netfilter: extensions: don't add nat " Pablo Neira Ayuso
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=20170420081135.20812-1-fw@strlen.de \
--to=fw@strlen.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).