aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-06-22 22:39:22 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-06-22 22:39:22 +0000
commit881cdcaf368e083f4a8c191ac9d5b8bdc0822f42 (patch)
treeb6defe2fc55d001fb2e3eaaa192c96a6a6c0315f /include
parent8577f40a43e051a4ba477790a0af9cd941be9e8a (diff)
downloadupstream-881cdcaf368e083f4a8c191ac9d5b8bdc0822f42.tar.gz
upstream-881cdcaf368e083f4a8c191ac9d5b8bdc0822f42.tar.bz2
upstream-881cdcaf368e083f4a8c191ac9d5b8bdc0822f42.zip
[netfilter] package TPROXY target and module infrastructure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21883 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/netfilter.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/netfilter.mk b/include/netfilter.mk
index 2be72db8a2..77820c79a8 100644
--- a/include/netfilter.mk
+++ b/include/netfilter.mk
@@ -277,6 +277,12 @@ $(eval $(call nf_add,IPT_QUEUE,CONFIG_IP_NF_QUEUE, $(P_V4)ip_queue))
$(eval $(call nf_add,IPT_ULOG,CONFIG_IP_NF_TARGET_ULOG, $(P_V4)ipt_ULOG))
+# tproxy
+
+$(eval $(call nf_add,IPT_TPROXY,CONFIG_NETFILTER_XT_MATCH_SOCKET, $(P_XT)xt_socket))
+$(eval $(call nf_add,IPT_TPROXY,CONFIG_NETFILTER_XT_TARGET_TPROXY, $(P_XT)xt_TPROXY))
+
+
#
# ebtables
#
@@ -329,6 +335,7 @@ IPT_BUILTIN += $(IPT_NAT_EXTRA-y)
IPT_BUILTIN += $(IPT_NATHELPER-y)
IPT_BUILTIN += $(IPT_NATHELPER_EXTRA-y)
IPT_BUILTIN += $(IPT_ULOG-y)
+IPT_BUILTIN += $(IPT_TPROXY-y)
IPT_BUILTIN += $(EBTABLES-y)
IPT_BUILTIN += $(EBTABLES_IP4-y)
IPT_BUILTIN += $(EBTALTES_IP6-y)