From: Hinko Kocevar <hinko.kocevar@cetrtapot.si>
To: Phil Oester <kernel@linuxace.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: iptables-1.4.0 with 2.6.26
Date: Tue, 19 Aug 2008 17:32:53 +0200 [thread overview]
Message-ID: <48AAE7A5.9000902@cetrtapot.si> (raw)
In-Reply-To: <20080819152504.GA13246@linuxace.com>
Phil Oester wrote:
> On Tue, Aug 19, 2008 at 04:11:26PM +0200, Hinko Kocevar wrote:
>> Well, it builds.
>> But trying to add simple rule fails:
>>
>> hinkok@alala /tmp/iptables-1.4.1.1 $ sudo ./iptables -A INPUT -p tcp --dport 80 -j DROP
>> iptables v1.4.1.1: Unknown arg `--dport'
>> Try `iptables -h' or 'iptables --help' for more information.
>
> Yes, that wouldn't work unless you built a static iptables binary (--enable-static).
Tried and it works, with forcing symlink on iptables-static.
hinkok@alala /tmp/iptables-1.4.1.1 $ rm iptables
hinkok@alala /tmp/iptables-1.4.1.1 $ ln -s iptables-static iptables
hinkok@alala /tmp/iptables-1.4.1.1 $ sudo ./iptables -A INPUT -p tcp --dport 80 -j DROP
hinkok@alala /tmp/iptables-1.4.1.1 $
> Please run make install, then it will work for you from the install directory.
Will this be a problem on an embedded system, when iptables are cross compiled?
Are there some cynimic libraries that are pulled in from somewhere (probably destdir installation dir)?
Thank you,
Hinko
--
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: hinko.kocevar@cetrtapot.si
Http: www.cetrtapot.si
next prev parent reply other threads:[~2008-08-19 15:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-19 11:35 Hinko Kocevar
2008-08-19 14:06 ` Phil Oester
2008-08-19 14:11 ` Hinko Kocevar
2008-08-19 15:25 ` Phil Oester
2008-08-19 15:32 ` Hinko Kocevar [this message]
2008-08-19 15:56 ` Phil Oester
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=48AAE7A5.9000902@cetrtapot.si \
--to=hinko.kocevar@cetrtapot.si \
--cc=kernel@linuxace.com \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome