Skip to content

netfilter: patches for net-next

Florian Westphal netdev netfilter-devel 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesApplied 8/8

Patches in v1 All 8 applied

#Subject and filesSizeRepliesApplied
1/8netfilter: conntrack: prepare tcp_in_window for ternary return valuenet/netfilter/nf_conntrack_proto_tcp.c+87 -490 repliesApplied
2/8netfilter: conntrack: ignore overly delayed tcp packetsnet/netfilter/nf_conntrack_proto_tcp.c+21 -280 repliesApplied
3/8netfilter: conntrack: remove unneeded indent levelnet/netfilter/nf_conntrack_proto_tcp.c+45 -530 repliesApplied
4/8netfilter: conntrack: reduce timeout when receiving out-of-window fin or rstnet/netfilter/nf_conntrack_proto_tcp.c+58 -00 repliesApplied
5/8netfilter: remove NFPROTO_DECNETinclude/uapi/linux/netfilter.h+2 -00 repliesApplied
6/8netfilter: move from strlcpy with unused retval to strscpynet/netfilter/ipset/ip_set_core.c net/netfilter/ipvs/ip_vs_ctl.c net/netfilter/nf_log.c +4 more+21 -210 repliesApplied
7/8netfilter: nat: move repetitive nat port reserve loop to a helperinclude/net/netfilter/nf_nat_helper.h net/ipv4/netfilter/nf_nat_h323.c net/netfilter/nf_nat_amanda.c +4 more+30 -1110 repliesApplied
8/8netfilter: nat: avoid long-running port range loopnet/netfilter/nf_nat_helper.c+14 -20 repliesApplied

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchSimon Horman
1/8
2/8
3/8
4/8
5/8
6/8R-b
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/8] netfilter: patches for net-next

The following set contains changes for your *net-next* tree:

- make conntrack ignore packets that are delayed (containing data already acked). The current behaviour to flag them as INVALID causes more harm than good, let them pass so peer can send an immediate ACK for the most recent sequence number.
- make conntrack recognize when both peers have sent 'invalid' FINs:
This helps cleaning out stale connections faster for those cases where conntrack is no longer in sync with the actual connection state.
- Now that DECNET is gone, we don't need to reserve space for DECNET related information.
- compact common 'find a free port number for the new inbound connection' code and move it to a helper, then cap number of tries the new helper will make until it gives up.
- replace various instances of strlcpy with strscpy, from Wolfram Sang.

----------------------------------------------------------------
The following changes since commit 016eb59012b576f5a7b7b415d757717dc8cb3c6b:

Merge branch 'macsec-offload-mlx5' (2022-09-07 14:02:09 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next.git

for you to fetch changes up to adda60cc2bb0fa46bed004070f29f90db96afbb3:

netfilter: nat: avoid long-running port range loop (2022-09-07 16:46:04 +0200)

----------------------------------------------------------------
Florian Westphal (7):
netfilter: conntrack: prepare tcp_in_window for ternary return value
netfilter: conntrack: ignore overly delayed tcp packets
netfilter: conntrack: remove unneeded indent level
netfilter: conntrack: reduce timeout when receiving out-of-window fin or rst
netfilter: remove NFPROTO_DECNET
netfilter: nat: move repetitive nat port reserve loop to a helper
netfilter: nat: avoid long-running port range loop

Wolfram Sang (1):
netfilter: move from strlcpy with unused retval to strscpy

 include/net/netfilter/nf_nat_helper.h  |   1 +
 include/uapi/linux/netfilter.h         |   2 +
 net/ipv4/netfilter/nf_nat_h323.c       |  60 +-----
 net/netfilter/ipset/ip_set_core.c      |   4 +-
 net/netfilter/ipvs/ip_vs_ctl.c         |   8 +-
 net/netfilter/nf_conntrack_proto_tcp.c | 321 +++++++++++++++++++++------------
 net/netfilter/nf_log.c                 |   4 +-
 net/netfilter/nf_nat_amanda.c          |  14 +-
 net/netfilter/nf_nat_ftp.c             |  17 +-
 net/netfilter/nf_nat_helper.c          |  31 ++++
 net/netfilter/nf_nat_irc.c             |  16 +-
 net/netfilter/nf_nat_sip.c             |  14 +-
 net/netfilter/nf_tables_api.c          |   2 +-
 net/netfilter/nft_osf.c                |   2 +-
 net/netfilter/x_tables.c               |  20 +-
 net/netfilter/xt_RATEEST.c             |   2 +-
 16 files changed, 266 insertions(+), 252 deletions(-)