Issue #1210
Updated by Tobias Brunner almost 10 years ago
Hi guys,
I am install strongswan on android, and i find some time, i can't connnect to server in 15 minutes, below is the android log, can it be fixed?
<pre>
11-14 06:18:41.105 I/charon ( 3378): 00[KNL] kernel-netlink plugin might require CAP_NET_ADMIN capability
11-14 06:18:41.125 I/charon ( 3378): 00[LIB] loaded plugins: androidbridge charon android-log openssl fips-prf random nonce pubkey pkcs1 pkcs8 pem xcbc hmac sock
11-14 06:18:41.125 I/charon ( 3378): 00[LIB] unable to load 9 plugin features (9 due to unmet dependencies)
11-14 06:18:41.125 I/charon ( 3378): 00[JOB] spawning 16 worker threads
11-14 06:18:41.476 I/charon ( 3378): 02[IKE] initiating IKE_SA android[5] to 160.16.241.200
11-14 06:18:41.606 I/charon ( 3378): 02[ENC] generating IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) N(FRAG_SUP) ]
11-14 06:18:41.606 I/charon ( 3378): 02[NET] sending packet: from 10.32.35.190[50236] to 160.16.241.200[500] (996 bytes)
11-14 06:18:41.736 I/charon ( 3378): 12[NET] received packet: from 160.16.241.200[500] to 10.32.35.190[50236] (38 bytes)
11-14 06:18:41.736 I/charon ( 3378): 12[ENC] parsed IKE_SA_INIT response 0 [ N(INVAL_KE) ]
11-14 06:18:41.736 I/charon ( 3378): 12[IKE] peer didn't accept DH group MODP_2048, it requested MODP_1024
11-14 06:18:41.766 I/charon ( 3378): 12[IKE] initiating IKE_SA android[5] to 160.16.241.200
11-14 06:18:41.766 I/charon ( 3378): 12[ENC] generating IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) N(FRAG_SUP) ]
11-14 06:18:41.766 I/charon ( 3378): 12[NET] sending packet: from 10.32.35.190[50236] to 160.16.241.200[500] (868 bytes)
11-14 06:18:43.608 I/charon ( 3378): 14[IKE] retransmit 1 of request with message ID 0
11-14 06:18:43.608 I/charon ( 3378): 14[NET] sending packet: from 10.32.35.190[50236] to 160.16.241.200[500] (868 bytes)
11-14 06:18:43.768 I/charon ( 3378): 15[IKE] retransmit 2 of request with message ID 0
11-14 06:18:43.768 I/charon ( 3378): 15[NET] sending packet: from 10.32.35.190[50236] to 160.16.241.200[500] (868 bytes)
11-14 06:18:46.410 I/charon ( 3378): 16[IKE] retransmit 3 of request with message ID 0
11-14 06:18:46.410 I/charon ( 3378): 16[NET] sending packet: from 10.32.35.190[50236] to 160.16.241.200[500] (868 bytes)
11-14 06:18:47.692 I/charon ( 3378): 03[IKE] giving up after 3 retransmits
11-14 06:18:47.692 I/charon ( 3378): 03[IKE] peer not responding, trying again (2/0)
11-14 06:18:47.712 I/charon ( 3378): 03[IKE] initiating IKE_SA android[5] to 160.16.241.200
11-14 06:18:47.722 I/charon ( 3378): 03[ENC] generating IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) N(FRAG_SUP) ]
11-14 06:18:47.722 I/charon ( 3378): 03[NET] sending packet: from 10.32.35.190[50236] to 160.16.241.200[500] (868 bytes)
11-14 06:18:47.732 I/charon ( 3378): 01[IKE] destroying IKE_SA in state CONNECTING without notification
</pre>
I am install strongswan on android, and i find some time, i can't connnect to server in 15 minutes, below is the android log, can it be fixed?
<pre>
11-14 06:18:41.105 I/charon ( 3378): 00[KNL] kernel-netlink plugin might require CAP_NET_ADMIN capability
11-14 06:18:41.125 I/charon ( 3378): 00[LIB] loaded plugins: androidbridge charon android-log openssl fips-prf random nonce pubkey pkcs1 pkcs8 pem xcbc hmac sock
11-14 06:18:41.125 I/charon ( 3378): 00[LIB] unable to load 9 plugin features (9 due to unmet dependencies)
11-14 06:18:41.125 I/charon ( 3378): 00[JOB] spawning 16 worker threads
11-14 06:18:41.476 I/charon ( 3378): 02[IKE] initiating IKE_SA android[5] to 160.16.241.200
11-14 06:18:41.606 I/charon ( 3378): 02[ENC] generating IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) N(FRAG_SUP) ]
11-14 06:18:41.606 I/charon ( 3378): 02[NET] sending packet: from 10.32.35.190[50236] to 160.16.241.200[500] (996 bytes)
11-14 06:18:41.736 I/charon ( 3378): 12[NET] received packet: from 160.16.241.200[500] to 10.32.35.190[50236] (38 bytes)
11-14 06:18:41.736 I/charon ( 3378): 12[ENC] parsed IKE_SA_INIT response 0 [ N(INVAL_KE) ]
11-14 06:18:41.736 I/charon ( 3378): 12[IKE] peer didn't accept DH group MODP_2048, it requested MODP_1024
11-14 06:18:41.766 I/charon ( 3378): 12[IKE] initiating IKE_SA android[5] to 160.16.241.200
11-14 06:18:41.766 I/charon ( 3378): 12[ENC] generating IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) N(FRAG_SUP) ]
11-14 06:18:41.766 I/charon ( 3378): 12[NET] sending packet: from 10.32.35.190[50236] to 160.16.241.200[500] (868 bytes)
11-14 06:18:43.608 I/charon ( 3378): 14[IKE] retransmit 1 of request with message ID 0
11-14 06:18:43.608 I/charon ( 3378): 14[NET] sending packet: from 10.32.35.190[50236] to 160.16.241.200[500] (868 bytes)
11-14 06:18:43.768 I/charon ( 3378): 15[IKE] retransmit 2 of request with message ID 0
11-14 06:18:43.768 I/charon ( 3378): 15[NET] sending packet: from 10.32.35.190[50236] to 160.16.241.200[500] (868 bytes)
11-14 06:18:46.410 I/charon ( 3378): 16[IKE] retransmit 3 of request with message ID 0
11-14 06:18:46.410 I/charon ( 3378): 16[NET] sending packet: from 10.32.35.190[50236] to 160.16.241.200[500] (868 bytes)
11-14 06:18:47.692 I/charon ( 3378): 03[IKE] giving up after 3 retransmits
11-14 06:18:47.692 I/charon ( 3378): 03[IKE] peer not responding, trying again (2/0)
11-14 06:18:47.712 I/charon ( 3378): 03[IKE] initiating IKE_SA android[5] to 160.16.241.200
11-14 06:18:47.722 I/charon ( 3378): 03[ENC] generating IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) N(FRAG_SUP) ]
11-14 06:18:47.722 I/charon ( 3378): 03[NET] sending packet: from 10.32.35.190[50236] to 160.16.241.200[500] (868 bytes)
11-14 06:18:47.732 I/charon ( 3378): 01[IKE] destroying IKE_SA in state CONNECTING without notification
</pre>