acrn-kernel/net/ipv4/netfilter
Yasuyuki Kozakai 9fb9cbb108 [NETFILTER]: Add nf_conntrack subsystem.
The existing connection tracking subsystem in netfilter can only
handle ipv4.  There were basically two choices present to add
connection tracking support for ipv6.  We could either duplicate all
of the ipv4 connection tracking code into an ipv6 counterpart, or (the
choice taken by these patches) we could design a generic layer that
could handle both ipv4 and ipv6 and thus requiring only one sub-protocol
(TCP, UDP, etc.) connection tracking helper module to be written.

In fact nf_conntrack is capable of working with any layer 3
protocol.

The existing ipv4 specific conntrack code could also not deal
with the pecularities of doing connection tracking on ipv6,
which is also cured here.  For example, these issues include:

1) ICMPv6 handling, which is used for neighbour discovery in
   ipv6 thus some messages such as these should not participate
   in connection tracking since effectively they are like ARP
   messages

2) fragmentation must be handled differently in ipv6, because
   the simplistic "defrag, connection track and NAT, refrag"
   (which the existing ipv4 connection tracking does) approach simply
   isn't feasible in ipv6

3) ipv6 extension header parsing must occur at the correct spots
   before and after connection tracking decisions, and there were
   no provisions for this in the existing connection tracking
   design

4) ipv6 has no need for stateful NAT

The ipv4 specific conntrack layer is kept around, until all of
the ipv4 specific conntrack helpers are ported over to nf_conntrack
and it is feature complete.  Once that occurs, the old conntrack
stuff will get placed into the feature-removal-schedule and we will
fully kill it off 6 months later.

