AdguardTeam / AdguardForAndroid

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

Don't pass DNS64 settings to DNSLibs if IPv4 network interface is present #3886

Closed Sergey-Lyapin closed 3 years ago

Sergey-Lyapin commented 3 years ago

@adguard-bot commented on Tue Jun 08 2021

Issue URL (Incorrect Blocking)

https://www.leboncoin.fr/

Comment

Bonjour Impossible d'ouvrir l'application leboncoin quand je suis connecté à mon réseau WiFi et avec adguard actif. Cordialement

Screenshots

Screenshot 1 ![Screenshot 1](http://res.cloudinary.com/adguard/image/private/s--LROSHwjp--/v1623144081/q044eqs6dx5joqduughn.jpg)
Screenshot 2 ![Screenshot 2](http://res.cloudinary.com/adguard/image/private/s--HoZ9Dapu--/v1623144111/omc9wqdmjzfqcgii2u5d.jpg)

System configuration

Information value
Platform: Android 11
AdGuard product: AdGuard for Android v3.6.2 (23)
Browser: Chrome
AdGuard mode: VPN
Filtering quality: High-quality
HTTPS filtering: enabled
Stealth mode: disabled
DNS filtering: server: https://dns.google/dns-query
filters: https://filters.adtidy.org/android/filters/15_optimized.txt
Filters: Ad Blocking:
AdGuard Mobile Ads,
AdGuard Base

Privacy:
AdGuard Tracking Protection

Social Widgets:
AdGuard Social Media

Annoyances:
AdGuard Annoyances

Language-specific:
AdGuard French
Userscripts: https://userscripts.adtidy.org/release/adguard-extra/1.0/adguard-extra.meta.js

@adguard-bot commented on Mon Jun 14 2021

Issue URL (Incorrect Blocking)

https://www.leboncoin.fr/annonces/offres/ile_de_france

Comment

Le problème vient du fait que les filtres de nuisances sont activés. Si je les désactive, je peux effectuer des recherches sur le site (je peux écrire dans l’espace recherche) sinon impossible d’écrire quoique ce soit sur l’encadré recherche.

Screenshots

Screenshot 1 ![Screenshot 1](https://reports-img.adguard.com/9SFEjEl.png)
Screenshot 2 ![Screenshot 2](https://reports-img.adguard.com/6gsO5OA.png)

System configuration

Information value
AdGuard product: AdGuard/AdGuard Pro for iOS v4.2.0
Browser: Safari
DNS filtering: disabled
Filters: Ad Blocking:
AdGuard Base,
AdGuard Mobile Ads,
EasyList,
Peter Lowe's Blocklist

Privacy:
AdGuard Tracking Protection,
EasyPrivacy

Social Widgets:
AdGuard Social Media,
Fanboy's Social Blocking List

Annoyances:
Fanboy's Annoyances,
Web Annoyances Ultralist,
Adblock Warning Removal List,
I don't care about cookies,
EasyList Cookie List

Security:
Spam404,
NoCoin Filter List

Other:
AdGuard Experimental,
AdGuard DNS,
BarbBlock

Language-specific:
AdGuard French,
Liste FR

@stanislav-atr commented on Tue Jun 15 2021

I was not able to reproduce the problem on my device, @AdguardTeam/filters-maintainers, please, take a look. You can download the app here.


@Sergey-Lyapin commented on Tue Jun 22 2021

https://github.com/AdguardTeam/AdguardFilters/issues/85199#issuecomment-860306030 This problem is caused by I don't care about cookies , rule leboncoin.fr##main[role="main"] ~ div:not([data-reactid]) @kiboke please take a look


@Sergey-Lyapin commented on Wed Jun 23 2021

https://github.com/AdguardTeam/AdguardFilters/issues/85199#issue-914672511 this app works good on my device


@8fab8 commented on Wed Jun 23 2021

Bonjour, Il faut désactiver les filtres DNS sinon j'ai plusieurs applications qui ne fonctionnent pas : leboncoin, eufy, xiaomi mais seulement avec mon opérateur FREE quand je suis connecté en wifi. En 4G, je n'ai pas de problème.


@kiboke commented on Thu Jun 24 2021

@Sergey-Lyapin I'll remove the potentially problematic filter, I think there's no need for it anymore.


@Sergey-Lyapin commented on Thu Jun 24 2021

Hi @8fab8 Please try to check with AdGuard DNS server. And could you specify links to apps which are doesn't work? (btw leboncoin is not available in my country)


@8fab8 commented on Fri Jun 25 2021

Hi @Sergey-Lyapin, I have the same problem with AdGuard DNS server. Here several examples of apps and a game which are doesn't work :

Thank for your help


@Sergey-Lyapin commented on Fri Jun 25 2021

@8fab8 thank you for these links, all apps work good on my device with your settings.

Please send us debug logs(attach them to comment or send to filters@adguard.com), here is the instruction: https://kb.adguard.com/en/android/solving-problems/log

Sergey-Lyapin commented 3 years ago

logs: https://github.com/AdguardTeam/AdguardFilters/issues/85199#issuecomment-869625714

artemiv4nov commented 3 years ago

@8fab8 @Sergey-Lyapin Hi!

I looked at the logs and find nothing. AdGuard bypasses the app traffic because HTTPS filtering is disallowed for this application.

As a temporary solution, I can recommend the "ad blocking" disabling for this application or even the "traffic filtering" disabling.

Birbber commented 3 years ago

@8fab8 @Sergey-Lyapin Any news? Did it help?

8fab8 commented 3 years ago

Hi, not really because I have the same problem on different apps but only with my wifi network. If I want to launch them I disable adguard.

admitrevskiy commented 3 years ago

@8fab8 hi! Please disable DNS filtering and try to reproduce the issue.

8fab8 commented 3 years ago

It's OK without DNS filtering

admitrevskiy commented 3 years ago

At the moment we are passing the settings for DNS64 in case there is an IPv6 interface. Apparently, it was assumed that if the system has an IPv6 interface and the system upstream responds to ipv4only.arpa, then it should be the only one (why keep a DNS64 server if you do not have an IPv6-only network?). However, the assumption collapsed: looks like some ISPs are using both IPv4 and DNS64 upstreams simultaneously.

So, we should not pass DNS64 settings to DNSLibs if IPv4 network interface is present.