From: Pablo Neira Ayuso <pablo@netfilter.org>
To: wang feng <feng.wangs@gmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: wrong result with conntrack_create, expect_create
Date: Tue, 15 Jul 2008 12:18:41 +0200 [thread overview]
Message-ID: <487C7981.2030906@netfilter.org> (raw)
In-Reply-To: <6cb26d8b0807150129m30c71f89o4def08f1623d287d@mail.gmail.com>
wang feng wrote:
> Hello,
> I have done some test based on the libnetfilter_conntrack-0.0.96,something is
> wrong with the samples under utils:
>
> conntrack_create:
> TEST: create conntrack (0)(Success)
> it should create a conntrack with src:1.1.1.1, dst:2.2.2.2
> but: conntrack_get:
> ipv4 2 tcp 6 98 src=0.0.0.0 dst=0.0.0.0 sport=0 dport=0 packets=0
> bytes=0 [UNREPLIED] src=0.0.0.0 dst=0.0.0.0 sport=0 dport=0 packets=0 bytes=0
> mark=0 use=2
>
> expect_create:
> TEST: add master conntrack (0)(Success)
> TEST: create expectation (-1)(Invalid argument)
You probably forgot to insmod:
* nf_conntrack_ipv4
* nf_conntrack_ftp, which is required to run the expect_create test.
I'm going to add a note in the sources of the test now.
> I have debugged, the parameters passed to the api are not wrong, something in
> nflink(nfnl_query) perhaps not works...
>
> see also bug#548,someone can help me to debug to see what happen with
> it? thanks...
Please, confirm that this fixes your problem.
--
"Los honestos son inadaptados sociales" -- Les Luthiers
next prev parent reply other threads:[~2008-07-15 10:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-15 8:29 wrong result with conntrack_create, expect_create wang feng
2008-07-15 10:18 ` Pablo Neira Ayuso [this message]
2008-07-15 10:23 ` Patrick McHardy
2008-07-15 10:33 ` Pablo Neira Ayuso
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=487C7981.2030906@netfilter.org \
--to=pablo@netfilter.org \
--cc=feng.wangs@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.