History

netfilter: connlimit: split xt_connlimit into front and backend

This allows to reuse xt_connlimit infrastructure from nf_tables. The upcoming nf_tables frontend can just pass in an nftables register as input key, this allows limiting by any nft-supported key, including concatenations. For xt_connlimit, pass in the zone and the ip/ipv6 address. With help from Yi-Hung Wei.

Florian Westphal committed 8 years ago

Commit 625c5561 parent c2f9eaf6 files · +420 −346Browse files

Showing the changes to include/uapi/linux (1 of 6 files). Show all

Unified · Split

include/uapi/linux/netfilter/xt_connlimit.h+1−1
@@ -27,7 +27,7 @@ struct xt_connlimit_info { · 26 unmodified lines
2727 __u32 flags;
2828
2929 /* Used internally by the kernel */
30− struct xt_connlimit_data *data __attribute__((aligned(8)));
30+ struct nf_conncount_data *data __attribute__((aligned(8)));
3131 };
3232
3333 #endif /* _XT_CONNLIMIT_H */