AdguardTeam / AdguardForAndroid

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

Automatic Proxy (Root) does not work with mobile data connection #5231

Open mitomenai opened 4 months ago

mitomenai commented 4 months ago

Please answer the following questions for yourself before submitting an issue

AdGuard version

4.3.1

Environment

HTTPS filtering

Root access

Integration with AdGuard VPN

Routing mode

Automatic proxy

Ad Blocking

No response

Privacy

No response

Social

No response

Annoyances

No response

Security

No response

Language-specific

No response

Other

No response

Which DNS server do you use?

Cloudflare DNS

DNS protocol

DNS-over-HTTPS

Custom DNS

No response

What Stealth Mode options do you have enabled?

No response

Issue Details

Steps to reproduce:

  1. Enable Automatic Proxy routing.
  2. Enable DNS filtering with Cloudflare DNS.
  3. Turn off Wifi and switch to mobile data.

Expected Behavior

AdGuard DNS continues to function and DNS lookups appear in recent activity. Visiting https://1.1.1.1/help should indicate that Cloudflare DoH.

Actual Behavior

AdGuard DNS filtering is no longer functional and DNS lookups do not appear in recent activity. Visiting https://1.1.1.1/help indicates that the device is using the carrier's IPv6 DNS address.

Screenshots

No response

Additional Information

This is likely related to #4976 - Automatic Proxy functions on wifi and completely fails when switching over to mobile data. I believe it may be related to the fact that T-Mobile is only IPv6. VPN routing works pretty well, however my impression for when I purchased the $80 license was that I would be able to use root instead of VPN. After spending 12 hours fighting this problem, it appears to not be the case.

Is there any workaround for the carrier hijacking the DNS?

Versty commented 4 months ago

@mitomenai Thank you for reporting. We have tried to reproduce the described behaviour on our side, but to no avail. Therefore, we would like to take a look at the logs from your device. Please follow the steps below.

  1. Enable debug logging: Settings -> General -> Advanced -> Logging level -> Debug

  2. Reproduce the issue, then remember the exact time when it happened

  3. Collect logs: Settings -> General -> Advanced -> Export logs and system info

  4. Send this file to devteam@adguard.com:

    • mention the 5231 number in the subject
    • specify the exact time when the issue occurred
Versty commented 3 months ago

@mitomenai Any updates?

DrAnonym666 commented 3 months ago

Same here! With root a very bad connection. From page load errors to no connection at all. Xiaomi Redmi Note 10 Pro. Latest Magisk. Floor Rome.

Versty commented 3 months ago

@DrAnonym666 Have you sent the logs from your device as requested in the comment above?

luxontw commented 2 months ago

@DrAnonym666 Have you sent the logs from your device as requested in the comment above?

A log of when this situation occurred has been sent to the specified email. Please check it. Thank you.

Versty commented 2 months ago

@luxontw Thank you! We received the logs and are investigating.

harkirtancr7 commented 2 months ago

I thought I was the only one. this makes me happy

harkirtancr7 commented 2 months ago

any updates would be appreciated!!

harkirtancr7 commented 2 months ago

@DrAnonym666 Have you sent the logs from your device as requested in the comment above?

A log of when this situation occurred has been sent to the specified email. Please check it. Thank you.

you got it working yet?