diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-07-16 06:15:07 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-07-16 06:15:07 +0000 |
commit | a158af99a0bcf40ccfc79a79b712a34108061488 (patch) | |
tree | cde2d8fea738ce14784396f767339bb05c7c85b7 /package | |
parent | e62a9791ee4be2e2ade71d566faf4d5b2b1627f5 (diff) | |
download | upstream-a158af99a0bcf40ccfc79a79b712a34108061488.tar.gz upstream-a158af99a0bcf40ccfc79a79b712a34108061488.tar.bz2 upstream-a158af99a0bcf40ccfc79a79b712a34108061488.zip |
iptables: package hashlimit module (#6696)
SVN-Revision: 22229
Diffstat (limited to 'package')
-rw-r--r-- | package/iptables/Makefile | 12 | ||||
-rw-r--r-- | package/kernel/modules/netfilter.mk | 14 |
2 files changed, 26 insertions, 0 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile index 87d898bea0..a401115de0 100644 --- a/package/iptables/Makefile +++ b/package/iptables/Makefile @@ -189,6 +189,17 @@ Includes: - libipt_ULOG 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 $(call Package/iptables/Module, +kmod-ipt-iprange) 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-iprange,$(IPT_IPRANGE-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 BuildPackage,ip6tables)) $(eval $(call BuildPackage,ip6tables-utils)) diff --git a/package/kernel/modules/netfilter.mk b/package/kernel/modules/netfilter.mk index 561286efda..510c195d62 100644 --- a/package/kernel/modules/netfilter.mk +++ b/package/kernel/modules/netfilter.mk @@ -512,3 +512,17 @@ define KernelPackage/nf-conntrack-netlink/description endef $(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)) |