aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-11-19 01:03:47 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-11-19 01:03:47 +0000
commit0a2540a31397f19c54cf197dabc9beca8dfdfd87 (patch)
treedb46dcd717d5acfbbae7d0aed8cd2db72ab59d70 /package/kernel
parentf5669c81c36b94aea2a153dad659258e2e0711af (diff)
downloadupstream-0a2540a31397f19c54cf197dabc9beca8dfdfd87.tar.gz
upstream-0a2540a31397f19c54cf197dabc9beca8dfdfd87.tar.bz2
upstream-0a2540a31397f19c54cf197dabc9beca8dfdfd87.zip
reorganize nat helper packages, move ftp and irc nat to a package that is enabled by default, for security reasons - see #917 for more information
SVN-Revision: 5581
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/netfilter.mk20
1 files changed, 18 insertions, 2 deletions
diff --git a/package/kernel/modules/netfilter.mk b/package/kernel/modules/netfilter.mk
index 6f3994c121..8a99a27ecf 100644
--- a/package/kernel/modules/netfilter.mk
+++ b/package/kernel/modules/netfilter.mk
@@ -81,6 +81,23 @@ endef
$(eval $(call KernelPackage,ipt-nat))
define KernelPackage/ipt-nathelper
+ TITLE:=Default Conntrack and NAT helpers
+ DEFAULT:=y
+ DESCRIPTION:=\
+ Default Netfilter (IPv4) Conntrack and NAT helpers \\\
+ \\\
+ Includes: \\\
+ - ip_conntrack_ftp \\\
+ - ip_nat_ftp \\\
+ - ip_conntrack_irc \\\
+ - ip_nat_irc \\\
+ - ip_conntrack_tftp
+ FILES:=$(foreach mod,$(IPT_NAT_DEFAULT-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
+ SUBMENU:=$(NFMENU)
+endef
+$(eval $(call KernelPackage,ipt-nathelper))
+
+define KernelPackage/ipt-nathelper-extra
TITLE:=Extra Conntrack and NAT helpers
DESCRIPTION:=\
Extra Netfilter (IPv4) Conntrack and NAT helpers \\\
@@ -93,8 +110,7 @@ define KernelPackage/ipt-nathelper
- ip_nat_pptp \\\
- ip_conntrack_sip \\\
- ip_nat_sip \\\
- - ip_nat_snmp_basic \\\
- - ip_conntrack_tftp
+ - ip_nat_snmp_basic
FILES:=$(foreach mod,$(IPT_NAT_EXTRA-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
SUBMENU:=$(NFMENU)
endef