aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-01-31 16:09:25 +0000
committerNicolas Thill <nico@openwrt.org>2009-01-31 16:09:25 +0000
commit776b1b6c8379c89fbbc35ab14617758ebef938f4 (patch)
treeda32e88231fc2c090151ce6ee789b4a78f878ed7 /package
parentcdc6c574ad92dc69037253469d505269f1358a3a (diff)
downloadupstream-776b1b6c8379c89fbbc35ab14617758ebef938f4.tar.gz
upstream-776b1b6c8379c89fbbc35ab14617758ebef938f4.tar.bz2
upstream-776b1b6c8379c89fbbc35ab14617758ebef938f4.zip
[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')
-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))