[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 02590) Re: latest 2.4.23-pre9 + usagi (ip6_conntrack)



Hi, Laurent,

From: laurent.ml@xxxxxxxxxxx
Subject: (usagi-users 02587) latest 2.4.23-pre9 + usagi (ip6_conntrack)
Date: Thu, 30 Oct 2003 15:49:52 +0100

> I'd like to test the latest 2.4.23-pre9 kernel and usagi (especially
> ip6_conntrack).
> What solution do I have ? (usagi-linux24-s20031027-2.4.22.diff does
> not apply on 2.4.23-pre9)
> I thought ip6_conntrack would go in netfilter pom, it didn't not.
> Any solution ?

We will not support ip6_conntrack in Linux 2.4 to concentrate developments
for 2.6.

But ip6_conntrack is highly independent, so I think it isn't difficult
to port it to Linux 2.4. Please try below. 
But please don't ask me about how to build ip6_conntrack in 2.4 any more.

	1. copy the below files that is needed for ip6_conntrack
		include/linux/netfilter_ipv6/ip6_conntrack.h
		                             ip6_conntrack_core.h
		                             ip6_conntrack_ftp.h
		                             ip6_conntrack_helper.h       
		                             ip6_conntrack_icmpv6.h       
		                             ip6_conntrack_protocol.h     
		                             ip6_conntrack_reasm.h        
		                             ip6_conntrack_tcp.h  
		                             ip6_conntrack_tuple.h        
		                             ip6t_state.h 
		                             netfilter_ipv6.h    
		net/ipv6/netfilter/ip6_conntrack_core.c   
		                   ip6_conntrack_ftp.c    
		                   ip6_conntrack_proto_generic.c  
		                   ip6_conntrack_proto_icmpv6.c   
		                   ip6_conntrack_proto_tcp.c      
		                   ip6_conntrack_proto_udp.c      
		                   ip6_conntrack_reasm.c  
		                   ip6_conntrack_standalone.c     
		                   ip6t_state.c   

	2. revise the below files using examples from in usagi kernel 2.6
		include/linux/netfilter.h, net/core/netfilter.c, net/netsyms.c
			add definition of "ip6_conntrack_attach()"
			
		net/ipv6/netfilter/Config.in
		                   Makefile

	3. fix the codes that depend on kernel version.
		- fix the codes in ip6_ct_output_frags() related to nf_reinject().
		  (in net/ipv6/netfilter/ip6_conntrack_reasm.c)

		- replace synchronize_net() to below.
			br_write_lock_bh();
			br_write_lock_bh();

		- and... so on.

--
Yasuyuki KOZAKAI