]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
netfilter: synproxy: extract SYNPROXY infrastructure from {ipt, ip6t}_SYNPROXY
authorFernando Fernandez Mancera <ffmancera@riseup.net>
Fri, 7 Jun 2019 00:36:07 +0000 (02:36 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 17 Jun 2019 15:12:55 +0000 (17:12 +0200)
commitd7f9b2f18eaef74b4f948c7e24e3a8f796f0c90d
treeb5e8c6e8c56f990473d4011cf65698082fa021b7
parent3006a5224f15cf68edc4878799ac6d6089861518
netfilter: synproxy: extract SYNPROXY infrastructure from {ipt, ip6t}_SYNPROXY

Add common functions into nf_synproxy_core.c to prepare for nftables support.
The prototypes of the functions used by {ipt, ip6t}_SYNPROXY are in the new
file nf_synproxy.h

Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_conntrack_synproxy.h
include/net/netfilter/nf_synproxy.h [new file with mode: 0644]
net/ipv4/netfilter/ipt_SYNPROXY.c
net/ipv6/netfilter/ip6t_SYNPROXY.c
net/netfilter/nf_synproxy_core.c