Hello All, I'm using the StrongSwan VPN Client on Android for establishing an IPSec tunnel in my solution. However, I want to do some changes in the native code of libandroidbridge and hence I need to rebuild the libraries (.sos) required for the VPN Client. When I built the Strongswan's native libraries with Android's ICS source code, I'm getting some errors while running on Non-rooted and Samsung Galaxy S3 devices.
Following is an snippet of the error logs: 01-07 11:29:26.861: D/SM_SS_Integration(4539): ************************************************* 01-07 11:29:26.861: D/SM_SS_Integration(4539): ************** VPN Service connecting !! 01-07 11:29:26.861: D/CharonVpnService(4539): creating a new default builder 01-07 11:29:26.871: I/charon(4539): 00[LIB] plugin 'pkcs8' failed to load: Cannot load library: load_library[1092]: Library '/ipsec/libstrongswan-pkcs8.so' not found 01-07 11:29:26.881: I/charon(4539): 00[NET] unable to bind socket: Permission denied 01-07 11:29:26.881: I/charon(4539): 00[NET] could not open IPv6 socket, IPv6 disabled 01-07 11:29:26.881: I/charon(4539): 00[NET] unable to bind socket: Permission denied 01-07 11:29:26.881: I/charon(4539): 00[NET] could not open IPv4 socket, IPv4 disabled 01-07 11:29:26.881: I/charon(4539): 00[NET] could not create any sockets 01-07 11:29:26.881: I/charon(4539): 00[CFG] failed to get Android control socket 01-07 11:29:26.881: I/charon(4539): 00[CFG] could not bind stroke socket: Permission denied 01-07 11:29:26.891: I/charon(4539): 00[DMN] loaded plugins: androidbridge charon android-log openssl fips-prf random nonce pubkey pkcs1 pem xcbc hmac kernel-netlink socket-default android stroke eap-identity eap-mschapv2 eap-md5 eap-gtc 01-07 11:29:26.891: I/charon(4539): 00[JOB] spawning 16 worker threads 01-07 11:29:26.891: I/CharonVpnService(4539): charon started 01-07 11:29:26.891: I/charon(4539): 11[NET] no socket implementation registered, receiving failed 01-07 11:29:27.722: I/charon(4539): 11[IKE] initiating IKE_SA android[1] to 50.56.28.47 01-07 11:29:27.972: I/charon(4539): 11[ENC] generating IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) ] 01-07 11:29:27.972: I/charon(4539): 11[NET] sending packet: from 192.168.3.101[0] to 50.56.28.47[500] 01-07 11:29:27.972: I/charon(4539): 12[NET] no socket implementation registered, sending failed Is this some kind of known issue or I'm missing something while building the libraries? The same libraries works fine with Strongswan VPN Client on Galaxy Nexus( Rooted) , but doesn't works on non-rooted devices and Samsung Galaxy S3. I'm using strongswan-strongswan-014d007 src code to build the libraries. Looking fwd for a reply on this. Thanks Deepika
_______________________________________________ Users mailing list [email protected] https://lists.strongswan.org/mailman/listinfo/users
