From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wang Jian Subject: Re: nfnetlink-ctnetlink working: INSTRUCTIONS Date: Fri, 15 Apr 2005 14:54:47 +0800 Message-ID: <20050415142613.033A.LARK@linux.net.cn> References: <20050414175616.0331.LARK@linux.net.cn> <425E4403.5010101@eurodev.net> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Cc: netfilter-devel@lists.netfilter.org, Amin Azez Return-path: To: Pablo Neira In-Reply-To: <425E4403.5010101@eurodev.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org Hi Pablo Neira, The current patches (dated 14-Apr), seems to not emit event messages, such as when new connection is established. The only event emitter I find is in ip_conntrack_in() if (set_reply && !test_and_set_bit(IPS_SEEN_REPLY_BIT, &ct->status)) ip_conntrack_event_cache(IPCT_STATUS, *pskb); set_reply is set to 1 only when the first reply packet seen from server end of a "connection", and !test_and_set_bit(IPS_SEEN_REPLY_BIT, &ct->status) is supposed to be true at the moment. So it will emit event once. But in my test, cntltest doesn't receive this event. Did I miss something? On Thu, 14 Apr 2005 12:20:51 +0200, Pablo Neira wrote: > Wang Jian wrote: > >>Just eemove `inline' from ip_conntrack_free and ip_conntrack_insert. > >>I've just fixed those in the patches, so alternatively you could > >>download the patch again. This seems to be something gcc-3.4 related > >>since I didn't get such error with gcc-2.95. > >> > > > > > > I remove the inline prefix from include/linux/netfilter_ipv4/ip_conntrack.h, > > and now it compiles. > > > > But I think > > > > EXPORT_SYMBOL(ip_conntrack_insert); > > > > is missing in net/ipv4/netfilter/ip_conntrack_standalone.c, isn't it? > > Right, I've just fixed it, thanks. > > -- > Pablo -- lark