mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user