Skip to content

Netfilter fixes for net

Pablo Neira Ayuso netdev netfilter-devel 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 0 repliesApplied 11/11

Patches in v1 All 11 applied

#Subject and filesSizeRepliesApplied
1/11selftests: netfilter: add a vrf+conntrack testcasetools/testing/selftests/netfilter/Makefile tools/testing/selftests/netfilter/conntrack_vrf.sh+221 -10 repliesApplied
2/11selftests: netfilter: extend nfqueue tests to cover vrf devicetools/testing/selftests/netfilter/nft_queue.sh+54 -00 repliesApplied
3/11netfilter: nft_payload: Remove duplicated include in nft_payload.cnet/netfilter/nft_payload.c+0 -10 repliesApplied
4/11selftests: nft_nat: Improve port shadow test stabilitytools/testing/selftests/netfilter/nft_nat.sh+4 -20 repliesApplied
5/11selftests: nft_nat: Simplify port shadow notrack testtools/testing/selftests/netfilter/nft_nat.sh+1 -20 repliesApplied
6/11netfilter: ctnetlink: fix filtering with CTA_TUPLE_REPLYnet/netfilter/nf_conntrack_netlink.c+1 -10 repliesApplied
7/11netfilter: ctnetlink: do not erase error code with EINVALnet/netfilter/nf_conntrack_netlink.c+1 -30 repliesApplied
8/11netfilter: ipvs: Fix reuse connection if RS weight is 0Documentation/networking/ipvs-sysctl.rst net/netfilter/ipvs/ip_vs_core.c+5 -60 repliesApplied
9/11netfilter: xt_IDLETIMER: replace snprintf in show functions with sysfs_emitnet/netfilter/xt_IDLETIMER.c+2 -20 repliesApplied
10/11netfilter: flowtable: fix IPv6 tunnel addr matchnet/netfilter/nf_flow_table_offload.c+2 -20 repliesApplied
11/11selftests: nft_nat: switch port shadow test cases to socattools/testing/selftests/netfilter/nft_nat.sh+19 -70 repliesApplied

Reviews trailers per patch

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

PatchSimon HormanJulian Anastasov
1/11
2/11
3/11
4/11
5/11
6/11
7/11
8/11A-b A-b
9/11
10/11
11/11

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 00/11] Netfilter fixes for net

Hi,

The following patchset contains Netfilter/IPVS fixes for net:

1) Add selftest for vrf+conntrack, from Florian Westphal.

2) Extend nfqueue selftest to cover nfqueue, also from Florian.

3) Remove duplicated include in nft_payload, from Wan Jiabing.

4) Several improvements to the nat port shadowing selftest, from Phil Sutter.

5) Fix filtering of reply tuple in ctnetlink, from Florent Fourcot.

6) Do not override error with -EINVAL in filter setup path, also from Florent.

7) Honor sysctl_expire_nodest_conn regardless conn_reuse_mode for reused connections, from yangxingwu.

8) Replace snprintf() by sysfs_emit() in xt_IDLETIMER as reported by Coccinelle, from Jing Yao.

9) Incorrect IPv6 tunnel match in flowtable offload, from Will Mortensen.

10) Switch port shadow selftest to use socat, from Florian Westphal.

Please, pull these changes from:

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

Thanks.

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

The following changes since commit c45231a7668d6b632534f692b10592ea375b55b0:

litex_liteeth: Fix a double free in the remove function (2021-11-07 21:51:17 +0000)

are available in the Git repository at:

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

for you to fetch changes up to a2acf0c0e2da29950d0361a3b5ea05e8d0351dfe:

selftests: nft_nat: switch port shadow test cases to socat (2021-11-15 12:02:11 +0100)

----------------------------------------------------------------
Florent Fourcot (2):
netfilter: ctnetlink: fix filtering with CTA_TUPLE_REPLY
netfilter: ctnetlink: do not erase error code with EINVAL

Florian Westphal (3):
selftests: netfilter: add a vrf+conntrack testcase
selftests: netfilter: extend nfqueue tests to cover vrf device
selftests: nft_nat: switch port shadow test cases to socat

Jing Yao (1):
netfilter: xt_IDLETIMER: replace snprintf in show functions with sysfs_emit

Phil Sutter (2):
selftests: nft_nat: Improve port shadow test stability
selftests: nft_nat: Simplify port shadow notrack test

Wan Jiabing (1):
netfilter: nft_payload: Remove duplicated include in nft_payload.c

Will Mortensen (1):
netfilter: flowtable: fix IPv6 tunnel addr match

yangxingwu (1):
netfilter: ipvs: Fix reuse connection if RS weight is 0

 Documentation/networking/ipvs-sysctl.rst           |   3 +-
 net/netfilter/ipvs/ip_vs_core.c                    |   8 +-
 net/netfilter/nf_conntrack_netlink.c               |   6 +-
 net/netfilter/nf_flow_table_offload.c              |   4 +-
 net/netfilter/nft_payload.c                        |   1 -
 net/netfilter/xt_IDLETIMER.c                       |   4 +-
 tools/testing/selftests/netfilter/Makefile         |   3 +-
 tools/testing/selftests/netfilter/conntrack_vrf.sh | 219 +++++++++++++++++++++
 tools/testing/selftests/netfilter/nft_nat.sh       |  33 +++-
 tools/testing/selftests/netfilter/nft_queue.sh     |  54 +++++
 10 files changed, 309 insertions(+), 26 deletions(-)
 create mode 100755 tools/testing/selftests/netfilter/conntrack_vrf.sh