Hello,

Please add iptables TEE module to build. Patch is bellow.

--- ./include/netfilter.mk.orig 2011-03-22 22:22:49.837576205 -0700
+++ ./include/netfilter.mk      2011-03-23 09:32:04.219794159 -0700
@@ -283,6 +283,10 @@ $(eval $(call nf_add,IPT_ULOG,CONFIG_IP_
 $(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))

+# tee
+
+$(eval $(call nf_add,IPT_TEE,CONFIG_NETFILTER_XT_TARGET_TEE, $(P_XT)xt_TEE))
+
 #
 # ebtables
 #
--- ./package/iptables/Makefile.orig    2011-03-22 16:35:21.985572908 -0700
+++ ./package/iptables/Makefile 2011-03-23 09:32:05.066073042 -0700
@@ -229,6 +229,16 @@ Includes:
 - libxt_TPROXY
 endef

+define Package/iptables-mod-tee
+$(call Package/iptables/Module, +kmod-ipt-tee)
+  TITLE:=TEE iptables extensions
+endef
+
+define Package/iptables-mod-tee/description
+TEE iptables extensions.
+Includes:
+- libxt_TEE
+endef

 define Package/iptables-utils
 $(call Package/iptables/Module, )
@@ -399,6 +409,7 @@ $(eval $(call BuildPlugin,iptables-mod-i
 $(eval $(call BuildPlugin,iptables-mod-ulog,$(IPT_ULOG-m)))
 $(eval $(call BuildPlugin,iptables-mod-hashlimit,$(IPT_HASHLIMIT-m)))
 $(eval $(call BuildPlugin,iptables-mod-tproxy,$(IPT_TPROXY-m)))
+$(eval $(call BuildPlugin,iptables-mod-tee,$(IPT_TEE-m)))
 $(eval $(call BuildPackage,ip6tables))
 $(eval $(call BuildPackage,ip6tables-utils))
 $(eval $(call BuildPackage,libiptc))
--- ./package/kernel/modules/netfilter.mk_orig  2011-03-23
09:43:38.000000000 -0700
+++ ./package/kernel/modules/netfilter.mk       2011-03-23 01:04:42.000000000 
-0700
@@ -279,8 +279,26 @@ define KernelPackage/ipt-tproxy/descript
   Kernel modules for Transparent Proxying
 endef

+
 $(eval $(call KernelPackage,ipt-tproxy))

+define KernelPackage/ipt-tee
+  TITLE:=TEE support
+  KCONFIG:= \
+       CONFIG_NETFILTER_XT_TARGET_TEE
+  FILES:= \
+       $(LINUX_DIR)/net/netfilter/xt_TEE.ko \
+       $(foreach mod,$(IPT_TEE-m),$(LINUX_DIR)/net/$(mod).ko)
+  AUTOLOAD:=$(call AutoLoad,45,$(notdir nf_tee $(IPT_TEE-m)))
+  $(call AddDepends/ipt)
+endef
+
+define KernelPackage/ipt-tee/description
+  Kernel modules for TEE
+endef
+
+$(eval $(call KernelPackage,ipt-tee))
+

 define KernelPackage/ipt-iprange
   TITLE:=Module for matching ip ranges


-- 
Best regards,
Maxim Uvarov
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to