Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] iptables: use multipurpose binaries
@ 2009-06-16  9:24 Olaf Rempel
  2009-06-16 13:40 ` Bernhard Reutner-Fischer
  2009-09-16  6:49 ` Peter Korsgaard
  0 siblings, 2 replies; 4+ messages in thread
From: Olaf Rempel @ 2009-06-16  9:24 UTC (permalink / raw)
  To: buildroot

Let iptables use the *-multi binaries:

before:
-rwxr-xr-x 1 ore ore 25645 2009-06-16 11:13 usr/sbin/ip6tables
-rwxr-xr-x 1 ore ore 30773 2009-06-16 11:13 usr/sbin/ip6tables-multi
-rwxr-xr-x 1 ore ore 29773 2009-06-16 11:13 usr/sbin/ip6tables-restore
-rwxr-xr-x 1 ore ore 26693 2009-06-16 11:13 usr/sbin/ip6tables-save
-rwxr-xr-x 1 ore ore 25653 2009-06-16 11:13 usr/sbin/iptables
-rwxr-xr-x 1 ore ore 38077 2009-06-16 11:13 usr/sbin/iptables-multi
-rwxr-xr-x 1 ore ore 29781 2009-06-16 11:13 usr/sbin/iptables-restore
-rwxr-xr-x 1 ore ore 26605 2009-06-16 11:13 usr/sbin/iptables-save

after:
lrwxrwxrwx 1 ore ore    15 2009-06-16 11:14 usr/sbin/ip6tables -> ip6tables-multi
-rwxr-xr-x 1 ore ore 30773 2009-06-16 11:14 usr/sbin/ip6tables-multi
lrwxrwxrwx 1 ore ore    15 2009-06-16 11:14 usr/sbin/ip6tables-restore -> ip6tables-multi
lrwxrwxrwx 1 ore ore    15 2009-06-16 11:14 usr/sbin/ip6tables-save -> ip6tables-multi
lrwxrwxrwx 1 ore ore    14 2009-06-16 11:14 usr/sbin/iptables -> iptables-multi
-rwxr-xr-x 1 ore ore 38077 2009-06-16 11:14 usr/sbin/iptables-multi
lrwxrwxrwx 1 ore ore    14 2009-06-16 11:14 usr/sbin/iptables-restore -> iptables-multi
lrwxrwxrwx 1 ore ore    14 2009-06-16 11:14 usr/sbin/iptables-save -> iptables-multi

Also bump the version to 1.4.3.2 which includes a former patch.

Regards
Olaf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-iptables-use-multipurpose-binaries.patch
Type: text/x-patch
Size: 5520 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20090616/c4046bc5/attachment.bin>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] iptables: use multipurpose binaries
  2009-06-16  9:24 [Buildroot] [PATCH] iptables: use multipurpose binaries Olaf Rempel
@ 2009-06-16 13:40 ` Bernhard Reutner-Fischer
  2009-06-16 15:46   ` Olaf Rempel
  2009-09-16  6:49 ` Peter Korsgaard
  1 sibling, 1 reply; 4+ messages in thread
From: Bernhard Reutner-Fischer @ 2009-06-16 13:40 UTC (permalink / raw)
  To: buildroot

On Tue, Jun 16, 2009 at 11:24:41AM +0200, Olaf Rempel wrote:
>Let iptables use the *-multi binaries:

Sounds good. Does it build now with IPv6 disabled and how much difference is
a pure ipv4 versus v4+v6 size() wise?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] iptables: use multipurpose binaries
  2009-06-16 13:40 ` Bernhard Reutner-Fischer
@ 2009-06-16 15:46   ` Olaf Rempel
  0 siblings, 0 replies; 4+ messages in thread
From: Olaf Rempel @ 2009-06-16 15:46 UTC (permalink / raw)
  To: buildroot

On Tue, 16 Jun 2009 15:40:39 +0200
Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> wrote:

> On Tue, Jun 16, 2009 at 11:24:41AM +0200, Olaf Rempel wrote:
> >Let iptables use the *-multi binaries:
> 
> Sounds good. Does it build now with IPv6 disabled and how much difference is
> a pure ipv4 versus v4+v6 size() wise?
> 

Yep, v4only builds ok (no runtime test)

i586 v4only:
$ du -scb lib/libuClibc-0.9.30.1.so usr/sbin/ip*tables* usr/lib/xtables
297672  lib/libuClibc-0.9.30.1.so
14      usr/sbin/iptables
38077   usr/sbin/iptables-multi
14      usr/sbin/iptables-restore
14      usr/sbin/iptables-save
324312  usr/lib/xtables
660103  total

i586 v4+v6:
$ du -scb lib/libuClibc-0.9.30.1.so usr/sbin/ip*tables* usr/lib/xtables
301768  lib/libuClibc-0.9.30.1.so
15      usr/sbin/ip6tables
30773   usr/sbin/ip6tables-multi
15      usr/sbin/ip6tables-restore
15      usr/sbin/ip6tables-save
14      usr/sbin/iptables
38077   usr/sbin/iptables-multi
14      usr/sbin/iptables-restore
14      usr/sbin/iptables-save
386304  usr/lib/xtables
757009  total

Regards
Olaf

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] iptables: use multipurpose binaries
  2009-06-16  9:24 [Buildroot] [PATCH] iptables: use multipurpose binaries Olaf Rempel
  2009-06-16 13:40 ` Bernhard Reutner-Fischer
@ 2009-09-16  6:49 ` Peter Korsgaard
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2009-09-16  6:49 UTC (permalink / raw)
  To: buildroot

>>>>> "Olaf" == Olaf Rempel <razzor@kopf-tisch.de> writes:

Hi,

 Olaf> Let iptables use the *-multi binaries:

Sorry for the slow response - Committed to git now (27cf8114bfd862558).
Thanks!

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-09-16  6:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-16  9:24 [Buildroot] [PATCH] iptables: use multipurpose binaries Olaf Rempel
2009-06-16 13:40 ` Bernhard Reutner-Fischer
2009-06-16 15:46   ` Olaf Rempel
2009-09-16  6:49 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox