Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the netfilter modules on top of IPv4. |
| 3 | # |
| 4 | |
| 5 | # objects for the standalone - connection tracking / NAT |
| 6 | ip_conntrack-objs := ip_conntrack_standalone.o ip_conntrack_core.o ip_conntrack_proto_generic.o ip_conntrack_proto_tcp.o ip_conntrack_proto_udp.o ip_conntrack_proto_icmp.o |
Harald Welte | 188bab3 | 2005-09-26 15:25:11 -0700 | [diff] [blame] | 7 | ip_nat-objs := ip_nat_core.o ip_nat_helper.o ip_nat_proto_unknown.o ip_nat_proto_tcp.o ip_nat_proto_udp.o ip_nat_proto_icmp.o |
| 8 | iptable_nat-objs := ip_nat_rule.o ip_nat_standalone.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | |
Harald Welte | 926b50f | 2005-09-19 15:33:08 -0700 | [diff] [blame] | 10 | ip_conntrack_pptp-objs := ip_conntrack_helper_pptp.o ip_conntrack_proto_gre.o |
| 11 | ip_nat_pptp-objs := ip_nat_helper_pptp.o ip_nat_proto_gre.o |
| 12 | |
Jing Min Zhao | 5e35941d | 2006-03-20 23:41:17 -0800 | [diff] [blame] | 13 | ip_conntrack_h323-objs := ip_conntrack_helper_h323.o ip_conntrack_helper_h323_asn1.o |
| 14 | ip_nat_h323-objs := ip_nat_helper_h323.o |
| 15 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | # connection tracking |
| 17 | obj-$(CONFIG_IP_NF_CONNTRACK) += ip_conntrack.o |
Patrick McHardy | 0476f17 | 2005-12-19 13:53:09 -0800 | [diff] [blame] | 18 | obj-$(CONFIG_IP_NF_NAT) += ip_nat.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | |
Harald Welte | 080774a | 2005-08-09 19:32:58 -0700 | [diff] [blame] | 20 | # conntrack netlink interface |
| 21 | obj-$(CONFIG_IP_NF_CONNTRACK_NETLINK) += ip_conntrack_netlink.o |
| 22 | |
| 23 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | # SCTP protocol connection tracking |
| 25 | obj-$(CONFIG_IP_NF_CT_PROTO_SCTP) += ip_conntrack_proto_sctp.o |
| 26 | |
| 27 | # connection tracking helpers |
Jing Min Zhao | 5e35941d | 2006-03-20 23:41:17 -0800 | [diff] [blame] | 28 | obj-$(CONFIG_IP_NF_H323) += ip_conntrack_h323.o |
Harald Welte | 926b50f | 2005-09-19 15:33:08 -0700 | [diff] [blame] | 29 | obj-$(CONFIG_IP_NF_PPTP) += ip_conntrack_pptp.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 30 | obj-$(CONFIG_IP_NF_AMANDA) += ip_conntrack_amanda.o |
| 31 | obj-$(CONFIG_IP_NF_TFTP) += ip_conntrack_tftp.o |
| 32 | obj-$(CONFIG_IP_NF_FTP) += ip_conntrack_ftp.o |
| 33 | obj-$(CONFIG_IP_NF_IRC) += ip_conntrack_irc.o |
Patrick McHardy | a2978ae | 2005-09-06 15:08:51 -0700 | [diff] [blame] | 34 | obj-$(CONFIG_IP_NF_NETBIOS_NS) += ip_conntrack_netbios_ns.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 35 | |
| 36 | # NAT helpers |
Jing Min Zhao | 5e35941d | 2006-03-20 23:41:17 -0800 | [diff] [blame] | 37 | obj-$(CONFIG_IP_NF_NAT_H323) += ip_nat_h323.o |
Harald Welte | 926b50f | 2005-09-19 15:33:08 -0700 | [diff] [blame] | 38 | obj-$(CONFIG_IP_NF_NAT_PPTP) += ip_nat_pptp.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 39 | obj-$(CONFIG_IP_NF_NAT_AMANDA) += ip_nat_amanda.o |
| 40 | obj-$(CONFIG_IP_NF_NAT_TFTP) += ip_nat_tftp.o |
| 41 | obj-$(CONFIG_IP_NF_NAT_FTP) += ip_nat_ftp.o |
| 42 | obj-$(CONFIG_IP_NF_NAT_IRC) += ip_nat_irc.o |
| 43 | |
| 44 | # generic IP tables |
| 45 | obj-$(CONFIG_IP_NF_IPTABLES) += ip_tables.o |
| 46 | |
| 47 | # the three instances of ip_tables |
| 48 | obj-$(CONFIG_IP_NF_FILTER) += iptable_filter.o |
| 49 | obj-$(CONFIG_IP_NF_MANGLE) += iptable_mangle.o |
Patrick McHardy | 0476f17 | 2005-12-19 13:53:09 -0800 | [diff] [blame] | 50 | obj-$(CONFIG_IP_NF_NAT) += iptable_nat.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 51 | obj-$(CONFIG_IP_NF_RAW) += iptable_raw.o |
| 52 | |
| 53 | # matches |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 54 | obj-$(CONFIG_IP_NF_MATCH_HASHLIMIT) += ipt_hashlimit.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 55 | obj-$(CONFIG_IP_NF_MATCH_IPRANGE) += ipt_iprange.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 56 | obj-$(CONFIG_IP_NF_MATCH_OWNER) += ipt_owner.o |
| 57 | obj-$(CONFIG_IP_NF_MATCH_TOS) += ipt_tos.o |
| 58 | obj-$(CONFIG_IP_NF_MATCH_RECENT) += ipt_recent.o |
| 59 | obj-$(CONFIG_IP_NF_MATCH_ECN) += ipt_ecn.o |
| 60 | obj-$(CONFIG_IP_NF_MATCH_DSCP) += ipt_dscp.o |
Yasuyuki Kozakai | dc5ab2f | 2006-04-01 02:22:30 -0800 | [diff] [blame] | 61 | obj-$(CONFIG_IP_NF_MATCH_AH) += ipt_ah.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 62 | obj-$(CONFIG_IP_NF_MATCH_TTL) += ipt_ttl.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 63 | obj-$(CONFIG_IP_NF_MATCH_ADDRTYPE) += ipt_addrtype.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 64 | |
| 65 | # targets |
| 66 | obj-$(CONFIG_IP_NF_TARGET_REJECT) += ipt_REJECT.o |
| 67 | obj-$(CONFIG_IP_NF_TARGET_TOS) += ipt_TOS.o |
| 68 | obj-$(CONFIG_IP_NF_TARGET_ECN) += ipt_ECN.o |
| 69 | obj-$(CONFIG_IP_NF_TARGET_DSCP) += ipt_DSCP.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 70 | obj-$(CONFIG_IP_NF_TARGET_MASQUERADE) += ipt_MASQUERADE.o |
| 71 | obj-$(CONFIG_IP_NF_TARGET_REDIRECT) += ipt_REDIRECT.o |
| 72 | obj-$(CONFIG_IP_NF_TARGET_NETMAP) += ipt_NETMAP.o |
| 73 | obj-$(CONFIG_IP_NF_TARGET_SAME) += ipt_SAME.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 74 | obj-$(CONFIG_IP_NF_NAT_SNMP_BASIC) += ip_nat_snmp_basic.o |
| 75 | obj-$(CONFIG_IP_NF_TARGET_LOG) += ipt_LOG.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 76 | obj-$(CONFIG_IP_NF_TARGET_ULOG) += ipt_ULOG.o |
| 77 | obj-$(CONFIG_IP_NF_TARGET_TCPMSS) += ipt_TCPMSS.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 78 | obj-$(CONFIG_IP_NF_TARGET_CLUSTERIP) += ipt_CLUSTERIP.o |
Harald Welte | 5f2c3b9 | 2005-08-27 22:37:03 -0700 | [diff] [blame] | 79 | obj-$(CONFIG_IP_NF_TARGET_TTL) += ipt_TTL.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 80 | |
| 81 | # generic ARP tables |
| 82 | obj-$(CONFIG_IP_NF_ARPTABLES) += arp_tables.o |
| 83 | obj-$(CONFIG_IP_NF_ARP_MANGLE) += arpt_mangle.o |
| 84 | |
| 85 | # just filtering instance of ARP tables for now |
| 86 | obj-$(CONFIG_IP_NF_ARPFILTER) += arptable_filter.o |
| 87 | |
| 88 | obj-$(CONFIG_IP_NF_QUEUE) += ip_queue.o |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 89 | |
| 90 | # objects for l3 independent conntrack |
| 91 | nf_conntrack_ipv4-objs := nf_conntrack_l3proto_ipv4.o nf_conntrack_proto_icmp.o |
| 92 | |
| 93 | # l3 independent conntrack |
| 94 | obj-$(CONFIG_NF_CONNTRACK_IPV4) += nf_conntrack_ipv4.o |