Skip to content

Commit

Permalink
iptables: package hashlimit module (#6696)
Browse files Browse the repository at this point in the history
SVN-Revision: 22229
  • Loading branch information
jow- committed Jul 16, 2010
1 parent e62a979 commit a158af9
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
12 changes: 12 additions & 0 deletions package/iptables/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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))
Expand Down
14 changes: 14 additions & 0 deletions package/kernel/modules/netfilter.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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))

0 comments on commit a158af9

Please sign in to comment.