Netfilter fixes for net
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 6 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | netfilter: conntrack: correct window scaling with retransmitted SYNnet/ | +6 | 0 replies | Applied |
| 2/6 | netfilter: nf_tables: restrict tunnel object to NFPROTO_NETDEVinclude/ net/ net/ | +12 | 0 replies | Applied |
| 3/6 | netfilter: conntrack: check SCTP_CID_SHUTDOWN_ACK for vtag setting in sctp_newnet/ | +1 | 0 replies | Applied |
| 4/6 | netfilter: ipset: fix performance regression in swap operationinclude/ net/ net/ +2 more | +65 | 0 replies | Applied |
| 5/6 | netfilter: nf_log: replace BUG_ON by WARN_ON_ONCE when putting loggernet/ | +4 | 0 replies | Applied |
| 6/6 | netfilter: nft_ct: sanitize layer 3 and 4 protocol number in custom expectationsnet/ | +24 | 0 replies | Applied |
Reviews trailers per patch
None of the 6 patches has a Reviewed-by or Acked-by.
| Patch | David Wang |
|---|---|
| 1/6 | |
| 2/6 | |
| 3/6 | |
| 4/6 | T-b |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net 0/6] Netfilter fixes for net
Hi,
The following patchset contains Netfilter fixes for net:
1) TCP conntrack now only evaluates window negotiation for packets in the REPLY direction, from Ryan Schaefer. Otherwise SYN retransmissions trigger incorrect window scale negotiation. From Ryan Schaefer.
2) Restrict tunnel objects to NFPROTO_NETDEV which is where it makes sense to use this object type.
3) Fix conntrack pick up from the middle of SCTP_CID_SHUTDOWN_ACK packets. From Xin Long.
4) Another attempt from Jozsef Kadlecsik to address the slow down of the swap command in ipset.
5) Replace a BUG_ON by WARN_ON_ONCE in nf_log, and consolidate check for the case that the logger is NULL from the read side lock section.
6) Address lack of sanitization for custom expectations. Restrict layer 3 and 4 families to what it is supported by userspace.
Please, pull these changes from:
git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git nf-24-01-31
Thanks.
----------------------------------------------------------------
The following changes since commit a2933a8759a62269754e54733d993b19de870e84:
selftests: bonding: do not test arp/ns target with mode balance-alb/tlb (2024-01-25 09:50:54 +0100)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git tags/nf-24-01-31
for you to fetch changes up to 8059918a1377f2f1fff06af4f5a4ed3d5acd6bc4:
netfilter: nft_ct: sanitize layer 3 and 4 protocol number in custom expectations (2024-01-31 23:14:14 +0100)
----------------------------------------------------------------
netfilter pull request 24-01-31
----------------------------------------------------------------
Jozsef Kadlecsik (1):
netfilter: ipset: fix performance regression in swap operation
Pablo Neira Ayuso (3):
netfilter: nf_tables: restrict tunnel object to NFPROTO_NETDEV
netfilter: nf_log: replace BUG_ON by WARN_ON_ONCE when putting logger
netfilter: nft_ct: sanitize layer 3 and 4 protocol number in custom expectations
Ryan Schaefer (1):
netfilter: conntrack: correct window scaling with retransmitted SYN
Xin Long (1):
netfilter: conntrack: check SCTP_CID_SHUTDOWN_ACK for vtag setting in sctp_new
include/linux/netfilter/ipset/ip_set.h | 4 ++++ include/net/netfilter/nf_tables.h | 2 ++ net/netfilter/ipset/ip_set_bitmap_gen.h | 14 ++++++++++--- net/netfilter/ipset/ip_set_core.c | 37 +++++++++++++++++++++++++-------- net/netfilter/ipset/ip_set_hash_gen.h | 15 ++++++++++--- net/netfilter/ipset/ip_set_list_set.c | 13 +++++++++--- net/netfilter/nf_conntrack_proto_sctp.c | 2 +- net/netfilter/nf_conntrack_proto_tcp.c | 10 +++++---- net/netfilter/nf_log.c | 7 ++++--- net/netfilter/nf_tables_api.c | 14 ++++++++----- net/netfilter/nft_ct.c | 24 +++++++++++++++++++++ net/netfilter/nft_tunnel.c | 1 + 12 files changed, 112 insertions(+), 31 deletions(-)