[Buildroot] [PATCH] iptables: use multipurpose binaries

Olaf Rempel razzor at kopf-tisch.de
Tue Jun 16 15:46:37 UTC 2009


On Tue, 16 Jun 2009 15:40:39 +0200
Bernhard Reutner-Fischer <rep.dot.nop at 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


More information about the buildroot mailing list