From: Patrick McHardy <kaber@trash.net>
To: DervishD <lartc@dervishd.net>
Cc: lartc@mailman.ds9a.nl,
Netfilter Development Mailinglist
<netfilter-devel@lists.netfilter.org>
Subject: Re: [LARTC] MARK: targinfosize 8 != 4
Date: Tue, 13 Dec 2005 12:01:42 +0000 [thread overview]
Message-ID: <439EB826.3070002@trash.net> (raw)
In-Reply-To: <20051213091820.GA1021@DervishD>
DervishD wrote:
> Hi Salim :)
>
> * Salim <salim.si@askey.com.tw> dixit:
>
>> I got this problem while trying to shape traffic with iptables MARK and
>>HTB.
>>
>>MARK: targinfosize 8 != 4
>>
>>--set-mark gives "invalid argument" error message.
>>
>>Kernel version is 2.4.29 (some patches from patch o matic applied)
>>Iptables version 1.3.4
>>
>>Intel x86 architecture.
>>
>>I saw this problem discussed in a few places, but the discussions didn't
>>come to a conclusion or solution.
>
>
> You've hit a bug in iptables :( I've notified in the bugzilla but
> I have had no answers. You're building iptables with no shared
> libraries (NO_SHARED_LIBS=1). This means that the code in iptables,
> when loading the "modules" for the matches and targets is taking a
> slightly different code path. The problem is that the MARK target
> has two versions, 0 and 1, and kernel 2.4.x (at least until 31)
> supports only version 0. If you don't use share libraries in
> iptables, both versions are loaded and v1 is used instead of v2.
> Unfortunately, v1 has a bigger data structure than v0 and your kernel
> complaints.
That can't be the reason, all revisions of a single match/target are
in the same object file and the supported revision is (supposed to be)
probed. Salim, can you send a strace of the failing iptables command?
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next prev parent reply other threads:[~2005-12-13 12:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-13 7:22 [LARTC] MARK: targinfosize 8 != 4 Salim
2005-12-13 9:18 ` DervishD
2005-12-13 12:01 ` Patrick McHardy [this message]
[not found] ` <200512131809.jBDI9lAW028466@usagi.ingate.se>
2005-12-13 20:37 ` DervishD
2005-12-14 0:27 ` Patrick McHardy
2005-12-22 3:29 ` Patrick McHardy
2005-12-14 2:14 ` Salim
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=439EB826.3070002@trash.net \
--to=kaber@trash.net \
--cc=lartc@dervishd.net \
--cc=lartc@mailman.ds9a.nl \
--cc=netfilter-devel@lists.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