summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-02 22:57:33 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-02 22:57:33 +0000
commit494412bf0a06cdb958e1c4aff3c5de820c57e960 (patch)
tree5a84932826cbdb1bdae2e3abaa3f833f79de4f93 /package
parenta1b1902658ad6db331d47df06747e5cdf02df0b3 (diff)
Add iprange (#1799)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7462 3c298f89-4303-0410-b956-a3cf2f4a3e73
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:=\