mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 22:25:03 +00:00
83e96d443b
The plain text logging is currently embedded into the xt_LOG target. In order to be able to use the plain text logging from nft_log, as a first step, this patch moves the family specific code to the following files and Kconfig symbols: 1) net/ipv4/netfilter/nf_log_ip.c: CONFIG_NF_LOG_IPV4 2) net/ipv6/netfilter/nf_log_ip6.c: CONFIG_NF_LOG_IPV6 3) net/netfilter/nf_log_common.c: CONFIG_NF_LOG_COMMON These new modules will be required by xt_LOG and nft_log. This patch is based on original patch from Arturo Borrero Gonzalez. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
66 lines
2.1 KiB
Makefile
66 lines
2.1 KiB
Makefile
#
|
|
# Makefile for the netfilter modules on top of IPv4.
|
|
#
|
|
|
|
# objects for l3 independent conntrack
|
|
nf_conntrack_ipv4-y := nf_conntrack_l3proto_ipv4.o nf_conntrack_proto_icmp.o
|
|
ifeq ($(CONFIG_NF_CONNTRACK_PROC_COMPAT),y)
|
|
ifeq ($(CONFIG_PROC_FS),y)
|
|
nf_conntrack_ipv4-objs += nf_conntrack_l3proto_ipv4_compat.o
|
|
endif
|
|
endif
|
|
|
|
# connection tracking
|
|
obj-$(CONFIG_NF_CONNTRACK_IPV4) += nf_conntrack_ipv4.o
|
|
|
|
nf_nat_ipv4-y := nf_nat_l3proto_ipv4.o nf_nat_proto_icmp.o
|
|
obj-$(CONFIG_NF_NAT_IPV4) += nf_nat_ipv4.o
|
|
|
|
# defrag
|
|
obj-$(CONFIG_NF_DEFRAG_IPV4) += nf_defrag_ipv4.o
|
|
|
|
# logging
|
|
obj-$(CONFIG_NF_LOG_IPV4) += nf_log_ipv4.o
|
|
|
|
# NAT helpers (nf_conntrack)
|
|
obj-$(CONFIG_NF_NAT_H323) += nf_nat_h323.o
|
|
obj-$(CONFIG_NF_NAT_PPTP) += nf_nat_pptp.o
|
|
obj-$(CONFIG_NF_NAT_SNMP_BASIC) += nf_nat_snmp_basic.o
|
|
|
|
# NAT protocols (nf_nat)
|
|
obj-$(CONFIG_NF_NAT_PROTO_GRE) += nf_nat_proto_gre.o
|
|
|
|
obj-$(CONFIG_NF_TABLES_IPV4) += nf_tables_ipv4.o
|
|
obj-$(CONFIG_NFT_CHAIN_ROUTE_IPV4) += nft_chain_route_ipv4.o
|
|
obj-$(CONFIG_NFT_CHAIN_NAT_IPV4) += nft_chain_nat_ipv4.o
|
|
obj-$(CONFIG_NFT_REJECT_IPV4) += nft_reject_ipv4.o
|
|
obj-$(CONFIG_NF_TABLES_ARP) += nf_tables_arp.o
|
|
|
|
# generic IP tables
|
|
obj-$(CONFIG_IP_NF_IPTABLES) += ip_tables.o
|
|
|
|
# the three instances of ip_tables
|
|
obj-$(CONFIG_IP_NF_FILTER) += iptable_filter.o
|
|
obj-$(CONFIG_IP_NF_MANGLE) += iptable_mangle.o
|
|
obj-$(CONFIG_NF_NAT_IPV4) += iptable_nat.o
|
|
obj-$(CONFIG_IP_NF_RAW) += iptable_raw.o
|
|
obj-$(CONFIG_IP_NF_SECURITY) += iptable_security.o
|
|
|
|
# matches
|
|
obj-$(CONFIG_IP_NF_MATCH_AH) += ipt_ah.o
|
|
obj-$(CONFIG_IP_NF_MATCH_RPFILTER) += ipt_rpfilter.o
|
|
|
|
# targets
|
|
obj-$(CONFIG_IP_NF_TARGET_CLUSTERIP) += ipt_CLUSTERIP.o
|
|
obj-$(CONFIG_IP_NF_TARGET_ECN) += ipt_ECN.o
|
|
obj-$(CONFIG_IP_NF_TARGET_MASQUERADE) += ipt_MASQUERADE.o
|
|
obj-$(CONFIG_IP_NF_TARGET_REJECT) += ipt_REJECT.o
|
|
obj-$(CONFIG_IP_NF_TARGET_SYNPROXY) += ipt_SYNPROXY.o
|
|
obj-$(CONFIG_IP_NF_TARGET_ULOG) += ipt_ULOG.o
|
|
|
|
# generic ARP tables
|
|
obj-$(CONFIG_IP_NF_ARPTABLES) += arp_tables.o
|
|
obj-$(CONFIG_IP_NF_ARP_MANGLE) += arpt_mangle.o
|
|
|
|
# just filtering instance of ARP tables for now
|
|
obj-$(CONFIG_IP_NF_ARPFILTER) += arptable_filter.o
|