netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH nf-next 0/3] netfilter: extensions: don't add nat by default
@ 2017-04-20  8:11 Florian Westphal
  2017-04-20  8:11 ` [PATCH nf-next 1/3] netfilter: masquerade: attach nat extension if not present Florian Westphal
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Florian Westphal @ 2017-04-20  8:11 UTC (permalink / raw)
  To: netfilter-devel

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-04-24  8:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-20  8:11 [PATCH nf-next 0/3] netfilter: extensions: don't add nat by default Florian Westphal
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

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).