AdguardTeam / AdguardForAndroid

Open bug tracker for Android version of AdGuard.
https://adguard.com/
1.3k stars 89 forks source link

AdGuard restarting when VPN routing mode is changed from Local VPN to Automatic Proxy #5082

Open maxikuzmin opened 9 months ago

maxikuzmin commented 9 months ago

Issue Details

So, in summary:

If "Reconfigure Automatic proxy when network changes" is enabled, ADG keeps restarting. Even if it doesn't crash, these repeated restarts, in themselves, are a compromise to privacy. If, on the other hand, the "Reconfigure Automatic proxy when network changes" is disabled, then ADG almost certainly crashes upon reentering a known Wi-Fi, which results in no network

Steps to reproduce:

Globally the problem is that some vendors have removed the NAT table for IPv6, but at the same time do not allow to use transparent socket. Since we expect either one or the other to be available, the problem described above happens

In theory, in one of the system updates, the device will get a new linux kernel and the problem will fix itself, but we can try to fix it

Please, if you have a recurrence of this problem, please vote for it

Proposed solution

AdGuard should remain enabled as long as connection to network is stable - continuing to protect the device.

Alternative solution

No response

sconim commented 9 months ago

Still having this problem. Restarting no longer bothers me however, quite often ADG apparently crashes and it completely blocks traffic. Toggling ADG off and back on addresses the problem most of the times however, communication may be missed.

maxikuzmin commented 9 months ago

@Cblue2133 @senseigit @innit86 could you be more specific about which devices you are using? It would be nice to understand on which devices this issue is recurring on

sconim commented 9 months ago

@Cblue2133 @senseigit @innit86 could you be more specific about which devices you are using? It would be nice to understand on which devices this issue is recurring on

ADG:

senseigit commented 9 months ago

@Cblue2133 @senseigit @innit86 could you be more specific about which devices you are using? It would be nice to understand on which devices this issue is recurring on

POCO X4 PRO (2201116PI) Android - 12 MIUI - 13 Adguard adblocker - 4.2.118 Adguard Vpn - 2.6.25 Operating in compatibility mode