Skip to content

Netfilter updates for net-next

Pablo Neira Ayuso netdev netfilter-devel 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesApplied 6/6

Patches in v1 All 6 applied

#Subject and filesSizeRepliesApplied
1/6netfilter: nft_exthdr: Search chunks in SCTP packets onlynet/netfilter/nft_exthdr.c+4 -10 repliesApplied
2/6netfilter: nft_extdhr: Drop pointless check of tprot_setnet/netfilter/nft_exthdr.c+1 -10 repliesApplied
3/6netfilter: nf_tables: add last expressioninclude/net/netfilter/nf_tables_core.h include/uapi/linux/netfilter/nf_tables.h net/netfilter/Makefile +2 more+105 -10 repliesApplied
4/6netfilter: conntrack: pass hook state to log functionsinclude/net/netfilter/nf_conntrack_l4proto.h net/netfilter/nf_conntrack_proto.c net/netfilter/nf_conntrack_proto_dccp.c +5 more+47 -440 repliesApplied
5/6docs: networking: Update connection tracking offload sysctl parametersDocumentation/networking/nf_conntrack-sysctl.rst+24 -00 repliesApplied
6/6netfilter: nfnetlink_hook: fix check for snprintf() overflownet/netfilter/nfnetlink_hook.c+3 -10 repliesApplied

Reviews trailers per patch

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

PatchFlorian Westphal
1/6
2/6
3/6
4/6
5/6
6/6R-b

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/6] Netfilter updates for net-next

Hi,

The following patchset contains Netfilter updates for net-next:

1) Skip non-SCTP packets in the new SCTP chunk support for nft_exthdr, from Phil Sutter.

2) Simplify TCP option sanity check for TCP packets, also from Phil.

3) Add a new expression to store when the rule has been used last time.

4) Pass the hook state object to log function, from Florian Westphal.

5) Document the new sysctl knobs to tune the flowtable timeouts, from Oz Shlomo.

6) Fix snprintf error check in the new nfnetlink_hook infrastructure, from Dan Carpenter.

Please, pull these changes from:

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

Thank you!

----------------------------------------------------------------

The following changes since commit c7654495916e109f76a67fd3ae68f8fa70ab4faa:

net: chelsio: cxgb4: use eth_zero_addr() to assign zero address (2021-06-16 00:53:17 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 24610ed80df65a564d6165d15505a950d05f9f5a:

netfilter: nfnetlink_hook: fix check for snprintf() overflow (2021-06-21 22:05:29 +0200)

----------------------------------------------------------------
Dan Carpenter (1):
netfilter: nfnetlink_hook: fix check for snprintf() overflow

Florian Westphal (1):
netfilter: conntrack: pass hook state to log functions

Oz Shlomo (1):
docs: networking: Update connection tracking offload sysctl parameters

Pablo Neira Ayuso (1):
netfilter: nf_tables: add last expression

Phil Sutter (2):
netfilter: nft_exthdr: Search chunks in SCTP packets only
netfilter: nft_extdhr: Drop pointless check of tprot_set

 Documentation/networking/nf_conntrack-sysctl.rst | 24 +++++++
 include/net/netfilter/nf_conntrack_l4proto.h     | 20 +++---
 include/net/netfilter/nf_tables_core.h           |  1 +
 include/uapi/linux/netfilter/nf_tables.h         | 15 ++++
 net/netfilter/Makefile                           |  2 +-
 net/netfilter/nf_conntrack_proto.c               | 16 +++--
 net/netfilter/nf_conntrack_proto_dccp.c          | 14 ++--
 net/netfilter/nf_conntrack_proto_icmp.c          |  7 +-
 net/netfilter/nf_conntrack_proto_icmpv6.c        |  3 +-
 net/netfilter/nf_conntrack_proto_sctp.c          |  2 +-
 net/netfilter/nf_conntrack_proto_tcp.c           | 23 ++++---
 net/netfilter/nf_conntrack_proto_udp.c           |  6 +-
 net/netfilter/nf_tables_core.c                   |  1 +
 net/netfilter/nfnetlink_hook.c                   |  4 +-
 net/netfilter/nft_exthdr.c                       |  7 +-
 net/netfilter/nft_last.c                         | 87 ++++++++++++++++++++++++
 16 files changed, 184 insertions(+), 48 deletions(-)
 create mode 100644 net/netfilter/nft_last.c