Any thoughts on this:
Running T-Mobile Iphone XS, replicated on IOS 12.2 and 12.3 Beta 1 and Beta 2
Algo VPN installed on Lightsail (IPv4 Only)
Vultr, Digital Ocean, and EC2 (IP4v and IPv6 both enabled)
Algo issue link -
https://github.com/trailofbits/algo/issues/1385
I’ve been using the IOS WG app since its release and in the past 7-10 days, the VPN stops transitioning from WiFi to LTE when disconnecting via IOS control center or walking away from WiFi. the WG app shows
connected, but no traffics passes, once I restart the tunnel I’m able to connect. Prior to this, the transition worked.
Logs and Screenshots below
Logs using current Algo code on Lightsail
—-transition from WiFi to LTE — via waking away from wifi.
2019-04-07 21:12:12.673495: [NET] Network change detected with requiresConnection route and interface order [en0, utun2, pdp_ip0, pdp_ip0]
2019-04-07 21:12:12.680611: [NET] DNS64: mapped 3.84.245.133 to itself.
2019-04-07 21:12:12.681644: [NET] UAPI: Transition to peer configuration
2019-04-07 21:12:12.682070: [NET] peer(jDeN…juhA) - UAPI: Updating endpoint
2019-04-07 21:12:12.682388: [NET] Binding sockets to interface 8
2019-04-07 21:12:12.682680: [NET] Unable to bind v6 socket to interface:%!(EXTRA syscall.Errno=invalid argument)
2019-04-07 21:12:12.703063: [NET] peer(jDeN…juhA) - Failed to send data packet write udp4 0.0.0.0:53791->3.84.245.133:51820: sendto: network is unreachable
2019-04-07 21:12:12.715650: [NET] peer(jDeN…juhA) - Failed to send data packet write udp4 0.0.0.0:53791->3.84.245.133:51820: sendto: network is unreachable
2019-04-07 21:12:13.088433: [NET] Network change detected with satisfied route and interface order [pdp_ip0, utun2]
2019-04-07 21:12:13.122617: [NET] peer(jDeN…juhA) - Failed to send data packet write udp4 0.0.0.0:53791->3.84.245.133:51820: sendto: network is unreachable
2019-04-07 21:12:13.134085: [NET] peer(jDeN…juhA) - Failed to send data packet write udp4 0.0.0.0:53791->3.84.245.133:51820: sendto: network is unreachable
2019-04-07 21:12:13.135346: [NET] peer(jDeN…juhA) - Failed to send data packet write udp4 0.0.0.0:53791->3.84.245.133:51820: sendto: network is unreachable
2019-04-07 21:12:13.251423: [NET] DNS64: mapped 3.84.245.133 to 2607:7700::2a:0:1:354:f585
2019-04-07 21:12:13.251890: [NET] UAPI: Transition to peer configuration
2019-04-07 21:12:13.252095: [NET] peer(jDeN…juhA) - UAPI: Updating endpoint
2019-04-07 21:12:13.252255: [NET] Binding sockets to interface 2
2019-04-07 21:12:13.252389: [NET] Unable to bind v6 socket to interface:%!(EXTRA syscall.Errno=invalid argument)
2019-04-07 21:12:13.292057: [NET] peer(jDeN…juhA) - Handshake did not complete after 5 seconds, retrying
—-force tunnel restart—
Sending handshake initiation
2019-04-07 21:13:46.269371: [NET] peer(jDeN…juhA) - Failed to send handshake initiation write udp6 [::]:53791->[2607:7700:0:2a:0:1:354:f585]:51820: sendto: no route to host
2019-04-07 21:13:47.018560: [NET] UAPI: Processing get operation
2019-04-07 21:13:47.657352: [NET] UAPI: Processing get operation
2019-04-07 21:13:47.673847: [NET] UAPI: Processing get operation
2019-04-07 21:13:48.675486: [NET] UAPI: Processing get operation
2019-04-07 21:13:49.675755: [NET] UAPI: Processing get operation
2019-04-07 21:13:50.043331: [APP] startDeactivation: Tunnel: Arkadia
2019-04-07 21:13:50.049399: [APP] Tunnel 'Arkadia' connection status changed to 'disconnecting'
2019-04-07 21:13:50.373260: [NET] Stopping tunnel
2019-04-07 21:13:50.373977: [NET] Device closing
2019-04-07 21:13:50.374774: [NET] Routine: event worker - stopped
2019-04-07 21:13:50.376321: [NET] Routine: TUN reader - stopped
2019-04-07 21:13:50.376883: [NET] Routine: receive incoming IPv4 - stopped
2019-04-07 21:13:50.377108: [NET] Routine: receive incoming IPv6 - stopped
2019-04-07 21:13:50.377425: [NET] peer(jDeN…juhA) - Stopping...
2019-04-07 21:13:50.377699: [NET] peer(jDeN…juhA) - Routine: sequential receiver - stopped
2019-04-07 21:13:50.377929: [NET] peer(jDeN…juhA) - Routine: sequential sender - stopped
2019-04-07 21:13:50.378133: [NET] Routine: encryption worker - stopped
2019-04-07 21:13:50.378316: [NET] Routine: encryption worker - stopped
2019-04-07 21:13:50.378477: [NET] Routine: encryption worker - stopped
2019-04-07 21:13:50.378631: [NET] Routine: encryption worker - stopped
2019-04-07 21:13:50.378834: [NET] Routine: handshake worker - stopped
2019-04-07 21:13:50.379012: [NET] Routine: encryption worker - stopped
2019-04-07 21:13:50.379178: [NET] Routine: decryption worker - stopped
2019-04-07 21:13:50.379337: [NET] Routine: encryption worker - stopped
2019-04-07 21:13:50.379498: [NET] Routine: decryption worker - stopped
2019-04-07 21:13:50.379649: [NET] Routine: decryption worker - stopped
2019-04-07 21:13:50.379812: [NET] Routine: decryption worker - stopped
2019-04-07 21:13:50.379968: [NET] Routine: decryption worker - stopped
2019-04-07 21:13:50.380118: [NET] Routine: handshake worker - stopped
2019-04-07 21:13:50.380271: [NET] Routine: handshake worker - stopped
2019-04-07 21:13:50.380540: [NET] Routine: handshake worker - stopped
2019-04-07 21:13:50.380771: [NET] Routine: handshake worker - stopped
2019-04-07 21:13:50.380969: [NET] Routine: handshake worker - stopped
2019-04-07 21:13:50.381144: [NET] Routine: decryption worker - stopped
2019-04-07 21:13:50.381311: [NET] peer(jDeN…juhA) - Routine: nonce worker - stopped
2019-04-07 21:13:50.381697: [NET] Interface closed
2019-04-07 21:13:50.398005: [APP] Tunnel 'Arkadia' connection status changed to 'disconnected'
2019-04-07 21:13:50.494592: [APP] Tunnel 'Arkadia' connection status changed to 'connecting'
2019-04-07 21:13:50.593360: [NET] App version: 0.0.20190319 (1); Go backend version: 0.0.20181222
2019-04-07 21:13:50.593849: [NET] Starting tunnel from the OS directly, rather than the app
2019-04-07 21:13:50.661066: [NET] Tunnel interface is utun2
2019-04-07 21:13:50.704650: [NET] DNS64: mapped 3.84.245.133 to 2607:7700::2a:0:1:354:f585
2019-04-07 21:13:50.707040: [NET] Attaching to interface
2019-04-07 21:13:50.711360: [NET] Routine: decryption worker - started
2019-04-07 21:13:50.711752: [NET] Routine: decryption worker - started
2019-04-07 21:13:50.711984: [NET] Routine: handshake worker - started
2019-04-07 21:13:50.712146: [NET] Routine: handshake worker - started
2019-04-07 21:13:50.712785: [NET] Routine: encryption worker - started
2019-04-07 21:13:50.713264: [NET] Routine: decryption worker - started
2019-04-07 21:13:50.713670: [NET] Routine: encryption worker - started
2019-04-07 21:13:50.714084: [NET] Routine: handshake worker - started
2019-04-07 21:13:50.714346: [NET] Routine: handshake worker - started
2019-04-07 21:13:50.714525: [NET] Routine: handshake worker - started
2019-04-07 21:13:50.714747: [NET] Routine: encryption worker - started
2019-04-07 21:13:50.714982: [NET] Routine: decryption worker - started
2019-04-07 21:13:50.715216: [NET] Routine: encryption worker - started
2019-04-07 21:13:50.715390: [NET] Routine: encryption worker - started
2019-04-07 21:13:50.715565: [NET] Routine: decryption worker - started
2019-04-07 21:13:50.715725: [NET] Routine: encryption worker - started
2019-04-07 21:13:50.715895: [NET] Routine: handshake worker - started
2019-04-07 21:13:50.716058: [NET] Routine: TUN reader - started
2019-04-07 21:13:50.716408: [NET] Routine: event worker - started
2019-04-07 21:13:50.716680: [NET] Routine: decryption worker - started
2019-04-07 21:13:50.717007: [NET] UAPI: Updating private key
2019-04-07 21:13:50.718143: [NET] UAPI: Removing all peers
2019-04-07 21:13:50.718379: [NET] UAPI: Transition to peer configuration
2019-04-07 21:13:50.720139: [NET] peer(jDeN…juhA) - UAPI: Created
2019-04-07 21:13:50.720455: [NET] peer(jDeN…juhA) - UAPI: Updating endpoint
2019-04-07 21:13:50.720763: [NET] peer(jDeN…juhA) - UAPI: Updating persistent keepalive interval
2019-04-07 21:13:50.720904: [NET] peer(jDeN…juhA) - UAPI: Removing all allowedips
2019-04-07 21:13:50.721078: [NET] peer(jDeN…juhA) - UAPI: Adding allowedip
2019-04-07 21:13:50.722473: [NET] Routine: receive incoming IPv4 - started
2019-04-07 21:13:50.722927: [NET] Routine: receive incoming IPv6 - started
2019-04-07 21:13:50.723217: [NET] UDP bind has been updated
2019-04-07 21:13:50.723356: [NET] peer(jDeN…juhA) - Starting...
2019-04-07 21:13:50.723625: [NET] peer(jDeN…juhA) - Routine: sequential receiver - started
2019-04-07 21:13:50.723824: [NET] peer(jDeN…juhA) - Routine: sequential sender - started
2019-04-07 21:13:50.724046: [NET] Device started
2019-04-07 21:13:50.724072: [NET] peer(jDeN…juhA) - Routine: nonce worker - started
2019-04-07 21:13:50.729175: [APP] Tunnel 'Arkadia' connection status changed to 'connected'
2019-04-07 21:13:50.739717: [NET] UAPI: Processing get operation
2019-04-07 21:13:50.850833: [NET] peer(jDeN…juhA) - Sending handshake initiation
2019-04-07 21:13:50.856845: [NET] peer(jDeN…juhA) - Awaiting keypair
2019-04-07 21:13:50.961456: [NET] peer(jDeN…juhA) - Received handshake response
2019-04-07 21:13:50.962122: [NET] peer(jDeN…juhA) - Obtained awaited keypair
2019-04-07 21:13:51.732883: [NET] UAPI: Processing get operation
2019-04-07 21:13:52.733067: [NET] UAPI: Processing get operation