LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Netfilter connection tracking support for IPVS

To: Nicklas Bondesson <nicklas.bondesson@xxxxxxxxxxxx>
Subject: Re: Netfilter connection tracking support for IPVS
Cc: "'LinuxVirtualServer.org users mailing list.'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Roberto Nibali <ratz@xxxxxxxxxxxx>
Date: Thu, 22 Feb 2007 22:07:30 +0100
Tried that. Same thing. It looks like this now:

#if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE)
#include <linux/netfilter.h>
#include <linux/netfilter_ipv4/ip_conntrack.h>
#include <linux/netfilter_ipv4/ip_conntrack_core.h>
#include <linux/netfilter_ipv4/ip_conntrack_helper.h>
#include <linux/netfilter_ipv4/ip_nat.h>
#endif

Just for a test, could also remove the last #if-block? Maybe the Kconfig variables have not been propagated properly.

Where for example is the ip_conntrack_find_get() located in the current sources? I'd grep myself, but git is not exactly production ready on Windows yet and www{,2}.kernel.org is dog slow.


greping for 'ip_conntrack_find_get' I came up with these:

./include/linux/netfilter_ipv4/ip_conntrack_core.h:ip_conntrack_find_get(con
st struct ip_conntrack_tuple *tuple,

So it should find it now.


./net/ipv4/netfilter/ip_conntrack_standalone.c:EXPORT_SYMBOL_GPL(ip_conntrac
k_find_get);
./net/ipv4/netfilter/ip_conntrack_standalone.c.orig:EXPORT_SYMBOL_GPL(ip_con
ntrack_find_get);

It's even exported, so if the includes are there and the objects have been created, the linker should be able to find those symbols.

Try it and report back,
Roberto Nibali, ratz
--
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc

<Prev in Thread] Current Thread [Next in Thread>