[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 03058) Re: IPv4, IPv6 netfilter consolidation (?)
- To: usagi-users@xxxxxxxxxxxxxx, michal@xxxxxxxxxx
- Subject: (usagi-users 03058) Re: IPv4, IPv6 netfilter consolidation (?)
- From: Yasuyuki Kozakai <yasuyuki.kozakai@xxxxxxxxxxxxx>
- Date: Mon, 04 Oct 2004 09:31:10 +0900 (JST)
- In-reply-to: <200410022050.36420.michal@rokos.info>
- References: <200410022050.36420.michal@rokos.info>
- Reply-to: usagi-users@xxxxxxxxxxxxxx
Hi,
From: Michal Rokos <michal@xxxxxxxxxx>
Date: Sat, 2 Oct 2004 20:50:36 +0200
> YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx> wrote:
>
> > Well, yes, we already have similar unification,
> > which is called nf_conntrack.
> > You can see it in our cvs branch named bCONNTRACK-YYYYMMDD.
>
> Well I have in my mind something bigger than this.
>
> Current code looks like:
> cp include/linux/netfilter_ipv4/ip_conntrack.h
> include/linux/netfilter_ipv6/ip6_conntrack.h
> vim include/linux/netfilter_ipv6/ip6_conntrack.h
> ... edit header ...
> :%s/ip_/ip6_/g
> :wq
> # DONE
The files for nf_conntrack are nf_conntrack_*.[h,c].
bCONNTRACK-YYYYMMDD branch(yes, the latest is 20040816) still includes
ip_conntrack, ip6_conntrack. nf_conntrack can track both IPv4 and IPv6
connection state, but I didn't remove ip_conntrack and ip6_conntrack
for compatibility reason and nf_conntrack doesn't include IPv4 NAT facility.
Regards,
-----------------------------------------------------------------
Yasuyuki KOZAKAI @ USAGI Project <yasuyuki.kozakai@xxxxxxxxxxxxx>