aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2011-04-09 23:23:46 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2011-04-09 23:23:46 +0000
commit24c1caef5f3778fc634bc0ef588f94bcffbd2a85 (patch)
tree87feb7cbfe4c1b67222034e38a9f4594c9f85c7a /package
parent8ee695885a9e7fbcd5bc45f5a25c8f77bb0d73a3 (diff)
downloadupstream-24c1caef5f3778fc634bc0ef588f94bcffbd2a85.tar.gz
upstream-24c1caef5f3778fc634bc0ef588f94bcffbd2a85.tar.bz2
upstream-24c1caef5f3778fc634bc0ef588f94bcffbd2a85.zip
iipt-debug: create bundle of netfilter modules for debugging
Add a bundle for including commonly useful modules for IPtables debugging and development. For now, it just contains xt_TRACE.ko Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> SVN-Revision: 26567
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/netfilter.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/kernel/modules/netfilter.mk b/package/kernel/modules/netfilter.mk
index e44d067f35..919e8ad19d 100644
--- a/package/kernel/modules/netfilter.mk
+++ b/package/kernel/modules/netfilter.mk
@@ -262,6 +262,24 @@ endef
$(eval $(call KernelPackage,ipt-ulog))
+define KernelPackage/ipt-debug
+ TITLE:=Module for debugging/development
+ KCONFIG:=$(KCONFIG_IPT_DEBUG)
+ DEFAULT:=n
+ FILES:=$(foreach mod,$(IPT_DEBUG-m),$(LINUX_DIR)/net/$(mod).ko)
+ AUTOLOAD:=$(call AutoLoad,45,$(notdir $(IPT_DEBUG-m)))
+ $(call AddDepends/ipt)
+endef
+
+define KernelPackage/ipt-debug/description
+ Netfilter modules for debugging/development of the firewall
+ Includes:
+ - TRACE
+endef
+
+$(eval $(call KernelPackage,ipt-debug))
+
+
define KernelPackage/ipt-led
TITLE:=Module to trigger a LED with a Netfilter rule
KCONFIG:=$(KCONFIG_IPT_LED)