Needed to use libnetfilter-log and libnetfilter-conntrack. Both packages set CONFIG_NETFILTER_NETLINK=y. If this is not desired, please set CONFIG_NETFILTER_NETLINK=y in default config. Enabling it as module is not possible (see comment in patch). I did not set any dependencies for these modules in the library packages yet. Signed-off-by: Fabian Hugelshofer <hugelshofer2006 (at) gmx.ch> Index: package/kernel/modules/netlink.mk =================================================================== --- package/kernel/modules/netlink.mk (revision 0) +++ package/kernel/modules/netlink.mk (revision 0) @@ -0,0 +1,56 @@ +# +# Copyright (C) 2008 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +NF_MENU:=Netfilter Extensions + +### note: NETFILTER_NETLINK must be set to y if NF_CONNTRACK is set to y, +# which is the default for OpenWRT. Else NF_CT_NETLINK can not +# be selected. +define KernelPackage/nf-netlink-conntrack + SUBMENU:=$(NF_MENU) + TITLE:=Netfilter Netlink Conntrack + KCONFIG:=\ + CONFIG_NETFILTER_NETLINK=y \ + CONFIG_NF_CT_NETLINK \ + CONFIG_NF_CONNTRACK_EVENTS=y + FILES:=\ + $(LINUX_DIR)/net/netfilter/nf_conntrack_netlink.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,40,nf_conntrack_netlink) +endef + +define KernelPackage/nf-netlink-conntrack/description + Kernel module for userspace access to netfilter conntrack through + netlink. + Includes: + - nf_conntrack_netlink +endef + +$(eval $(call KernelPackage,nf-netlink-conntrack)) + + +define KernelPackage/nf-netlink-log + SUBMENU:=$(NF_MENU) + TITLE:=Netfilter Netling Log (NFLOG) + KCONFIG:=\ + CONFIG_NETFILTER_NETLINK=y \ + CONFIG_NETFILTER_NETLINK_LOG \ + CONFIG_NETFILTER_XT_TARGET_NFLOG + FILES:=\ + $(LINUX_DIR)/net/netfilter/nfnetlink_log.$(LINUX_KMOD_SUFFIX) \ + $(LINUX_DIR)/net/netfilter/xt_NFLOG.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,40,nfnetlink_log xt_NFLOG) +endef + +define KernelPackage/nf-netlink-log/description + Kernel module for userspace netfilter logging through netlink (NFLOG). + Includes: + - nfnetlink_log + - xt_NFLOG +endef + +$(eval $(call KernelPackage,nf-netlink-log))
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel