All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: "Adelson O. Junior" <jroliv@gmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: NFNETLINK answers: No such file or directory
Date: Fri, 20 Jun 2008 13:43:35 +0200	[thread overview]
Message-ID: <485B97E7.4000501@netfilter.org> (raw)
In-Reply-To: <7b0a40830806181538s40efbd70s66aec17d5c04933@mail.gmail.com>

Adelson O. Junior wrote:
> Hi netfiltel mail list,
> it's my first time here.
> 
> My question is:
> I'm trying to delete a entry in the conntrack and an Error is shown:
> 
> "NFNETLINK answers: No such file or directory"
> 
> I did a "small" search on the Internet, mail list and I saw that this
> is a bug and is already fixed.
> Can you tell if this is true, and if is, what the version of
> libnfnetlink, libnetfilter_conntrack or
> conntrack packets (and witch of them have a problem) that the bug is fixed?

Could you post the command line invocation of `conntrack' that you're
using? It seems to me that you're omitting some required values. Old
versions require source and destination IP plus port source and
destination to work, ie.

conntrack -D -s 140.x.x.90 -d 213.x.x.117 -p tcp --sport 34075 --dport 993

As said, probably you're omitting any of those parameters. Some old
versions of the tool do not perform strict checking on the input
parameters. Thus, leading to this sort of errors.

The current version (0.9.7) supports more flexible conntrack deletion, eg.

conntrack -D -d 213.x.x.117

This invocation destroys all entries that match that.

-- 
"Los honestos son inadaptados sociales" -- Les Luthiers

  parent reply	other threads:[~2008-06-20 11:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-18 22:38 NFNETLINK answers: No such file or directory Adelson O. Junior
2008-06-19 11:09 ` Pablo Neira Ayuso
2008-06-19 13:50   ` Adelson O. Junior
2008-06-19 14:03     ` Pablo Neira Ayuso
2008-06-19 18:32       ` Adelson O. Junior
2008-06-20 11:43 ` Pablo Neira Ayuso [this message]
2008-06-20 21:12   ` Adelson O. Junior

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=485B97E7.4000501@netfilter.org \
    --to=pablo@netfilter.org \
    --cc=jroliv@gmail.com \
    --cc=netfilter-devel@vger.kernel.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 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.