I just updated to iOS 16 today and it seems to have broken my vpn-on-demand connection. This was working well before the system update on OpenVPN 3.3.2. I have restarted, uninstalled/reinstalled the app, uninstalled and reinstalled the profile to no avail.
The on demand connection just cycles rapidly through "Connecting..." and "Disconnecting..." with the following logs:
Code: Select all
[Sep 16, 2022, 09:16:47] START CONNECTION
[Sep 16, 2022, 09:16:47] ----- OpenVPN Start -----
OpenVPN core 3.git::081bfebe ios arm64 64-bit
[Sep 16, 2022, 09:16:47] OpenVPN core 3.git::081bfebe ios arm64 64-bit
[Sep 16, 2022, 09:16:47] Frame=512/2048/512 mssfix-ctrl=1250
[Sep 16, 2022, 09:16:47] UNUSED OPTIONS
3 [id] [8D9B82E9-DCD9-4472-98AF-562489CBB522]
6 [mute] [20]
7 [mute-replay-warnings]
8 [nobind]
10 [persist-key]
11 [persist-tun]
12 [rcvbuf] [393216]
14 [resolv-retry] [infinite]
15 [sndbuf] [393216]
[Sep 16, 2022, 09:16:47] EVENT: RESOLVE
[Sep 16, 2022, 09:16:47] Contacting x.x.x.x:xxxxx via UDP
[Sep 16, 2022, 09:16:47] EVENT: WAIT
[Sep 16, 2022, 09:16:47] Connecting to [x.x.com]:xxxxx (x.x.x.x) via UDPv4
[Sep 16, 2022, 09:16:47] EVENT: CONNECTING
[Sep 16, 2022, 09:16:47] Tunnel Options:V4,dev-type tun,link-mtu 1557,tun-mtu 1500,proto UDPv4,keydir 1,cipher AES-128-CBC,auth SHA1,keysize 128,tls-auth,key-method 2,tls-client
[Sep 16, 2022, 09:16:47] Creds: UsernameEmpty/PasswordEmpty
[Sep 16, 2022, 09:16:47] Peer Info:
IV_VER=3.git::081bfebe
IV_PLAT=ios
IV_NCP=2
IV_TCPNL=1
IV_PROTO=30
IV_CIPHERS=AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305:AES-128-CBC
IV_IPv6=0
IV_AUTO_SESS=1
IV_SSO=webauth,openurl,crtext
[Sep 16, 2022, 09:16:48] VERIFY OK: depth=1, /C=US/ST=xx/L=xx/O=xx/OU=xx/CN=xx/name=xx/emailAddress=mail@host.domain, signature: RSA-SHA1
[Sep 16, 2022, 09:16:48] VERIFY OK: depth=0, /C=US/ST=xx/L=xx/O=xx/OU=xx/CN=xx/name=xx/emailAddress=mail@host.domain, signature: RSA-SHA1
[Sep 16, 2022, 09:16:48] SSL Handshake: peer certificate: CN=xx, 1024 bit RSA, cipher: TLS_AES_256_GCM_SHA384 TLSv1.3 Kx=any Au=any Enc=AESGCM(256) Mac=AEAD
[Sep 16, 2022, 09:16:48] Session is ACTIVE
[Sep 16, 2022, 09:16:48] EVENT: WARN TLS: received certificate signed with SHA1. Please inform your admin to upgrade to a stronger algorithm. Support for SHA1 signatures will be dropped in the future
[Sep 16, 2022, 09:16:48] EVENT: GET_CONFIG
[Sep 16, 2022, 09:16:48] Sending PUSH_REQUEST to server...
[Sep 16, 2022, 09:16:48] OPTIONS:
0 [route] [10.x.x.x] [255.255.255.255]
1 [route] [10.x.x.x] [255.255.255.0]
2 [route] [10.x.x.x] [255.255.224.0]
3 [dhcp-option] [DNS] [10.x.x.x]
4 [dhcp-option] [DNS] [10.x.x.x]
5 [redirect-gateway] [def1]
6 [route] [10.x.x.x] [255.255.255.0]
7 [topology] [net30]
8 [ping] [10]
9 [ping-restart] [120]
10 [ifconfig] [10.x.x.x] [10.x.x.x]
11 [peer-id] [3]
12 [cipher] [AES-256-GCM]
13 [block-ipv6]
[Sep 16, 2022, 09:16:48] PROTOCOL OPTIONS:
cipher: AES-256-GCM
digest: NONE
key-derivation: OpenVPN PRF
compress: NONE
peer ID: 3
control channel: tls-auth enabled
[Sep 16, 2022, 09:16:48] EVENT: ASSIGN_IP
[Sep 16, 2022, 09:16:48] NIP: preparing TUN network settings
[Sep 16, 2022, 09:16:48] NIP: init TUN network settings with endpoint: x.x.x.x
[Sep 16, 2022, 09:16:48] NIP: adding IPv4 address to network settings 10.x.x.x/255.255.255.252
[Sep 16, 2022, 09:16:48] NIP: adding (included) IPv4 route 10.x.x.x/30
[Sep 16, 2022, 09:16:48] NIP: adding (included) IPv4 route 10.x.x.x/32
[Sep 16, 2022, 09:16:48] NIP: adding (included) IPv4 route 10.x.x.x/24
[Sep 16, 2022, 09:16:48] NIP: adding (included) IPv4 route 10.x.x.x/19
[Sep 16, 2022, 09:16:48] NIP: adding (included) IPv4 route 10.x.x.x/24
[Sep 16, 2022, 09:16:48] NIP: redirecting all IPv4 traffic to TUN interface
[Sep 16, 2022, 09:16:48] NIP: adding DNS 10.x.x.x
[Sep 16, 2022, 09:16:48] NIP: adding DNS 10.x.x.x
[Sep 16, 2022, 09:16:48] NIP: blocking all IPv6 traffic
[Sep 16, 2022, 09:16:48] Connected via NetworkExtensionTUN
[Sep 16, 2022, 09:16:48] EVENT: CONNECTED x.x.com:xxxxx (x.x.x.x) via /UDPv4 on NetworkExtensionTUN/10.x.x.x/ gw=[/]
[Sep 16, 2022, 09:16:49] EVENT: DISCONNECTED
[Sep 16, 2022, 09:16:49] EVENT: CORE_THREAD_DONE
[Sep 16, 2022, 09:16:49] EVENT: DISCONNECT_PENDING
[Sep 16, 2022, 09:16:49] Raw stats on disconnect:
BYTES_IN : 17701
BYTES_OUT : 10200
PACKETS_IN : 42
PACKETS_OUT : 51
TUN_BYTES_IN : 5624
TUN_BYTES_OUT : 13008
TUN_PACKETS_IN : 39
TUN_PACKETS_OUT : 32
[Sep 16, 2022, 09:16:49] Performance stats on disconnect:
CPU usage (microseconds): 53169
Tunnel compression ratio (uplink): 1.81366
Tunnel compression ratio (downlink): 1.36078
Network bytes per CPU second: xxxxx760
Tunnel bytes per CPU second: 350429
If anyone can help, I'd really appreciate it.