"excessively large" library built in standalone ipset build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(splitting this out -- more appropriately -- from a separate thread;
Thanks, Jan)

I'm building ipset from src (svn r7576) on Opensuse 11.

It builds & installs without error.

ls -al /usr/local/lib/ipset
 -rwxr-xr-x 1 root root   14941 2008-11-20 13:28 libipset_iphash.so
 -rwxr-xr-x 1 root root   15029 2008-11-20 13:28 libipset_ipmap.so
 -rwxr-xr-x 1 root root   15370 2008-11-20 13:28 libipset_ipporthash.so
 -rwxr-xr-x 1 root root   15253 2008-11-20 13:28 libipset_ipportiphash.so
 -rwxr-xr-x 1 root root 2112524 2008-11-20 13:28 libipset_ipportnethash.so
 -rwxr-xr-x 1 root root   15232 2008-11-20 13:28 libipset_iptreemap.so
 -rwxr-xr-x 1 root root   15151 2008-11-20 13:28 libipset_iptree.so
 -rwxr-xr-x 1 root root   15352 2008-11-20 13:28 libipset_macipmap.so
 -rwxr-xr-x 1 root root   15153 2008-11-20 13:28 libipset_nethash.so
 -rwxr-xr-x 1 root root   14843 2008-11-20 13:28 libipset_portmap.so
 -rwxr-xr-x 1 root root   15042 2008-11-20 13:28 libipset_setlist.so

cd /lib/modules/`uname -r`/updates/
ls -al ip_set*
 -rw-r--r-- 1 root root   18334 2008-11-20 13:28 ip_set_iphash.ko
 -rw-r--r-- 1 root root   13624 2008-11-20 13:28 ip_set_ipmap.ko
 -rw-r--r-- 1 root root   19747 2008-11-20 13:28 ip_set_ipporthash.ko
 -rw-r--r-- 1 root root   20167 2008-11-20 13:28 ip_set_ipportiphash.ko
 -rw-r--r-- 1 root root   21920 2008-11-20 13:28 ip_set_ipportnethash.ko
 -rw-r--r-- 1 root root   18697 2008-11-20 13:28 ip_set_iptree.ko
 -rw-r--r-- 1 root root   24744 2008-11-20 13:28 ip_set_iptreemap.ko
 -rw-r--r-- 1 root root   46034 2008-11-20 13:28 ip_set.ko
 -rw-r--r-- 1 root root   14066 2008-11-20 13:28 ip_set_macipmap.ko
 -rw-r--r-- 1 root root   20087 2008-11-20 13:28 ip_set_nethash.ko
 -rw-r--r-- 1 root root   14024 2008-11-20 13:28 ip_set_portmap.ko
 -rw-r--r-- 1 root root   14079 2008-11-20 13:28 ip_set_setlist.ko
, loads & functions seemingly OK.

And, the kernel modules load & the binary functions as expected.

In another thread, Jan E. pointed out, that in comparison to his ipset
build (from xtables-addons?),

  >> -rwxr-xr-x 1 root root 2112524 2008-11-20 13:28 libipset_ipportnethash.so
  >
  > However, this time, one of *your* libraries is excessively larger ;-)
  >
  > -rw-r--r-- 1 jengelh users 21432 Nov 20 23:07 libipset_ipportnethash.oo
  > -rwxr-xr-x 1 jengelh users 23251 Nov 20 23:07 libipset_ipportnethash.so

one of my libraries (libipset_ipportnethash.s) is *excessively* larger.

Looking above, that's the only one that's so large ...

Is this size in fact unexpectedly/problematically too large?

If it is, what do I need to correct in my build?

Thanks.

--JC
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux