Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VPN fails to connect with big sized DNS filterlist #2157

Open
3 tasks done
Morku opened this issue Apr 14, 2023 · 2 comments
Open
3 tasks done

VPN fails to connect with big sized DNS filterlist #2157

Morku opened this issue Apr 14, 2023 · 2 comments

Comments

@Morku
Copy link

Morku commented Apr 14, 2023

Prerequisites

Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

Issue Details

  • AdGuard version:
    • 4.4.6.998
  • Device model and storage size:
    • iPhone Xs Max 64gb
  • Operating system and version:
    • iOS 16.4.1
  1. Add https://raw.githubusercontent.com/hagezi/dns-blocklists/main/adblock/pro.plus.txt under DNS protection
  2. Enable DNS protection
  3. VPN tries to connect, but fails and is never done -> no connection to internet possible
  4. when disable HaGeZi's DNS list, VPN is just connecting fine again
  5. enable HaGeZi's DNS list and the issue directly recovers

That the issue is related due size of the DNS list, is just speculation of my side. The issue could be something else, but over 500.000 entries is big. It also could be something in the filterlist specific.

A logfile will be send after.

Expected Behavior

In best case a connected and working fine VPN connection with filtering.

If size is the limit/problem -> a better indictation why VPN protection won't work with the filterlist.
At current state, the user is adding the big DNS filterlist, but has no idea why it is not working.

Actual Behavior

DNS VPN does not connect. You can see under VPN setting, how it tries to connect and even "Disconnect" to retry to connect in a loop. Check the Video.

Video

Video:
RPReplay_Final1681453982.mp4
@ghost
Copy link

ghost commented Apr 14, 2023

Reproduced on iOS 16.4.1, iPhone 13 Pro 128gb.

@Versty
Copy link
Contributor

Versty commented May 12, 2023

@Morku Yes, your guess is correct, this issue is caused by the size of DNS filter list.
iOS have a strict limit of 15MB RAM usage in the background for the VPN tunnel.
We are currently refactoring the application code, some kind of warning for this case should definitely be added in the future versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants