From: Patrick McHardy <kaber@trash.net>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: wang feng <feng.wangs@gmail.com>, netfilter-devel@vger.kernel.org
Subject: Re: wrong result with conntrack_create, expect_create
Date: Tue, 15 Jul 2008 12:23:46 +0200 [thread overview]
Message-ID: <487C7AB2.3050800@trash.net> (raw)
In-Reply-To: <487C7981.2030906@netfilter.org>
Pablo Neira Ayuso wrote:
> 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.
Ideally we would simply autoload the modules on create requests.
That would also be a first step to fix the NAT dependencies.
next prev parent reply other threads:[~2008-07-15 10:23 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
2008-07-15 10:23 ` Patrick McHardy [this message]
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=487C7AB2.3050800@trash.net \
--to=kaber@trash.net \
--cc=feng.wangs@gmail.com \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@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