1 Jul 2004 08:17
[PATCH]: the latest nf_conntrack
Yasuyuki Kozakai <yasuyuki.kozakai <at> toshiba.co.jp>
2004-07-01 06:17:43 GMT
2004-07-01 06:17:43 GMT
Hi, all, This is pom-ng style patch which enables layer 3 independent connection tracking (nf_conntrack). In nf_conntrack, core module is generalized so that other layer 3 protocols are easily implemented. In now, IPv4, IPv6, TCP, UDP, ICMP, ICMPv6 and FTP can be tracked. In this version, nf_conntrack can handle fragmented IPv6 packets as follows. - Fragmented IPv6 packets(fragments) belong to connection which tuple is represented by IPv6 addresses, ID in Fragmented Header, and so on. - nf_conntrack_proto_frag6.c queues fragments, and reassembles clone of them when all fragments are gathered. - The reassembled packet is tracked by nf_conntrack. In the result, the reassembled packet is binded with the true layer 4 protocol connection. fragments -> frag conntrack -> reassembled packet -> tcp conntrack - nf_conntrack_l3proto_ipv6.c passes the original fragments to the next network processing. This avoid sending "packet too big" ICMPv6 error due to try to forward reassembled big packets. - In the result, other modules (e.g. ip6tables.ko) can refer the reassembled packet from fragments.(Continue reading)
RSS Feed