summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/iptables/Makefile12
-rw-r--r--package/kernel/modules/netfilter.mk13
2 files changed, 25 insertions, 0 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile
index 7d34cc68e..bd85322ff 100644
--- a/package/iptables/Makefile
+++ b/package/iptables/Makefile
@@ -133,6 +133,17 @@ define Package/iptables-mod-ulog
- libipt_ULOG
endef
+define Package/iptables-mod-iprange
+ $(call Package/iptables/Default)
+ DEPENDS:=iptables +kmod-ipt-iprange
+ TITLE:=ip range module
+ DESCRIPTION:=\
+ iptables extensions for matching ip ranges.\\\
+ \\\
+ Includes: \\\
+ - libipt_iprange
+endef
+
define Package/iptables-mod-extra
$(call Package/iptables/Default)
DEPENDS:=iptables +kmod-ipt-extra
@@ -257,5 +268,6 @@ $(eval $(call BuildPlugin,iptables-mod-imq,$(IPT_IMQ-m)))
$(eval $(call BuildPlugin,iptables-mod-ipopt,$(IPT_IPOPT-m)))
$(eval $(call BuildPlugin,iptables-mod-ipsec,$(IPT_IPSEC-m)))
$(eval $(call BuildPlugin,iptables-mod-nat,$(IPT_NAT-m)))
+$(eval $(call BuildPlugin,iptables-mod-iprange,$(IPT_IPRANGE-m)))
$(eval $(call BuildPlugin,iptables-mod-ulog,$(IPT_ULOG-m)))
$(eval $(call BuildPackage,ip6tables))
diff --git a/package/kernel/modules/netfilter.mk b/package/kernel/modules/netfilter.mk
index 18f9203a4..d3b3396e8 100644
--- a/package/kernel/modules/netfilter.mk
+++ b/package/kernel/modules/netfilter.mk
@@ -161,6 +161,19 @@ define KernelPackage/ipt-ulog
endef
$(eval $(call KernelPackage,ipt-ulog))
+define KernelPackage/ipt-iprange
+ TITLE:=Module for matching ip ranges
+ DESCRIPTION:=\
+ Netfilter (IPv4) module for matching ip ranges \\\
+ \\\
+ Includes: \\\
+ - ipt_IPRANGE
+ FILES:=$(LINUX_DIR)/net/ipv4/netfilter/ipt_iprange.$(LINUX_KMOD_SUFFIX)
+ SUBMENU:=$(NFMENU)
+ AUTOLOAD:=$(call AutoLoad,40,$(notdir $(IPT_IPRANGE-m)))
+endef
+$(eval $(call KernelPackage,ipt-iprange))
+
define KernelPackage/ipt-extra
TITLE:=Extra modules
DESCRIPTION:=\