Signed-off-by: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
2005-11-09 16:38:16 -08:00
..
Kconfig [NETFILTER]: Add nf_conntrack subsystem. 2005-11-09 16:38:16 -08:00
Makefile [NETFILTER]: Add nf_conntrack subsystem. 2005-11-09 16:38:16 -08:00
arp_tables.c [NETFILTER]: Add "revision" support to arp_tables and ip6_tables 2005-10-31 16:36:08 -02:00
arpt_mangle.c
arptable_filter.c
ip_conntrack_amanda.c [NETFILTER] Fix conntrack event cache deadlock/oops 2005-09-22 23:46:57 -07:00
ip_conntrack_core.c [NETFILTER] ip_conntrack: Make "hashsize" conntrack parameter writable 2005-10-26 00:19:27 -02:00
ip_conntrack_ftp.c [NETFILTER]: Use correct type for "ports" module parameter 2005-09-13 13:48:00 -07:00
ip_conntrack_helper_pptp.c [NETFILTER] PPTP helper: Fix compilation of conntrack helper without NAT 2005-11-04 23:02:53 -02:00
ip_conntrack_irc.c [NETFILTER]: Use correct type for "ports" module parameter 2005-09-13 13:48:00 -07:00
ip_conntrack_netbios_ns.c [IPV4]: Replace __in_dev_get with __in_dev_get_rcu/rtnl 2005-10-03 14:35:55 -07:00
ip_conntrack_netlink.c [NETFILTER]: Add nf_conntrack subsystem. 2005-11-09 16:38:16 -08:00
ip_conntrack_proto_generic.c
ip_conntrack_proto_gre.c [NETFILTER] ip_conntrack: Update event cache when status changes 2005-09-24 16:56:08 -07:00
ip_conntrack_proto_icmp.c [NETFILTER] ctnetlink: ICMP_ID is u_int16_t not u_int8_t. 2005-11-09 13:04:32 -08:00
ip_conntrack_proto_sctp.c [NETFILTER] ip_conntrack: Update event cache when status changes 2005-09-24 16:56:08 -07:00
ip_conntrack_proto_tcp.c [NETFILTER] ctnetlink: check if protoinfo is present 2005-11-09 12:59:41 -08:00
ip_conntrack_proto_udp.c
ip_conntrack_standalone.c [NETFILTER] Fix conntrack event cache deadlock/oops 2005-09-22 23:46:57 -07:00
ip_conntrack_tftp.c [NETFILTER]: Use correct type for "ports" module parameter 2005-09-13 13:48:00 -07:00
ip_nat_amanda.c
ip_nat_core.c [NETFILTER] NAT: Fix module refcount dropping too far 2005-11-05 01:23:34 -02:00
ip_nat_ftp.c
ip_nat_helper.c [NETFILTER]: Fix invalid module autoloading by splitting iptable_nat 2005-09-26 15:25:11 -07:00
ip_nat_helper_pptp.c [NETFILTER] PPTP helper: fix PNS-PAC expectation call id 2005-11-09 13:01:53 -08:00
ip_nat_irc.c
ip_nat_proto_gre.c [NETFILTER] PPTP helper: Fix endianness bug in GRE key / CallID NAT 2005-11-04 23:19:17 -02:00
ip_nat_proto_icmp.c
ip_nat_proto_tcp.c
ip_nat_proto_udp.c
ip_nat_proto_unknown.c [NETFILTER] NAT: Fix module refcount dropping too far 2005-11-05 01:23:34 -02:00
ip_nat_rule.c [NETFILTER]: Handle NAT module load race 2005-09-06 15:09:43 -07:00
ip_nat_snmp_basic.c [NET]: kfree cleanup 2005-11-08 09:41:34 -08:00
ip_nat_standalone.c [NETFILTER]: Fix invalid module autoloading by splitting iptable_nat 2005-09-26 15:25:11 -07:00
ip_nat_tftp.c
ip_queue.c [NET]: Fix packet timestamping. 2005-10-03 13:57:23 -07:00
ip_tables.c [NETFILTER]: Fix OOPSes on machines with discontiguous cpu numbering. 2005-10-13 14:41:23 -07:00
ipt_CLASSIFY.c
ipt_CLUSTERIP.c [NETFILTER]: Add nf_conntrack subsystem. 2005-11-09 16:38:16 -08:00
ipt_CONNMARK.c [NETFILTER]: Add nf_conntrack subsystem. 2005-11-09 16:38:16 -08:00
ipt_DSCP.c
ipt_ECN.c
ipt_LOG.c
ipt_MARK.c
ipt_MASQUERADE.c [NETFILTER]: Fix DHCP + MASQUERADE problem 2005-09-13 13:49:15 -07:00
ipt_NETMAP.c
ipt_NFQUEUE.c
ipt_NOTRACK.c [NETFILTER]: Add nf_conntrack subsystem. 2005-11-09 16:38:16 -08:00
ipt_REDIRECT.c [IPV4]: Replace __in_dev_get with __in_dev_get_rcu/rtnl 2005-10-03 14:35:55 -07:00
ipt_REJECT.c [XFRM]: Always release dst_entry on error in xfrm_lookup 2005-09-08 15:11:55 -07:00
ipt_SAME.c
ipt_TCPMSS.c
ipt_TOS.c
ipt_TTL.c
ipt_ULOG.c [NET]: Fix packet timestamping. 2005-10-03 13:57:23 -07:00
ipt_addrtype.c [PATCH] Typo fix: dot after newline in printk strings 2005-10-30 17:37:20 -08:00
ipt_ah.c
ipt_comment.c
ipt_connbytes.c [NETFILTER]: Add nf_conntrack subsystem. 2005-11-09 16:38:16 -08:00
ipt_connmark.c [NETFILTER]: Add nf_conntrack subsystem. 2005-11-09 16:38:16 -08:00
ipt_conntrack.c [NETFILTER]: Add nf_conntrack subsystem. 2005-11-09 16:38:16 -08:00
ipt_dccp.c
ipt_dscp.c
ipt_ecn.c
ipt_esp.c
ipt_hashlimit.c
ipt_helper.c [NETFILTER]: Add nf_conntrack subsystem. 2005-11-09 16:38:16 -08:00
ipt_iprange.c
ipt_length.c
ipt_limit.c
ipt_mac.c
ipt_mark.c
ipt_multiport.c
ipt_owner.c [PATCH] files: lock-free fd look-up 2005-09-09 13:57:55 -07:00
ipt_physdev.c
ipt_pkttype.c
ipt_realm.c
ipt_recent.c
ipt_sctp.c
ipt_state.c [NETFILTER]: Add nf_conntrack subsystem. 2005-11-09 16:38:16 -08:00
ipt_string.c
ipt_tcpmss.c
ipt_tos.c
ipt_ttl.c
iptable_filter.c
iptable_mangle.c
iptable_raw.c
nf_conntrack_l3proto_ipv4.c [NETFILTER]: Add nf_conntrack subsystem. 2005-11-09 16:38:16 -08:00
nf_conntrack_proto_icmp.c [NETFILTER]: Add nf_conntrack subsystem. 2005-11-09 16:38:16 -08:00