netfilter: nft_synproxy: add synproxy stateful object support
Subsystems (2)
PATCH 1/1 netfilter: nft_synproxy: add synproxy stateful object support
Register a new synproxy stateful object type into the stateful object infrastructure.
Signed-off-by Fernando Fernandez Mancera <[email protected]>
--- include/uapi/linux/netfilter/nf_tables.h | 3 +- net/netfilter/nft_synproxy.c | 143 +++++++++++++++++++---- 2 files changed, 124 insertions(+), 22 deletions(-)
include/uapi/linux/netfilter/nf_tables.h +2 -1
@@ -1481,7 +1481,8 @@ enum nft_ct_expectation_attributes {#define NFT_OBJECT_CT_TIMEOUT 7#define NFT_OBJECT_SECMARK 8#define NFT_OBJECT_CT_EXPECT 9 -#define __NFT_OBJECT_MAX 10 +#define NFT_OBJECT_SYNPROXY 10 +#define __NFT_OBJECT_MAX 11#define NFT_OBJECT_MAX (__NFT_OBJECT_MAX - 1)/**
net/netfilter/nft_synproxy.c +122 -21
236 lines not on this page · raw message
Signature · 1 line
2.20.1
Quoted 2 lines · Fernando Fernandez Mancera
Register a new synproxy stateful object type into the stateful object infrastructure.
Applied, thanks.