netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Fernando Fernandez Mancera <ffmancera@riseup.net>
To: netfilter-devel@vger.kernel.org
Cc: Fernando Fernandez Mancera <ffmancera@riseup.net>
Subject: [PATCH 3/5 nf-next] netfilter: add NF_SYNPROXY_IPV4 symbol
Date: Sat, 18 May 2019 20:21:52 +0200	[thread overview]
Message-ID: <20190518182151.1231-4-ffmancera@riseup.net> (raw)
In-Reply-To: <20190518182151.1231-1-ffmancera@riseup.net>

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

diff --git a/net/ipv4/netfilter/Kconfig b/net/ipv4/netfilter/Kconfig
index 1412b029f37f..5038bb95dbf2 100644
--- a/net/ipv4/netfilter/Kconfig
+++ b/net/ipv4/netfilter/Kconfig
@@ -18,6 +18,9 @@ config NF_SOCKET_IPV4
 config NF_TPROXY_IPV4
 	tristate "IPv4 tproxy support"
 
+config NF_SYNPROXY_IPV4
+	tristate
+
 if NF_TABLES
 
 config NF_TABLES_IPV4
@@ -196,6 +199,7 @@ config IP_NF_TARGET_REJECT
 config IP_NF_TARGET_SYNPROXY
 	tristate "SYNPROXY target support"
 	depends on NF_CONNTRACK && NETFILTER_ADVANCED
+	select NF_SYNPROXY_IPV4
 	select NETFILTER_SYNPROXY
 	select SYN_COOKIES
 	help
diff --git a/net/ipv4/netfilter/Makefile b/net/ipv4/netfilter/Makefile
index c50e0ec095d2..01267eea7c4e 100644
--- a/net/ipv4/netfilter/Makefile
+++ b/net/ipv4/netfilter/Makefile
@@ -6,6 +6,9 @@
 # defrag
 obj-$(CONFIG_NF_DEFRAG_IPV4) += nf_defrag_ipv4.o
 
+#synproxy
+obj-$(CONFIG_NF_SYNPROXY_IPV4) += nf_synproxy_ipv4.o
+
 obj-$(CONFIG_NF_SOCKET_IPV4) += nf_socket_ipv4.o
 obj-$(CONFIG_NF_TPROXY_IPV4) += nf_tproxy_ipv4.o
 
-- 
2.20.1


  parent reply	other threads:[~2019-05-18 18:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-18 18:21 [PATCH 0/5] Extract SYNPROXY infrastructure Fernando Fernandez Mancera
2019-05-18 18:21 ` [PATCH 1/5 nf-next] netfilter: synproxy: add common uapi for " Fernando Fernandez Mancera
2019-05-18 18:21 ` [PATCH 2/5 nf-next] netfilter: synproxy: extract IPv4 SYNPROXY infrastructure from ipt_SYNPROXY Fernando Fernandez Mancera
2019-05-18 18:21 ` Fernando Fernandez Mancera [this message]
2019-05-18 18:21 ` [PATCH 4/5 nf-next] netfilter: synproxy: extract IPv6 SYNPROXY infrastructure from ip6t_SYNPROXY Fernando Fernandez Mancera
2019-05-18 20:20   ` Florian Westphal
2019-05-18 20:38     ` Fernando Fernandez Mancera
2019-05-18 20:45       ` Florian Westphal
2019-05-18 18:21 ` [PATCH 5/5 nf-next] netfilter: add NF_SYNPROXY_IPV6 symbol Fernando Fernandez Mancera
2019-05-18 19:29 ` [PATCH 0/5] Extract SYNPROXY infrastructure Jan Engelhardt
2019-05-19 21:03   ` Fernando Fernandez Mancera

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190518182151.1231-4-ffmancera@riseup.net \
    --to=ffmancera@riseup.net \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).