* conntrack "invalid parameters" error
@ 2008-02-19 13:15 Eugene Polyanichko
2008-02-19 13:22 ` Pablo Neira Ayuso
0 siblings, 1 reply; 7+ messages in thread
From: Eugene Polyanichko @ 2008-02-19 13:15 UTC (permalink / raw)
To: netfilter
Hello,
i've faced with a problem, which I don't know how to solve, so I will
appreciate any help. I've decided to upgrade my old red hat router from 2.4
kernel to latest 2.6.24.2 to make use of conntrack-tools. I've compiled
everything: kernel with netlink support, libnfnetlink,
libnetfilter_conntrack and conntrack-tools (all latest versions) and when I
execute 'conntrack -F' I get this:
# conntrack -F
Operation failed: invalid parameters
libnetfilter_conntrack get util (utils/conntrack_get) tells me this:
# ./conntrack_get
TEST: get conntrack (-1)(Invalid argument)
Any suggestions? Where the problem could be? Is it on kernel level or maybe
something wrong in libnfnetlink?
Thanks.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: conntrack "invalid parameters" error
2008-02-19 13:15 conntrack "invalid parameters" error Eugene Polyanichko
@ 2008-02-19 13:22 ` Pablo Neira Ayuso
2008-02-19 13:40 ` Eugene Polyanichko
0 siblings, 1 reply; 7+ messages in thread
From: Pablo Neira Ayuso @ 2008-02-19 13:22 UTC (permalink / raw)
To: Eugene Polyanichko; +Cc: netfilter
Eugene Polyanichko wrote:
> Hello,
>
> i've faced with a problem, which I don't know how to solve, so I will
> appreciate any help. I've decided to upgrade my old red hat router from 2.4
> kernel to latest 2.6.24.2 to make use of conntrack-tools. I've compiled
> everything: kernel with netlink support, libnfnetlink,
> libnetfilter_conntrack and conntrack-tools (all latest versions) and when I
> execute 'conntrack -F' I get this:
>
> # conntrack -F
> Operation failed: invalid parameters
>
> libnetfilter_conntrack get util (utils/conntrack_get) tells me this:
>
> # ./conntrack_get
> TEST: get conntrack (-1)(Invalid argument)
>
> Any suggestions? Where the problem could be? Is it on kernel level or maybe
> something wrong in libnfnetlink?
Did you insmod nf_conntrack_netlink? nfnetlink can return EINVAL for
those cases.
--
"Los honestos son inadaptados sociales" -- Les Luthiers
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: conntrack "invalid parameters" error
2008-02-19 13:22 ` Pablo Neira Ayuso
@ 2008-02-19 13:40 ` Eugene Polyanichko
2008-02-19 13:56 ` Pablo Neira Ayuso
0 siblings, 1 reply; 7+ messages in thread
From: Eugene Polyanichko @ 2008-02-19 13:40 UTC (permalink / raw)
To: Pablo Neira Ayuso; +Cc: netfilter
I've compiled it (and almost all other netfilter features) inside kernel.
> Pablo Neira Ayuso <pablo@netfilter.org> wrote:
>
> Did you insmod nf_conntrack_netlink? nfnetlink can return EINVAL for
> those cases.
>
> --
> "Los honestos son inadaptados sociales" -- Les Luthiers
> -
> To unsubscribe from this list: send the line "unsubscribe netfilter" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: conntrack "invalid parameters" error
2008-02-19 13:40 ` Eugene Polyanichko
@ 2008-02-19 13:56 ` Pablo Neira Ayuso
2008-02-19 14:07 ` Eugene Polyanichko
0 siblings, 1 reply; 7+ messages in thread
From: Pablo Neira Ayuso @ 2008-02-19 13:56 UTC (permalink / raw)
To: Eugene Polyanichko; +Cc: netfilter
Eugene Polyanichko wrote:
> I've compiled it (and almost all other netfilter features) inside kernel.
Can you see this message via dmesg?
dmesg> Netfilter messages via NETLINK v0.30.
dmesg> ctnetlink v0.93: registering with nfnetlink.
--
"Los honestos son inadaptados sociales" -- Les Luthiers
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: conntrack "invalid parameters" error
2008-02-19 13:56 ` Pablo Neira Ayuso
@ 2008-02-19 14:07 ` Eugene Polyanichko
2008-02-19 15:19 ` Pablo Neira Ayuso
0 siblings, 1 reply; 7+ messages in thread
From: Eugene Polyanichko @ 2008-02-19 14:07 UTC (permalink / raw)
To: Pablo Neira Ayuso; +Cc: netfilter
I see only "Netfilter messages via NETLINK v0.30.", can't find ctnetlink...
I suppose, that's the reason, isn't it? Have I missed something in kernel
configuration?
> Pablo Neira Ayuso <pablo@netfilter.org> wrote:
>
> Can you see this message via dmesg?
>
> dmesg> Netfilter messages via NETLINK v0.30.
> dmesg> ctnetlink v0.93: registering with nfnetlink.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: conntrack "invalid parameters" error
2008-02-19 14:07 ` Eugene Polyanichko
@ 2008-02-19 15:19 ` Pablo Neira Ayuso
2008-02-20 17:06 ` Eugene Polyanichko
0 siblings, 1 reply; 7+ messages in thread
From: Pablo Neira Ayuso @ 2008-02-19 15:19 UTC (permalink / raw)
To: Eugene Polyanichko; +Cc: netfilter
Eugene Polyanichko wrote:
> I see only "Netfilter messages via NETLINK v0.30.", can't find
> ctnetlink... I suppose, that's the reason, isn't it? Have I missed
> something in kernel configuration?
Is CONFIG_NF_CT_NETLINK=y or ...=m in your .config file?
--
"Los honestos son inadaptados sociales" -- Les Luthiers
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: conntrack "invalid parameters" error
2008-02-19 15:19 ` Pablo Neira Ayuso
@ 2008-02-20 17:06 ` Eugene Polyanichko
0 siblings, 0 replies; 7+ messages in thread
From: Eugene Polyanichko @ 2008-02-20 17:06 UTC (permalink / raw)
To: Pablo Neira Ayuso; +Cc: netfilter
Yeah, that was the reason. I've checked it and found, that this parameter is
experimental, so that's why I've missed it. Thanks a lot for your help. I've
recompiled kernel and now it works fine!
> Pablo Neira Ayuso wrote:
>
> Is CONFIG_NF_CT_NETLINK=y or ...=m in your .config file?
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-02-20 17:06 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-19 13:15 conntrack "invalid parameters" error Eugene Polyanichko
2008-02-19 13:22 ` Pablo Neira Ayuso
2008-02-19 13:40 ` Eugene Polyanichko
2008-02-19 13:56 ` Pablo Neira Ayuso
2008-02-19 14:07 ` Eugene Polyanichko
2008-02-19 15:19 ` Pablo Neira Ayuso
2008-02-20 17:06 ` Eugene Polyanichko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox