[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netfilter-devel
Subject:    Re: [PATCH] ct-event API port to 2.6.11
From:       Amin Azez <azez () ufomechanic ! net>
Date:       2005-04-08 9:15:18
Message-ID: 42564BA6.3040702 () ufomechanic ! net
[Download RAW message or body]

Amin Azez wrote:
>> After your new patch (which applies cleanly to 2.6.11) trying to 
>> compile libctnetlink fails on not finding nfnetlink_conntrack.h which 
>> can't be found in any kernel sources (patched or otherwise) but only 
>> be found in:
>> patch-o-matic-ng/nfnetlink-ctnetlink-0.13/linux/include/linux/nfnetlink_conntrack.h 
>>
>> Do I still need to grab any files from nfnetlink-ctnetlink-0.13 in 
>> pom-ng?

I've transferred the whole source files from nfnetlink-ctnetlink-0.13 to 
the 2.6.11 source tree and read the pom-ng source to work out what ladd 
files are for, and I'm applying those by hand.

There seems to be a conceptual clash between IP_NF_CONNTRACK_NETLINK in 
Kconfig and IP_NF_NETLINK_CONNTRACK in the ladd file which both have 
exactly the same description "Connection tracking netlink interface", 
similar names but different dependancies

// from Kconfig ipv4/netfilter (2.6.11)
config IP_NF_CONNTRACK_NETLINK
         tristate 'Connection tracking netlink interface'
         depends on IP_NF_CONNTRACK && 
NETFILTER_NETLINK&&IP_NF_CONNTRACK_EVENTS

//from Kconfig.ladd (nfnetlink-ctnetlink-0.13)
config IP_NF_NETLINK_CONNTRACK
         tristate  'Connection tracking netlink interface'
         depends on IP_NF_NETLINK && IP_NF_CONNTRACK


Kconfig depends on NETFILTER_NETLINK which might be the same as the 
KConfig.ladd's IP_NF_NETLINK

The indication then is, that in kernel 2.6.11.6 the 
IP_NF_CONNTRACK_NETLINK fragment is trying to do the same thing as the 
IP_NF_NETLINK_CONNTRACK fragment in the ladd file.

As neither of these definitions seems to be used in any of the source it 
is all the more puzzling as there are no clues to resolve the question.

Anyway, it looks like only the Makefile.ladd and the whole source files 
from the pomg-ng/nfnetlink-ctnetlink-0.13 need importing in conjunction 
with Pablo's new combined patch.

So I'm giving that a go.

Sam


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic