Signed-off-by: Fernando Fernandez Mancera <ffmanc...@riseup.net>
---
 net/ipv6/netfilter/Kconfig  | 4 ++++
 net/ipv6/netfilter/Makefile | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/net/ipv6/netfilter/Kconfig b/net/ipv6/netfilter/Kconfig
index 086fc669279e..60146a0d390d 100644
--- a/net/ipv6/netfilter/Kconfig
+++ b/net/ipv6/netfilter/Kconfig
@@ -5,6 +5,9 @@
 menu "IPv6: Netfilter Configuration"
        depends on INET && IPV6 && NETFILTER
 
+config NF_SYNPROXY_IPV6
+       tristate
+
 config NF_SOCKET_IPV6
        tristate "IPv6 socket lookup support"
        help
@@ -212,6 +215,7 @@ config IP6_NF_TARGET_REJECT
 config IP6_NF_TARGET_SYNPROXY
        tristate "SYNPROXY target support"
        depends on NF_CONNTRACK && NETFILTER_ADVANCED
+       select NF_SYNPROXY_IPV6
        select NETFILTER_SYNPROXY
        select SYN_COOKIES
        help
diff --git a/net/ipv6/netfilter/Makefile b/net/ipv6/netfilter/Makefile
index 731a74c60dca..d9ee2f8c9ae2 100644
--- a/net/ipv6/netfilter/Makefile
+++ b/net/ipv6/netfilter/Makefile
@@ -15,6 +15,9 @@ obj-$(CONFIG_IP6_NF_NAT) += ip6table_nat.o
 nf_defrag_ipv6-y := nf_defrag_ipv6_hooks.o nf_conntrack_reasm.o
 obj-$(CONFIG_NF_DEFRAG_IPV6) += nf_defrag_ipv6.o
 
+#synproxy
+obj-$(CONFIG_NF_SYNPROXY_IPV6) += nf_synproxy_ipv6.o
+
 obj-$(CONFIG_NF_SOCKET_IPV6) += nf_socket_ipv6.o
 obj-$(CONFIG_NF_TPROXY_IPV6) += nf_tproxy_ipv6.o
 
-- 
2.20.1

Reply via email to