-
Notifications
You must be signed in to change notification settings - Fork 100
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
Filtering doesn't work with 4G and IPv6 #3527
Comments
Sorry for the late reply, but can you try with the latest Nightly version? |
I tried latest nightly and it didn't fixed problem. On IPv4 everything works ok. |
Hello, we've released a fresh Beta version, can you check with it? |
Seems it's ok now. |
Edit: Cosmetic filtering still has problems like empty space left by ads. No such problems on IPv4. |
Please, check with the latest nightly version, if the issue is still relevant, provide the settings and debug logs to [email protected] |
Logs sent. |
Did not received the logs yet, can you re-send them again with the subject "issue/3527"? |
Ok, I've resend logs. |
@the4anoni Got it, thanks. |
I am experiencing a similar issue which first had me believe that the problem is related to the filters because of several missed ads: AdguardTeam/AdguardFilters#63551 However, it turned out that it's related to the way I'm connected to the internet when Adguard is enabled. My cellular connection is native IPv6 (IPv4 realized only via carrier grade NAT), while the WiFis which I am using are IPv6+IPv4 (at home) or IPv4 only (at work). I made the following observations, each one starting from the state where Adguard is disabled:
So, for me the issue is clearly related to the type of internet connection in the moment where Adguard protection is started. If it's cellular -> only DNS filtering works. If it's WiFi -> everything works. If I switch to cellular from WiFi, I have to avoid restarting Adguard protection, because then it stops working properly. In all cases btw., the browser reports "Adguard Personal CA" as certificate when HTTPS is used. However, this has no implication for if content is actually filtered or not. Information about device etc.: Google Pixel 3a, Android 11 (just updated yesterday when it became available), Adguard 3.5, local VPN, no root. |
I found a workaround that is mitigating the problem at least for my mobile carrier (Telekom in Germany). Very recently, they changed the default APN to "internet.v6.telekom" which is establishing a native IPv6 only connection and only assigns a public IPv6 adress to individual devices. IPv4 is then realized by carrier grade NAT (i.e. thousands of users share the same public v4 adress). However, in case of compatibility problems they allow you to change the APN back to "internet.telekom" which restores the old dual stack behaivor, i.e. you will get both a public IPv6 and IPv4 adress. By changing to the old APN, Adguard immediately starts to work via cellular data. I have no clue though why Adguard cares about the type of internet connection depending on whether you get a real public IPv4 adress or not. Do this issue still get some attention, because it seems like the bot unassigned the developers (sry, I don't know too much about how Github issue tracker works)? :D |
Hi. I noticed on two Android devices (both running on Android 10) that Adguard doesn't work when using a cellular connection with 4G and IPv6, same as with @the4anoni and @tox1c90. |
I wanted to ask for this too, I've reported issue almost half year ago. |
As there is still no response from @TheHasagi , I'm mention other people from Adguard Team: @Chinaski1 @zzebrum @ameshkov @sfionov |
Thanks for mentioning me. Am I right that both of you're running AG in the standard VPN mode? |
Yes, at least me. |
Yes, me too! |
Yes, on both devices. |
Got it, we're looking into it, thank you! |
There are two problems:
So, in IPv6-only networks with well known NAT64 prefix (64:ff9b::/96), any IPv4 site will not be filtered, including local.adguard.org So, this needs to be resolved on both AdGuard and CoreLibs sides. On AdGuard side, 64:ff9b::/96 should be in filtered prefixes list. |
Seems that there's nothing to do with this in CL, it is enough to add route. |
@sfionov what exactly should we have in |
2000::/3 is only included route now, not excluded. Excluded routes should stay empty.
We doesn't have a simple tool that do prefixes exclusion (only Java and C++ classes) but they are not needed in this case. |
Ah, my bad, missed that. So it seems a code change is necessary to solve this one. @artemiv4nov when do we plan to push the next nightly update? |
Well, the task completed, and the next nightly version will be available this week. |
Thank you! I can confirm it's working now with the latest nightly. |
For me latest nightly fixed issue too. Thanks @ameshkov @artemiv4nov |
Issue Details
Like in topic.
See: AdguardTeam/AdguardFilters#60690 (comment)
Expected Behavior
Filtering should work.
Actual Behavior
It doesn't
The text was updated successfully, but these errors were encountered: