Skip to content

Try to recover from revocation of Android's always-on VPN settings

cyberta requested to merge fix_always-on_revocation_leak into main

Try to recover from revocation of Android's always-on VPN settings while Onionmasq was still running

This MR adds a new event that gets triggered if the network interface for the VPN becomes unavailable. That's normally the case if the VPNService was shut down. However it is also the case if Android's always-on VPN settings have been turned off, while the VPNService was still running. The event can be used to detect this case.

The changes in ArtiToyVPN show how to use that event to fix the VPN leak described in tpo/applications/vpn#208

Edited by cyberta

Merge request reports

Loading