Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Filka Michal <Michal.Filka@sitronicsts.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: question on libnetfilter_conntrack
Date: Tue, 24 Jul 2007 16:10:36 +0200	[thread overview]
Message-ID: <46A6085C.7020800@netfilter.org> (raw)
In-Reply-To: <FA1AA529CBCAB24E9C8A43D01537060909DFD8@extemp.stromtelecom.cz>

Filka Michal wrote:
> I use api provided by libnetfilter_conntrack library. When creating conntrack (nfct_conntrack_alloc) record I assign it an id. Then conntrack is successfully created (nfct_create_conntrack). However, when I try to delete it later on using the same id call (nfct_delete_conntrack) fails (NFNETLINK answers: No such file or directory). If I look at conntrack using "conntrack -L -i" I see that created record has another id than I assigned it in nfct_conntrack_alloc.
> 
> Does libnetfilter_conntrack ignore given id? If not, what can be wrong?
> 
> Configuration:
> Linux debian, kernel 2.6.20.8
> libnetfilter_conntrack 0.0.31
                            ^^^

This version is really from the cavemen era. Please upgrade to 0.0.80
and check the new API (see utils/ example files).

-- 
"Países en desarrollo es el nombre con que los expertos designan a los
países arrollados por el desarrollo ajeno" -- Patas Arriba. La Escuela
del Mundo al Revés -- E. Galeano


      reply	other threads:[~2007-07-24 14:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-24  9:30 question on libnetfilter_conntrack Filka Michal
2007-07-24 14:10 ` Pablo Neira Ayuso [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46A6085C.7020800@netfilter.org \
    --to=pablo@netfilter.org \
    --cc=Michal.Filka@sitronicsts.com \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox