Maloon
Regular Contributor
wild guess, but i read somewhere that iOS proposes ciphers that it wont actually use (specifically >modp1024), maybe defaults changed between versions or something, so try the ciphers i'm using by adding the following;
ike = aes256-sha256-ecp256,aes256-sha384-ecp384,aes256-sha1-modp1024
esp = aes128gcm128-ecp384bp-noesn,aes256-sha256,aes256-sha1
This will force iOS to use ecp256, which it does merrily for me.
Tried, but ipsec keeps crashing. This is the log:
Code:
07[NET] received packet: from 213.143.61.85[3005] to 192.168.1.10[500] (604 bytes)
07[ENC] parsed IKE_SA_INIT request 0 [ SA KE No N(REDIR_SUP) N(NATD_S_IP) N(NATD_D_IP) N(FRAG_SUP) ]
07[IKE] 213.143.61.85 is initiating an IKE_SA
07[CFG] selected proposal: IKE:AES_CBC_256/HMAC_SHA2_256_128/PRF_HMAC_SHA2_256/ECP_256
07[IKE] local host is behind NAT, sending keep alives
07[IKE] remote host is behind NAT
07[IKE] DH group MODP_2048 unacceptable, requesting ECP_256
07[ENC] generating IKE_SA_INIT response 0 [ N(INVAL_KE) V ]
07[NET] sending packet: from 192.168.1.10[500] to 213.143.61.85[3005] (58 bytes)
07[NET] received packet: from 213.143.61.85[3005] to 192.168.1.10[500] (412 bytes)
07[ENC] parsed IKE_SA_INIT request 0 [ SA KE No N(REDIR_SUP) N(NATD_S_IP) N(NATD_D_IP) N(FRAG_SUP) ]
07[IKE] 213.143.61.85 is initiating an IKE_SA
07[CFG] selected proposal: IKE:AES_CBC_256/HMAC_SHA2_256_128/PRF_HMAC_SHA2_256/ECP_256
07[IKE] local host is behind NAT, sending keep alives
07[IKE] remote host is behind NAT
07[IKE] sending cert request for "C=US, O=Let's Encrypt, CN=Let's Encrypt Authority X3"
07[ENC] generating IKE_SA_INIT response 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) CERTREQ N(FRAG_SUP) N(MULT_AUTH) V ]
07[NET] sending packet: from 192.168.1.10[500] to 213.143.61.85[3005] (301 bytes)
13[NET] received packet: from 213.143.61.85[3008] to 192.168.1.10[4500] (512 bytes)
13[ENC] unknown attribute type (25)
13[ENC] parsed IKE_AUTH request 1 [ IDi N(INIT_CONTACT) N(MOBIKE_SUP) IDr CPRQ(ADDR DHCP DNS MASK ADDR6 DHCP6 DNS6 (25)) N(ESP_TFC_PAD_N) N(NON_FIRST_FRAG) SA TSi TSr ]
13[CFG] looking for peer configs matching 192.168.1.10[mydomain.com]...213.143.61.85[iOS]
13[CFG] selected peer config 'IKEv2-EAP'
13[IKE] initiating EAP_IDENTITY method (id 0x00)
13[IKE] received ESP_TFC_PADDING_NOT_SUPPORTED, not using ESPv3 TFC padding
13[IKE] peer supports MOBIKE