iptables: package hashlimit module (#6696)

SVN-Revision: 22229
lede-17.01
Jo-Philipp Wich 2010-07-16 06:15:07 +00:00
parent e62a9791ee
commit a158af99a0
2 changed files with 26 additions and 0 deletions

View File

@ -189,6 +189,17 @@ Includes:
- libipt_ULOG - libipt_ULOG
endef endef
define Package/iptables-mod-hashlimit
$(call Package/iptables/Module, +kmod-ipt-hashlimit)
TITLE:=hashlimit matching
endef
define Package/iptables-mod-hashlimit/description
iptables extensions for hashlimit matching
Includes:
- libxt_hashlimit
endef
define Package/iptables-mod-iprange define Package/iptables-mod-iprange
$(call Package/iptables/Module, +kmod-ipt-iprange) $(call Package/iptables/Module, +kmod-ipt-iprange)
TITLE:=IP range extension TITLE:=IP range extension
@ -394,6 +405,7 @@ $(eval $(call BuildPlugin,iptables-mod-nat,$(IPT_NAT-m)))
$(eval $(call BuildPlugin,iptables-mod-nat-extra,$(IPT_NAT_EXTRA-m))) $(eval $(call BuildPlugin,iptables-mod-nat-extra,$(IPT_NAT_EXTRA-m)))
$(eval $(call BuildPlugin,iptables-mod-iprange,$(IPT_IPRANGE-m))) $(eval $(call BuildPlugin,iptables-mod-iprange,$(IPT_IPRANGE-m)))
$(eval $(call BuildPlugin,iptables-mod-ulog,$(IPT_ULOG-m))) $(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-tproxy,$(IPT_TPROXY-m)))
$(eval $(call BuildPackage,ip6tables)) $(eval $(call BuildPackage,ip6tables))
$(eval $(call BuildPackage,ip6tables-utils)) $(eval $(call BuildPackage,ip6tables-utils))

View File

@ -512,3 +512,17 @@ define KernelPackage/nf-conntrack-netlink/description
endef endef
$(eval $(call KernelPackage,nf-conntrack-netlink)) $(eval $(call KernelPackage,nf-conntrack-netlink))
define KernelPackage/ipt-hashlimit
$(call KernelPackage/ipt/Depends,)
TITLE:=Netfilter hashlimit match
FILES:=$(LINUX_DIR)/net/netfilter/xt_hashlimit.$(LINUX_KMOD_SUFFIX)
KCONFIG:=$(KCONFIG_IPT_HASHLIMIT)
AUTOLOAD:=$(call AutoLoad,50,xt_hashlimit)
endef
define KernelPackage/ipt-hashlimit/description
Kernel modules support for the hashlimit bucket match module
endef
$(eval $(call KernelPackage,ipt-hashlimit))