188bab3ae0
When you've enabled conntrack and NAT as a module (standard case in all distributions), and you've also enabled the new conntrack netlink interface, loading ip_conntrack_netlink.ko will auto-load iptable_nat.ko. This causes a huge performance penalty, since for every packet you iterate the nat code, even if you don't want it. This patch splits iptable_nat.ko into the NAT core (ip_nat.ko) and the iptables frontend (iptable_nat.ko). Threfore, ip_conntrack_netlink.ko will only pull ip_nat.ko, but not the frontend. ip_nat.ko will "only" allocate some resources, but not affect runtime performance. This separation is also a nice step in anticipation of new packet filters (nf-hipac, ipset, pkttables) being able to use the NAT core. Signed-off-by: Harald Welte <laforge@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
arp_tables.c | ||
arpt_mangle.c | ||
arptable_filter.c | ||
ip_conntrack_amanda.c | ||
ip_conntrack_core.c | ||
ip_conntrack_ftp.c | ||
ip_conntrack_helper_pptp.c | ||
ip_conntrack_irc.c | ||
ip_conntrack_netbios_ns.c | ||
ip_conntrack_netlink.c | ||
ip_conntrack_proto_generic.c | ||
ip_conntrack_proto_gre.c | ||
ip_conntrack_proto_icmp.c | ||
ip_conntrack_proto_sctp.c | ||
ip_conntrack_proto_tcp.c | ||
ip_conntrack_proto_udp.c | ||
ip_conntrack_standalone.c | ||
ip_conntrack_tftp.c | ||
ip_nat_amanda.c | ||
ip_nat_core.c | ||
ip_nat_ftp.c | ||
ip_nat_helper_pptp.c | ||
ip_nat_helper.c | ||
ip_nat_irc.c | ||
ip_nat_proto_gre.c | ||
ip_nat_proto_icmp.c | ||
ip_nat_proto_tcp.c | ||
ip_nat_proto_udp.c | ||
ip_nat_proto_unknown.c | ||
ip_nat_rule.c | ||
ip_nat_snmp_basic.c | ||
ip_nat_standalone.c | ||
ip_nat_tftp.c | ||
ip_queue.c | ||
ip_tables.c | ||
ipt_addrtype.c | ||
ipt_ah.c | ||
ipt_CLASSIFY.c | ||
ipt_CLUSTERIP.c | ||
ipt_comment.c | ||
ipt_connbytes.c | ||
ipt_connmark.c | ||
ipt_CONNMARK.c | ||
ipt_conntrack.c | ||
ipt_dccp.c | ||
ipt_dscp.c | ||
ipt_DSCP.c | ||
ipt_ecn.c | ||
ipt_ECN.c | ||
ipt_esp.c | ||
ipt_hashlimit.c | ||
ipt_helper.c | ||
ipt_iprange.c | ||
ipt_length.c | ||
ipt_limit.c | ||
ipt_LOG.c | ||
ipt_mac.c | ||
ipt_mark.c | ||
ipt_MARK.c | ||
ipt_MASQUERADE.c | ||
ipt_multiport.c | ||
ipt_NETMAP.c | ||
ipt_NFQUEUE.c | ||
ipt_NOTRACK.c | ||
ipt_owner.c | ||
ipt_physdev.c | ||
ipt_pkttype.c | ||
ipt_realm.c | ||
ipt_recent.c | ||
ipt_REDIRECT.c | ||
ipt_REJECT.c | ||
ipt_SAME.c | ||
ipt_sctp.c | ||
ipt_state.c | ||
ipt_string.c | ||
ipt_tcpmss.c | ||
ipt_TCPMSS.c | ||
ipt_tos.c | ||
ipt_TOS.c | ||
ipt_ttl.c | ||
ipt_TTL.c | ||
ipt_ULOG.c | ||
iptable_filter.c | ||
iptable_mangle.c | ||
iptable_raw.c | ||
Kconfig | ||
Makefile |