All of lore.kernel.org
 help / color / mirror / Atom feed
* libnetfilter conntrack: problem in nfct_callback_register
@ 2007-11-15 17:35 Julien VEHENT
  2007-11-15 18:11 ` Eric Leblond
  0 siblings, 1 reply; 5+ messages in thread
From: Julien VEHENT @ 2007-11-15 17:35 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 765 bytes --]

Hi All,

I'm coding with the libnetfilter-conntrack in C and, for some unexpected 
reasons, my program use to crash (could be after a few minutes or a few 
hours) with the following message:

> api.c:137: nfct_callback_register: Assertion `h != ((void *)0)' failed.

AFAIK, "h" is the library handler defined by nfct_open(CONNTRACK, 0) and used 
in nfct_callback_register, nfct_query and nfct_close.

But I have no idea how to debug that....

I'm using the following libs on Debian Lenny:
>libnetfilter-conntrack-dev    0.0.50-1
>libnetfilter-conntrack1       0.0.50-1

I pasted my code here: http://rafb.net/p/nz33XI27.html

This drives me crazy... It's probably just a stupid mistake but I don't see 
it...

Thanks for your help,

Julien

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 481 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: libnetfilter conntrack: problem in nfct_callback_register
  2007-11-15 17:35 libnetfilter conntrack: problem in nfct_callback_register Julien VEHENT
@ 2007-11-15 18:11 ` Eric Leblond
  2007-11-15 19:16   ` Julien VEHENT
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Leblond @ 2007-11-15 18:11 UTC (permalink / raw)
  To: Julien VEHENT; +Cc: netfilter

[-- Attachment #1: Type: text/plain, Size: 442 bytes --]

Hi,


> I'm using the following libs on Debian Lenny:
> >libnetfilter-conntrack-dev    0.0.50-1
> >libnetfilter-conntrack1       0.0.50-1

First of all, please update the libs. A major rewrite has occur and lots
of bug have been fixed. Please also nota that the API has changed.

Last version can be downloaded from:
http://netfilter.org/projects/libnetfilter_conntrack/downloads.html

BR,
-- 
Eric Leblond <eric@inl.fr>
INL

[-- Attachment #2: Ceci est une partie de message numériquement signée --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: libnetfilter conntrack: problem in nfct_callback_register
  2007-11-15 18:11 ` Eric Leblond
@ 2007-11-15 19:16   ` Julien VEHENT
  2007-11-15 19:26     ` Matt Zagrabelny
  2007-11-28 10:58     ` Eric Leblond
  0 siblings, 2 replies; 5+ messages in thread
From: Julien VEHENT @ 2007-11-15 19:16 UTC (permalink / raw)
  To: Eric Leblond; +Cc: netfilter

[-- Attachment #1: Type: text/plain, Size: 650 bytes --]

On Thursday 15 November 2007 01:11:25 pm Eric Leblond wrote:
> Hi,
>
> > I'm using the following libs on Debian Lenny:
> > >libnetfilter-conntrack-dev    0.0.50-1
> > >libnetfilter-conntrack1       0.0.50-1
>
> First of all, please update the libs. A major rewrite has occur and lots
> of bug have been fixed. Please also nota that the API has changed.
>
> Last version can be downloaded from:
> http://netfilter.org/projects/libnetfilter_conntrack/downloads.html

Hi,

I'm probably asking too much, but do you have any .deb version of the 
library ?
I would rather prefer to keep the integrity of my system.

Thanks,

Julien


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 481 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: libnetfilter conntrack: problem in nfct_callback_register
  2007-11-15 19:16   ` Julien VEHENT
@ 2007-11-15 19:26     ` Matt Zagrabelny
  2007-11-28 10:58     ` Eric Leblond
  1 sibling, 0 replies; 5+ messages in thread
From: Matt Zagrabelny @ 2007-11-15 19:26 UTC (permalink / raw)
  To: Julien VEHENT; +Cc: Eric Leblond, netfilter

[-- Attachment #1: Type: text/plain, Size: 1362 bytes --]


On Thu, 2007-11-15 at 14:16 -0500, Julien VEHENT wrote:
> On Thursday 15 November 2007 01:11:25 pm Eric Leblond wrote:
> > Hi,
> >
> > > I'm using the following libs on Debian Lenny:
> > > >libnetfilter-conntrack-dev    0.0.50-1
> > > >libnetfilter-conntrack1       0.0.50-1
> >
> > First of all, please update the libs. A major rewrite has occur and lots
> > of bug have been fixed. Please also nota that the API has changed.
> >
> > Last version can be downloaded from:
> > http://netfilter.org/projects/libnetfilter_conntrack/downloads.html
> 
> Hi,
> 
> I'm probably asking too much, but do you have any .deb version of the 
> library ?
> I would rather prefer to keep the integrity of my system.

It looks like the packages are getting close to being in 'sid', however
as of right now, are not. Once they are, you can use apt pinning to pull
them in, or wait for them to migrate from 'sid' to 'lenny'.

Otherwise, you could build from source and install to /usr/local/, which
is what I would do.

-- 
Matt Zagrabelny - mzagrabe@d.umn.edu - (218) 726 8844
University of Minnesota Duluth
Information Technology Systems & Services
PGP key 1024D/84E22DA2 2005-11-07
Fingerprint: 78F9 18B3 EF58 56F5 FC85  C5CA 53E7 887F 84E2 2DA2

He is not a fool who gives up what he cannot keep to gain what he cannot
lose.
-Jim Elliot

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: libnetfilter conntrack: problem in nfct_callback_register
  2007-11-15 19:16   ` Julien VEHENT
  2007-11-15 19:26     ` Matt Zagrabelny
@ 2007-11-28 10:58     ` Eric Leblond
  1 sibling, 0 replies; 5+ messages in thread
From: Eric Leblond @ 2007-11-28 10:58 UTC (permalink / raw)
  To: Julien VEHENT; +Cc: netfilter

[-- Attachment #1: Type: text/plain, Size: 545 bytes --]

Hi,

Le jeudi 15 novembre 2007 à 14:16 -0500, Julien VEHENT a écrit :
> On Thursday 15 November 2007 01:11:25 pm Eric Leblond wrote:
> > Hi,
> Hi,
> 
> I'm probably asking too much, but do you have any .deb version of the 
> library ?
> I would rather prefer to keep the integrity of my system.

Sorry for the delay but the library are now available for etch from
http://packages.inl.fr/ in their latest release.

You can add to your sources.list:
deb http://packages.inl.fr/ stable/

BR,
-- 
Eric Leblond <eric@inl.fr>
INL

[-- Attachment #2: Ceci est une partie de message numériquement signée --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-11-28 10:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-15 17:35 libnetfilter conntrack: problem in nfct_callback_register Julien VEHENT
2007-11-15 18:11 ` Eric Leblond
2007-11-15 19:16   ` Julien VEHENT
2007-11-15 19:26     ` Matt Zagrabelny
2007-11-28 10:58     ` Eric Leblond

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.