netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH nf-next v2 0/2] nat: force port remap to prevent shadowing well-known ports
@ 2021-12-15 12:20 Florian Westphal
  2021-12-15 12:20 ` [PATCH nf-next v2 1/2] netfilter: conntrack: tag conntracks picked up in local out hook Florian Westphal
  2021-12-15 12:20 ` [PATCH nf-next v2 2/2] netfilter: nat: force port remap to prevent shadowing well-known ports Florian Westphal
  0 siblings, 2 replies; 5+ messages in thread
From: Florian Westphal @ 2021-12-15 12:20 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Florian Westphal

Hi,

this patchset updates the v1 of the port remap change to not remap
locally originating connections.

This is done by adding a bit in nf_conn for LOCAL_OUT tracked entries.

Florian Westphal (2):
  netfilter: conntrack: tag conntracks picked up in local out hook
  netfilter: nat: force port remap to prevent shadowing well-known ports

 include/net/netfilter/nf_conntrack.h         |  1 +
 net/netfilter/nf_conntrack_core.c            |  3 ++
 net/netfilter/nf_nat_core.c                  | 43 ++++++++++++++++++--
 tools/testing/selftests/netfilter/nft_nat.sh |  5 ++-
 4 files changed, 47 insertions(+), 5 deletions(-)

-- 
2.32.0


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

end of thread, other threads:[~2021-12-16 15:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-15 12:20 [PATCH nf-next v2 0/2] nat: force port remap to prevent shadowing well-known ports Florian Westphal
2021-12-15 12:20 ` [PATCH nf-next v2 1/2] netfilter: conntrack: tag conntracks picked up in local out hook Florian Westphal
2021-12-15 12:20 ` [PATCH nf-next v2 2/2] netfilter: nat: force port remap to prevent shadowing well-known ports Florian Westphal
2021-12-16 14:13   ` Eric Garver
2021-12-16 15:04   ` Phil Sutter

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