diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-11-19 01:03:47 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-11-19 01:03:47 +0000 |
commit | 3e25a01a87c4a78760dc124fa2e1b89e250054de (patch) | |
tree | aad29c03ca9825007b47b992f24090bdd9efb3a1 /package | |
parent | d4e28989b8010e1b77141d826149632d867b843b (diff) | |
download | upstream-3e25a01a87c4a78760dc124fa2e1b89e250054de.tar.gz upstream-3e25a01a87c4a78760dc124fa2e1b89e250054de.tar.bz2 upstream-3e25a01a87c4a78760dc124fa2e1b89e250054de.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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5581 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/kernel/modules/netfilter.mk | 20 |
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 |