[strongSwan] reduce size

Naveen Neelakanta nbnopenswan at gmail.com
Fri Sep 13 02:10:53 CEST 2013


Hi All,

i have compiled the latest strongswan with the configuration below and
installed the same
to a specific location,
Below are the steps followed.

 # export DESTDIR=/local/mnt/workspace/NBN/VPN/STRONGSWAN/Latest/install/

#./configure CPPFLAGS=-Os --prefix=/usr --disable-rc2 --disable-md5
--disable-sha1 --disable-sha2 --disable-fips-prf --disable-aes--disable-des
--enable-openssl --disable-pkcs1 --disable-pkcs7 --disable-pkcs8
--disable-pkcs12--disable-pgp --disable-dnskey --disable-sshkey
--disable-hmac --disable-cmac --disable-xcbc --disable-gmp
--disable-scripts --disable-ikev1 --disable-tools --enable-monolithic


But is seems like charon and strongswan are consuming huge memory.
Is there a way to reduce the size of charon and strongswan , i just need
the basic vpn client
with out extra pluggins and use openssl for cryptography.

-rw-r--r-- 1 root users 10998220 Sep 12 16:16 libcharon.a
-rwxr-xr-x 1 root users      974 Sep 12 16:16 libcharon.la
lrwxrwxrwx 1 root users       18 Sep 12 16:16 libcharon.so ->
libcharon.so.0.0.0
lrwxrwxrwx 1 root users       18 Sep 12 16:16 libcharon.so.0 ->
libcharon.so.0.0.0
-rwxr-xr-x 1 root users  4687143 Sep 12 16:16 libcharon.so.0.0.0
-rw-r--r-- 1 root users  1264036 Sep 12 16:16 libhydra.a
-rwxr-xr-x 1 root users      948 Sep 12 16:16 libhydra.la
lrwxrwxrwx 1 root users       17 Sep 12 16:16 libhydra.so ->
libhydra.so.0.0.0
lrwxrwxrwx 1 root users       17 Sep 12 16:16 libhydra.so.0 ->
libhydra.so.0.0.0
-rwxr-xr-x 1 root users   624275 Sep 12 16:16 libhydra.so.0.0.0
-rw-r--r-- 1 root users  6625246 Sep 12 16:16 libstrongswan.a
-rwxr-xr-x 1 root users     1012 Sep 12 16:16 libstrongswan.la
lrwxrwxrwx 1 root users       22 Sep 12 16:16 libstrongswan.so ->
libstrongswan.so.0.0.0
lrwxrwxrwx 1 root users       22 Sep 12 16:16 libstrongswan.so.0 ->
libstrongswan.so.0.0.0
-rwxr-xr-x 1 root users  3168090 Sep 12 16:16 libstrongswan.so.0.0.0


Appreciate your response.

Thanks
Naveen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20130912/77791508/attachment.html>


More information about the Users mailing list