summaryrefslogtreecommitdiff
path: root/package/kernel/modules
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-31 16:09:25 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-31 16:09:25 +0000
commit132e6a50261bb6e67e2a20d38efb3422fbfaad7f (patch)
treeda32e88231fc2c090151ce6ee789b4a78f878ed7 /package/kernel/modules
parent7f37b27d4b391818c330047c5028dfec93114043 (diff)
[package] kernel: add modules for nfnetlink based packet logging & queuing and conntracking
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14308 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules')
-rw-r--r--package/kernel/modules/netfilter.mk65
1 files changed, 65 insertions, 0 deletions
diff --git a/package/kernel/modules/netfilter.mk b/package/kernel/modules/netfilter.mk
index f109b94da1..0d86adffc3 100644
--- a/package/kernel/modules/netfilter.mk
+++ b/package/kernel/modules/netfilter.mk
@@ -399,3 +399,68 @@ define KernelPackage/ebtables/description
endef
$(eval $(call KernelPackage,ebtables))
+
+
+define KernelPackage/nfnetlink
+ SUBMENU:=$(NF_MENU)
+ TITLE:=Netlink-based userspace interface
+ DEPENDS:=@LINUX_2_6 +kmod-ipt-core
+ FILES:=$(LINUX_DIR)/net/netfilter/nfnetlink.$(LINUX_KMOD_SUFFIX)
+ KCONFIG:=CONFIG_NETFILTER_NETLINK
+ AUTOLOAD:=$(call AutoLoad,48,nfnetlink)
+endef
+
+define KernelPackage/nfnetlink/description
+ Kernel modules support for a netlink-based userspace interface
+endef
+
+$(eval $(call KernelPackage,nfnetlink))
+
+
+define KernelPackage/nfnetlink-log
+ SUBMENU:=$(NF_MENU)
+ TITLE:=Netfilter LOG over NFNETLINK interface
+ DEPENDS:=@LINUX_2_6 +kmod-nfnetlink
+ FILES:=$(LINUX_DIR)/net/netfilter/nfnetlink_log.$(LINUX_KMOD_SUFFIX)
+ KCONFIG:=CONFIG_NETFILTER_NETLINK_LOG
+ AUTOLOAD:=$(call AutoLoad,48,nfnetlink_log)
+endef
+
+define KernelPackage/nfnetlink-log/description
+ Kernel modules support for logging packets via NFNETLINK
+endef
+
+$(eval $(call KernelPackage,nfnetlink-log))
+
+
+define KernelPackage/nfnetlink-queue
+ SUBMENU:=$(NF_MENU)
+ TITLE:=Netfilter QUEUE over NFNETLINK interface
+ DEPENDS:=@LINUX_2_6 +kmod-nfnetlink
+ FILES:=$(LINUX_DIR)/net/netfilter/nfnetlink_queue.$(LINUX_KMOD_SUFFIX)
+ KCONFIG:=CONFIG_NETFILTER_NETLINK_QUEUE
+ AUTOLOAD:=$(call AutoLoad,48,nfnetlink_queue)
+endef
+
+define KernelPackage/nfnetlink-queue/description
+ Kernel modules support for queueing packets via NFNETLINK
+endef
+
+$(eval $(call KernelPackage,nfnetlink-queue))
+
+
+define KernelPackage/nf-conntrack-netlink
+ SUBMENU:=$(NF_MENU)
+ TITLE:=Connection tracking netlink interface
+ DEPENDS:=@LINUX_2_6 +kmod-nfnetlink +kmod-ipt-conntrack
+ FILES:=$(LINUX_DIR)/net/netfilter/nf_conntrack_netlink.$(LINUX_KMOD_SUFFIX)
+ KCONFIG:=CONFIG_NF_CT_NETLINK
+ AUTOLOAD:=$(call AutoLoad,49,nf_conntrack_netlink)
+endef
+
+define KernelPackage/nf-conntrack-netlink/description
+ Kernel modules support for a netlink-based connection tracking
+ userspace interface
+endef
+
+$(eval $(call KernelPackage,nf-conntrack-netlink))