Add raw and NOTRACK targets (#1583)

SVN-Revision: 6945
This commit is contained in:
Florian Fainelli 2007-04-13 11:28:45 +00:00
parent beef95b724
commit cd65230eea
9 changed files with 7 additions and 12 deletions

View file

@ -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_CHAOS) += $(P_XT)xt_CHAOS
IPT_EXTRA-$(CONFIG_NETFILTER_XT_TARGET_DELUDE) += $(P_XT)xt_DELUDE 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_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-m :=
IPT_FILTER-$(CONFIG_IP_NF_MATCH_IPP2P) += $(P_V4)ipt_ipp2p IPT_FILTER-$(CONFIG_IP_NF_MATCH_IPP2P) += $(P_V4)ipt_ipp2p

View file

@ -145,7 +145,8 @@ define Package/iptables-mod-extra
- libipt_owner \\\ - libipt_owner \\\
- libipt_physdev \\\ - libipt_physdev \\\
- libipt_pkttype \\\ - libipt_pkttype \\\
- libipt_recent - libipt_recent \\\
- libipt_NOTRACK
endef endef
define Package/iptables-utils define Package/iptables-utils

View file

@ -170,7 +170,9 @@ define KernelPackage/ipt-extra
- ipt_owner \\\ - ipt_owner \\\
- ipt_physdev \\\ - ipt_physdev \\\
- ipt_pkttype \\\ - ipt_pkttype \\\
- ipt_recent - ipt_recent \\\
- iptable_raw \\\
- xt_NOTRACK
FILES:=$(foreach mod,$(IPT_EXTRA-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX)) FILES:=$(foreach mod,$(IPT_EXTRA-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
SUBMENU:=$(NFMENU) SUBMENU:=$(NFMENU)
AUTOLOAD:=$(call AutoLoad,40,$(notdir $(IPT_EXTRA-m))) AUTOLOAD:=$(call AutoLoad,40,$(notdir $(IPT_EXTRA-m)))

View file

@ -211,7 +211,6 @@ CONFIG_MTD_PARTITIONS=y
# CONFIG_NETFILTER_XT_MATCH_REALM is not set # CONFIG_NETFILTER_XT_MATCH_REALM is not set
# CONFIG_NETFILTER_XT_MATCH_SCTP is not set # CONFIG_NETFILTER_XT_MATCH_SCTP is not set
# CONFIG_NETFILTER_XT_TARGET_NFQUEUE 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_ACT is not set
# CONFIG_NET_CLS_IND is not set # CONFIG_NET_CLS_IND is not set
# CONFIG_NET_EMATCH is not set # CONFIG_NET_EMATCH is not set

View file

@ -101,7 +101,6 @@ CONFIG_INPUT=m
# CONFIG_IP6_NF_MATCH_IPV6HEADER is not set # CONFIG_IP6_NF_MATCH_IPV6HEADER is not set
# CONFIG_IP6_NF_MATCH_OPTS is not set # CONFIG_IP6_NF_MATCH_OPTS is not set
# CONFIG_IP6_NF_MATCH_RT 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_HL is not set
CONFIG_IPW2200_QOS=y CONFIG_IPW2200_QOS=y
# CONFIG_IP_DCCP is not set # 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_REALM is not set
# CONFIG_NETFILTER_XT_MATCH_SCTP is not set # CONFIG_NETFILTER_XT_MATCH_SCTP is not set
# CONFIG_NETFILTER_XT_TARGET_NFQUEUE 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_ACT is not set
# CONFIG_NET_CLS_IND is not set # CONFIG_NET_CLS_IND is not set
# CONFIG_NET_EMATCH is not set # CONFIG_NET_EMATCH is not set

View file

@ -163,7 +163,6 @@ CONFIG_INITRAMFS_SOURCE=""
# CONFIG_IP6_NF_MATCH_OPTS is not set # CONFIG_IP6_NF_MATCH_OPTS is not set
# CONFIG_IP6_NF_MATCH_OWNER is not set # CONFIG_IP6_NF_MATCH_OWNER is not set
# CONFIG_IP6_NF_MATCH_RT 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_IP6_NF_TARGET_LOG is not set
# CONFIG_IPV6_ROUTER_PREF is not set # CONFIG_IPV6_ROUTER_PREF is not set
# CONFIG_IP_ADVANCED_ROUTER 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_RECENT is not set
# CONFIG_IP_NF_MATCH_TIME is not set # CONFIG_IP_NF_MATCH_TIME is not set
# CONFIG_IP_NF_PPTP 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_SET is not set
# CONFIG_IP_NF_TARGET_ECN is not set # CONFIG_IP_NF_TARGET_ECN is not set
# CONFIG_IP_NF_TARGET_LOG is not set # CONFIG_IP_NF_TARGET_LOG is not set

View file

@ -170,7 +170,6 @@ CONFIG_INITRAMFS_SOURCE=""
# CONFIG_IP6_NF_MATCH_OPTS is not set # CONFIG_IP6_NF_MATCH_OPTS is not set
# CONFIG_IP6_NF_MATCH_OWNER is not set # CONFIG_IP6_NF_MATCH_OWNER is not set
# CONFIG_IP6_NF_MATCH_RT 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_IP6_NF_TARGET_LOG is not set
# CONFIG_IPV6_ROUTER_PREF is not set # CONFIG_IPV6_ROUTER_PREF is not set
# CONFIG_IP_ADVANCED_ROUTER 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_RECENT is not set
# CONFIG_IP_NF_MATCH_TIME is not set # CONFIG_IP_NF_MATCH_TIME is not set
# CONFIG_IP_NF_PPTP 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_SET is not set
# CONFIG_IP_NF_TARGET_ECN is not set # CONFIG_IP_NF_TARGET_ECN is not set
# CONFIG_IP_NF_TARGET_LOG is not set # CONFIG_IP_NF_TARGET_LOG is not set

View file

@ -275,7 +275,6 @@ CONFIG_MTD_PARTITIONS=y
# CONFIG_NETFILTER_XT_MATCH_REALM is not set # CONFIG_NETFILTER_XT_MATCH_REALM is not set
# CONFIG_NETFILTER_XT_MATCH_SCTP is not set # CONFIG_NETFILTER_XT_MATCH_SCTP is not set
# CONFIG_NETFILTER_XT_TARGET_NFQUEUE 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_ACT is not set
# CONFIG_NET_CLS_IND is not set # CONFIG_NET_CLS_IND is not set
CONFIG_NET_DIVERT=y CONFIG_NET_DIVERT=y

View file

@ -108,7 +108,6 @@ CONFIG_IP6_NF_MATCH_MULTIPORT=m
# CONFIG_IP6_NF_MATCH_OPTS is not set # CONFIG_IP6_NF_MATCH_OPTS is not set
# CONFIG_IP6_NF_MATCH_POLICY is not set # CONFIG_IP6_NF_MATCH_POLICY is not set
# CONFIG_IP6_NF_MATCH_RT 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_HL is not set
# CONFIG_IP6_NF_TARGET_LOG is not set # CONFIG_IP6_NF_TARGET_LOG is not set
# CONFIG_IPW2100 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_HASHLIMIT is not set
CONFIG_IP_NF_MATCH_MULTIPORT=m CONFIG_IP_NF_MATCH_MULTIPORT=m
# CONFIG_IP_NF_MATCH_POLICY is not set # 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_DSCP=m
# CONFIG_IP_NF_TARGET_LOG is not set # CONFIG_IP_NF_TARGET_LOG is not set
# CONFIG_IP_NF_TARGET_NETMAP is not set # CONFIG_IP_NF_TARGET_NETMAP is not set