All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@eurodev.net>
To: "Sébastien LAVEZE" <slaveze@gmail.com>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: Libnetfilter_conntrack, CTNL_TEST
Date: Tue, 14 Mar 2006 13:25:27 +0100	[thread overview]
Message-ID: <4416B637.4070409@eurodev.net> (raw)
In-Reply-To: <ca021ab30603140115g52e6301fj27ff030ed1d6aa2b@mail.gmail.com>

Sébastien LAVEZE wrote:
> I am developping an application using libnetfilter_conntrack
> I first tried to run the example program ctnl_test, it seems to work
> for events and table dumping but i still get errors and i would like
> to know if  it's normal
> Here is the output :
> 
> Test for libnetfilter_conntrack
> NFNETLINK answers: Invalid argument
> TEST 1: create conntrack (-22)
> NFNETLINK answers: -EINVAL, make sure ip_conntrack_netlink is loaded
> and you have NET_CAPABILITIES
> TEST 2: dump conntrack table and reset (-524)
> tcp      6 431960 ESTABLISHED src=192.168.31.42 dst=172.16.16.16
>    sport=44582 dport=3128 src= 172.16.16.16 dst=192.168.31.42
> sport=3128 dport=44582 [ASSURED] use=1
> tcp      6 431960 ESTABLISHED src=192.168.31.42 dst=172.16.16.16
>    sport=44583 dport=3128 src=172.16.16.16 dst=192.168.31.42
> sport=3128 dport=44583 [ASSURED] use=1
> tcp      6 431960 ESTABLISHED src=192.168.31.42 dst=172.16.16.16
>    sport=44581 dport=3128 src=172.16.16.16 dst= 192.168.31.42
> sport=3128 dport=44581 [ASSURED] use=1
> tcp      6 431960 ESTABLISHED src=192.168.31.42 dst=172.16.16.16
>    sport=44584 dport=3128 src=172.16.16.16 dst=192.168.31.42
> sport=3128 dport=44584 [ASSURED] use=1
> TEST 3: dump conntrack table (0)
> TEST 4: get conntrack (-22)
> TEST 5: update conntrack (-22)
> NFNETLINK answers: Invalid argument
> TEST 6: delete conntrack (-22)
> TEST 7: Waiting for 10 conntrack events
> Event number 1

> Event number 2
> Event number 3
> Event number 4
> Event number 5
> Event number 6
> Event number 7
> Event number 8
> Event number 9
> Event number 10
> TEST 7: Received 10 conntrack events (-1)
> Test failed with error -1. Errors=5
> 
> I'm using a 2.6.15 kernel and i have all the needed modules
> installed(ip_conntrack_netlink, ip_conntrack, nfnetlink,
> nfnetlink_log...)

No, it is not a normal output. What version of libnetfilter_conntrack
are you using?

-- 
Pablo

  reply	other threads:[~2006-03-14 12:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <ca021ab30603140111kf4fe35m89986d7a18fa51e7@mail.gmail.com>
2006-03-14  9:15 ` Libnetfilter_conntrack, CTNL_TEST Sébastien LAVEZE
2006-03-14 12:25   ` Pablo Neira Ayuso [this message]
2006-03-14 12:50     ` Sébastien LAVEZE
2006-03-14 16:56       ` Patrick McHardy

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=4416B637.4070409@eurodev.net \
    --to=pablo@eurodev.net \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=slaveze@gmail.com \
    /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.