Hello, I sent before iptables_tee.patch but did not received any feedback and patch is not applied. Sending now as attaches iptables_tee.patch iptables_u32.patch.
I can maintain iptables package. -- Best regards, Maxim Uvarov
--- ./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
--- ./include/netfilter.mk.orig 2011-03-29 09:36:51.526659744 -0700 +++ include/netfilter.mk 2011-03-29 09:43:18.510644953 -0700 @@ -287,6 +287,10 @@ $(eval $(call nf_add,IPT_TPROXY,CONFIG_N $(eval $(call nf_add,IPT_TEE,CONFIG_NETFILTER_XT_TARGET_TEE, $(P_XT)xt_TEE)) +# u32 + +$(eval $(call nf_add,IPT_U32,CONFIG_NETFILTER_XT_MATCH_U32, $(P_XT)xt_u32)) + # # ebtables # --- package/iptables/Makefile.orig 2011-03-28 10:51:55.017571052 -0700 +++ package/iptables/Makefile 2011-03-28 12:56:37.849995355 -0700 @@ -240,6 +240,17 @@ Includes: - libxt_TEE endef +define Package/iptables-mod-u32 +$(call Package/iptables/Module, +kmod-ipt-u32) + TITLE:=U32 iptables extensions +endef + +define Package/iptables-mod-u32/description +U32 iptables extensions. +Includes: +- libxt_u32 +endef + define Package/iptables-utils $(call Package/iptables/Module, ) TITLE:=iptables save and restore utilities @@ -410,6 +421,7 @@ $(eval $(call BuildPlugin,iptables-mod-u $(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 BuildPlugin,iptables-mod-u32,$(IPT_U32-m))) $(eval $(call BuildPackage,ip6tables)) $(eval $(call BuildPackage,ip6tables-utils)) $(eval $(call BuildPackage,libiptc)) --- package/kernel/modules/netfilter.mk_orig 2011-03-28 10:54:01.555530705 -0700 +++ package/kernel/modules/netfilter.mk 2011-03-28 12:11:06.869573081 -0700 @@ -299,6 +299,23 @@ endef $(eval $(call KernelPackage,ipt-tee)) +define KernelPackage/ipt-u32 + TITLE:=U32 support + KCONFIG:= \ + CONFIG_NETFILTER_XT_MATCH_U32 + FILES:= \ + $(LINUX_DIR)/net/netfilter/xt_u32.ko \ + $(foreach mod,$(IPT_U32-m),$(LINUX_DIR)/net/$(mod).ko) + AUTOLOAD:=$(call AutoLoad,45,$(notdir nf_tee $(IPT_U32-m))) + $(call AddDepends/ipt) +endef + +define KernelPackage/ipt-u32/description + Kernel modules for U32 +endef + +$(eval $(call KernelPackage,ipt-u32)) + define KernelPackage/ipt-iprange TITLE:=Module for matching ip ranges
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel