[strongSwan] Can't load eap-mschapv2 plugin after a source files installation

Marwane L marwane.lechguer at gmail.com
Mon May 30 14:03:15 CEST 2016


Hi,
I'm trying to install strongswan 5.4.0 on ubuntu using the source files,
and i have troubles with eap-maschapv2 plugin. The error i get after
starting an eap-mschapv2 connection is : EAP method not supported, sending
EAP_NAK

This is confusing because charon debug says that the plugin was loaded
successfully  : May 30 11:35:03 vm-marwane-2 charon: 00[LIB] plugin
'eap-identity': loaded successfully
May 30 11:35:03 vm-marwane-2 charon: 00[LIB] plugin 'eap-mschapv2': loaded
successfully

but at the same time, the result of "ipsec statusall" command doesn't list
the eap-mschapv2 plugin : loaded plugins: charon aes des rc2 sha2 sha1 md5
random nonce x509 revocation constraints pubkey pkcs1 pkcs7 pkcs8 pkcs12
pgp dnskey sshkey pem fips-prf gmp xcbc cmac hmac attr kernel-netlink
resolve socket-default stroke vici updown eap-identity xauth-generic

I used the following procedure during the instalation :
1)./configure --prefix=/usr --sysconfdir=/etc --enable-eap-mschapv2
--enable-eap-identity
I can see eap-mschapv2 plugin in the result of the ./configure command :
 strongSwan will be built with the following plugins
-----------------------------------------------------
libstrongswan: aes des rc2 sha2 sha1 md5 random nonce x509 revocation
constraints pubkey pkcs1 pkcs7 pkcs8 pkcs12 pgp dnskey sshkey pem fips-prf
gmp xcbc cmac hmac
libcharon:     attr kernel-netlink resolve socket-default stroke vici
updown eap-identity eap-mschapv2 xauth-generic
libtnccs:

but not in "ipsec statusall" result after the installation.

2)make
3)make install

As you can see, unlike eap-mschapv2 plugin, the eap-identity plugin is
correctly installed and it is present in the loaded plugin list of "ipsec
statusall" command.

Thanks for your help,

Marwane
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20160530/472f36de/attachment.html>


More information about the Users mailing list