Skip to content

netfilter fixes for net

Pablo Neira Ayuso netdev netfilter-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8netfilter: connlimit: fix UP buildnet/netfilter/xt_connlimit.c+1 -10 replies
2/8netfilter: connlimit: move lock array out of struct connlimit_datanet/netfilter/xt_connlimit.c+16 -90 replies
3/8netfilter: x_tables: allow to use cgroup match for LOCAL_IN nf hooksnet/netfilter/xt_cgroup.c+2 -10 replies
4/8netfilter: Add {ipt,ip6t}_osf aliases for xt_osfnet/netfilter/xt_osf.c+2 -00 replies
5/8netfilter: nf_conntrack: reserve two bytes for nf_ct_ext->leninclude/net/netfilter/nf_conntrack_extend.h+2 -20 replies
6/8netfilter: nf_tables: set names cannot be larger than 15 bytesnet/netfilter/nf_tables_api.c+2 -10 replies
7/8netfilter: nf_tables: fix wrong format in request_module()net/netfilter/nf_tables_api.c+2 -20 replies
8/8netfilter: Can't fail and free after table replacementnet/bridge/netfilter/ebtables.c net/ipv4/netfilter/arp_tables.c net/ipv4/netfilter/ip_tables.c +1 more+14 -90 replies

Reviews trailers per patch

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

PatchDaniel Borkmann
1/8
2/8
3/8A-b
4/8
5/8
6/8
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 0/8] netfilter fixes for net

Hi,

The following patchset contains Netfilter fixes for your net tree, they are:

* Use 16-bits offset and length fields instead of 8-bits in the conntrack extension to avoid an overflow when many conntrack extension are used, from Andrey Vagin.

* Allow to use cgroup match from LOCAL_IN, there is no apparent reason for not allowing this, from Alexey Perevalov.

* Fix build of the connlimit match after recent changes to let it scale up that result in a divide by zero compilation error in UP, from Florian Westphal.

* Move the lock out of the structure connlimit_data to avoid a false sharing spotted by Eric Dumazet and Jesper D. Brouer, this needed as part of the recent connlimit scalability improvements, also from Florian Westphal.

* Add missing module aliases in xt_osf to fix loading of rules using this match, from Kirill Tkhai.

* Restrict set names in nf_tables to 15 characters instead of silently trimming them off, from me.

* Fix wrong format in nf_tables request module call for chain types, spotted by Florian Westphal, patch from me.

* Fix crash in xtables when it fails to copy the counters back to userspace after having replaced the table already.

You can pull these changes from: