summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-04-13 11:28:45 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-04-13 11:28:45 +0000
commitcd65230eea504014469af5ea65c0859c936e1f34 (patch)
tree47bd0a92e2bd0779f22fc13b909fe6204c5b64c7
parentbeef95b724abbb9c30f5430528f5aab947396541 (diff)
downloadmtk-20170518-cd65230eea504014469af5ea65c0859c936e1f34.zip
mtk-20170518-cd65230eea504014469af5ea65c0859c936e1f34.tar.gz
mtk-20170518-cd65230eea504014469af5ea65c0859c936e1f34.tar.bz2
Add raw and NOTRACK targets (#1583)
SVN-Revision: 6945
-rw-r--r--include/netfilter.mk2
-rw-r--r--package/iptables/Makefile3
-rw-r--r--package/kernel/modules/netfilter.mk4
-rw-r--r--target/linux/at91-2.6/config/default1
-rw-r--r--target/linux/brcm47xx-2.6/config/default2
-rw-r--r--target/linux/iop32x-2.6/config/default2
-rw-r--r--target/linux/ixp4xx-2.6/config/default2
-rw-r--r--target/linux/pxa-2.6/config/default1
-rw-r--r--target/linux/sibyte-2.6/config/default2
9 files changed, 7 insertions, 12 deletions
diff --git a/include/netfilter.mk b/include/netfilter.mk
index 58a81ee..c3ef690 100644
--- a/include/netfilter.mk
+++ b/include/netfilter.mk
@@ -45,6 +45,8 @@ IPT_EXTRA-$(CONFIG_NETFILTER_XT_MATCH_STRING) += $(P_XT)xt_string
IPT_EXTRA-$(CONFIG_NETFILTER_XT_TARGET_CHAOS) += $(P_XT)xt_CHAOS
IPT_EXTRA-$(CONFIG_NETFILTER_XT_TARGET_DELUDE) += $(P_XT)xt_DELUDE
IPT_EXTRA-$(CONFIG_NETFILTER_XT_MATCH_PORTSCAN) += $(P_XT)xt_portscan
+IPT_EXTRA-$(CONFIG_IP_NF_RAW) += $(P_V4)iptable_raw
+IPT_EXTRA-$(CONFIG_NETFILTER_XT_TARGET_NOTRACK) += $(P_XT)xt_NOTRACK
IPT_FILTER-m :=
IPT_FILTER-$(CONFIG_IP_NF_MATCH_IPP2P) += $(P_V4)ipt_ipp2p
diff --git a/package/iptables/Makefile b/package/iptables/Makefile
index 5c65e68..1bd13a5 100644
--- a/package/iptables/Makefile
+++ b/package/iptables/Makefile
@@ -145,7 +145,8 @@ define Package/iptables-mod-extra
- libipt_owner \\\
- libipt_physdev \\\
- libipt_pkttype \\\
- - libipt_recent
+ - libipt_recent \\\
+ - libipt_NOTRACK
endef
define Package/iptables-utils
diff --git a/package/kernel/modules/netfilter.mk b/package/kernel/modules/netfilter.mk
index be05dc0..d1653b9 100644
--- a/package/kernel/modules/netfilter.mk
+++ b/package/kernel/modules/netfilter.mk
@@ -170,7 +170,9 @@ define KernelPackage/ipt-extra
- ipt_owner \\\
- ipt_physdev \\\
- ipt_pkttype \\\
- - ipt_recent
+ - ipt_recent \\\
+ - iptable_raw \\\
+ - xt_NOTRACK
FILES:=$(foreach mod,$(IPT_EXTRA-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
SUBMENU:=$(NFMENU)
AUTOLOAD:=$(call AutoLoad,40,$(notdir $(IPT_EXTRA-m)))
diff --git a/target/linux/at91-2.6/config/default b/target/linux/at91-2.6/config/default
index 27b3fb3..4caee46 100644
--- a/target/linux/at91-2.6/config/default
+++ b/target/linux/at91-2.6/config/default
@@ -211,7 +211,6 @@ CONFIG_MTD_PARTITIONS=y
# CONFIG_NETFILTER_XT_MATCH_REALM is not set
# CONFIG_NETFILTER_XT_MATCH_SCTP is not set
# CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set
-# CONFIG_NETFILTER_XT_TARGET_NOTRACK is not set
# CONFIG_NET_CLS_ACT is not set
# CONFIG_NET_CLS_IND is not set
# CONFIG_NET_EMATCH is not set
diff --git a/target/linux/brcm47xx-2.6/config/default b/target/linux/brcm47xx-2.6/config/default
index bd8830e..40788b2 100644
--- a/target/linux/brcm47xx-2.6/config/default
+++ b/target/linux/brcm47xx-2.6/config/default
@@ -101,7 +101,6 @@ CONFIG_INPUT=m
# CONFIG_IP6_NF_MATCH_IPV6HEADER is not set
# CONFIG_IP6_NF_MATCH_OPTS is not set
# CONFIG_IP6_NF_MATCH_RT is not set
-# CONFIG_IP6_NF_RAW is not set
# CONFIG_IP6_NF_TARGET_HL is not set
CONFIG_IPW2200_QOS=y
# CONFIG_IP_DCCP is not set
@@ -208,7 +207,6 @@ CONFIG_MTD_PARTITIONS=y
# CONFIG_NETFILTER_XT_MATCH_REALM is not set
# CONFIG_NETFILTER_XT_MATCH_SCTP is not set
# CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set
-# CONFIG_NETFILTER_XT_TARGET_NOTRACK is not set
# CONFIG_NET_CLS_ACT is not set
# CONFIG_NET_CLS_IND is not set
# CONFIG_NET_EMATCH is not set
diff --git a/target/linux/iop32x-2.6/config/default b/target/linux/iop32x-2.6/config/default
index e912fce..e300111 100644
--- a/target/linux/iop32x-2.6/config/default
+++ b/target/linux/iop32x-2.6/config/default
@@ -163,7 +163,6 @@ CONFIG_INITRAMFS_SOURCE=""
# CONFIG_IP6_NF_MATCH_OPTS is not set
# CONFIG_IP6_NF_MATCH_OWNER is not set
# CONFIG_IP6_NF_MATCH_RT is not set
-# CONFIG_IP6_NF_RAW is not set
# CONFIG_IP6_NF_TARGET_LOG is not set
# CONFIG_IPV6_ROUTER_PREF is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
@@ -178,7 +177,6 @@ CONFIG_IP_MROUTE=y
# CONFIG_IP_NF_MATCH_RECENT is not set
# CONFIG_IP_NF_MATCH_TIME is not set
# CONFIG_IP_NF_PPTP is not set
-# CONFIG_IP_NF_RAW is not set
# CONFIG_IP_NF_SET is not set
# CONFIG_IP_NF_TARGET_ECN is not set
# CONFIG_IP_NF_TARGET_LOG is not set
diff --git a/target/linux/ixp4xx-2.6/config/default b/target/linux/ixp4xx-2.6/config/default
index d8f83d8..3d5ebcf 100644
--- a/target/linux/ixp4xx-2.6/config/default
+++ b/target/linux/ixp4xx-2.6/config/default
@@ -170,7 +170,6 @@ CONFIG_INITRAMFS_SOURCE=""
# CONFIG_IP6_NF_MATCH_OPTS is not set
# CONFIG_IP6_NF_MATCH_OWNER is not set
# CONFIG_IP6_NF_MATCH_RT is not set
-# CONFIG_IP6_NF_RAW is not set
# CONFIG_IP6_NF_TARGET_LOG is not set
# CONFIG_IPV6_ROUTER_PREF is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
@@ -185,7 +184,6 @@ CONFIG_IP_MROUTE=y
# CONFIG_IP_NF_MATCH_RECENT is not set
# CONFIG_IP_NF_MATCH_TIME is not set
# CONFIG_IP_NF_PPTP is not set
-# CONFIG_IP_NF_RAW is not set
# CONFIG_IP_NF_SET is not set
# CONFIG_IP_NF_TARGET_ECN is not set
# CONFIG_IP_NF_TARGET_LOG is not set
diff --git a/target/linux/pxa-2.6/config/default b/target/linux/pxa-2.6/config/default
index 6e87a2c..8dee385 100644
--- a/target/linux/pxa-2.6/config/default
+++ b/target/linux/pxa-2.6/config/default
@@ -275,7 +275,6 @@ CONFIG_MTD_PARTITIONS=y
# CONFIG_NETFILTER_XT_MATCH_REALM is not set
# CONFIG_NETFILTER_XT_MATCH_SCTP is not set
# CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set
-# CONFIG_NETFILTER_XT_TARGET_NOTRACK is not set
# CONFIG_NET_CLS_ACT is not set
# CONFIG_NET_CLS_IND is not set
CONFIG_NET_DIVERT=y
diff --git a/target/linux/sibyte-2.6/config/default b/target/linux/sibyte-2.6/config/default
index c9b9948..8bede0e 100644
--- a/target/linux/sibyte-2.6/config/default
+++ b/target/linux/sibyte-2.6/config/default
@@ -108,7 +108,6 @@ CONFIG_IP6_NF_MATCH_MULTIPORT=m
# CONFIG_IP6_NF_MATCH_OPTS is not set
# CONFIG_IP6_NF_MATCH_POLICY is not set
# CONFIG_IP6_NF_MATCH_RT is not set
-# CONFIG_IP6_NF_RAW is not set
# CONFIG_IP6_NF_TARGET_HL is not set
# CONFIG_IP6_NF_TARGET_LOG is not set
# CONFIG_IPW2100 is not set
@@ -122,7 +121,6 @@ CONFIG_IP_NF_MATCH_DSCP=m
# CONFIG_IP_NF_MATCH_HASHLIMIT is not set
CONFIG_IP_NF_MATCH_MULTIPORT=m
# CONFIG_IP_NF_MATCH_POLICY is not set
-# CONFIG_IP_NF_RAW is not set
CONFIG_IP_NF_TARGET_DSCP=m
# CONFIG_IP_NF_TARGET_LOG is not set
# CONFIG_IP_NF_TARGET_NETMAP is not set