From: Patrick McHardy <kaber@trash.net>
To: wolf@sarchasm.us
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: Possible 32/64-bit issue building/using iptables 1.3.7 with UML ("ERROR: 0 not a valid target)")
Date: Sat, 23 Jun 2007 16:08:06 +0200 [thread overview]
Message-ID: <467D2946.4010106@trash.net> (raw)
In-Reply-To: <20070620013626.47f3dfd9@megumi.wolf.fhi>
Adam Snodgrass wrote:
> Hi,
>
> I've encountered a strange problem while attempting to build and use a
> copy of iptables 1.3.7 userland. I recently decided it was time to try
> using ulogd2 and NFLOG, as my systems are all at least 2.6.21.x. I
> successfully built and used a copy of 1.3.7 on my amd64 host, running
> Debian etch and kernel 2.6.21.4 (vanilla, no patches), then proceeded
> to try building a 32-bit copy inside a UML (running i386 etch, and
> kernel 2.6.21.4). I am compiling iptables against a copy of
> 2.6.21.4 (no funny POMng or other patches). The software builds fine,
> but when I get strange errors when I try to use it. For example:
>
> guest# ./iptables -V
> iptables v1.3.7
> guest# ./iptables -nL
> ERROR: 0 not a valid target)
>
Thats really strange. Could you try again with current -rc? I fixed the
default table initialization so you might get a better error message.
> Aborted
> guest# ./iptables -j NFLOG -h
> iptables: target `NFLOG' has invalid size 76.
>
Thats extremly odd since there is nothing arch specific in that
structure and we never changed it.
> guest#
>
> I found several references to the '0 not a valid target' message from
> early 2006, and note that the fix has been applied to mainline for some
> time now. Could this be a UML problem? (I can compile and run 1.3.7
> in an amd64 UML without issue).
>
> (If you're wondering why I don't just use the supplied package in etch,
> it sadly lacks the NFLOG target, despite claiming to be version 1.3.6).
>
NFLOG was added in 1.3.7. It has a bug in that version though so you
should use current -svn. We'll release a new version shortly I hope.
next prev parent reply other threads:[~2007-06-23 14:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-20 5:36 Possible 32/64-bit issue building/using iptables 1.3.7 with UML ("ERROR: 0 not a valid target)") Adam Snodgrass
2007-06-23 14:08 ` Patrick McHardy [this message]
2007-06-24 22:10 ` Adam Snodgrass
2007-06-25 10:26 ` 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=467D2946.4010106@trash.net \
--to=kaber@trash.net \
--cc=netfilter-devel@lists.netfilter.org \
--cc=wolf@sarchasm.us \
/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.