-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Client-based filtering settings do not work when filtering is turned off in the general settings #2875
Comments
Thanks for the report. As far as I know, it “works as intended”, although I personally am not sure if that's what we want to go on doing. @ameshkov, what would you say? |
@ainar-g actually, this looks like a bug to me. |
Does this mean that client-level filtering should remain in effect when global filtering settings are turned off? Will AdGuard fix this? Thanks. |
@ameshkov, I've seen the code that does this, so I just assumed that that was the correct behaviour. If it is a bug, I'll see if I can fix it in the current cycle. |
@ainar-g well, note that I am talking about the global setting (settings -> general -> block domains using filters), not the "Disable/enable protection" button on the main screen. |
I have faced the same issue and hope it to be fixed |
Hello, @ZeroClover. The snapshot that should fix this issue have been published to the edge channel. Could please check, if our solution works for you? |
We'll close this issue for now. Please, feel free to reopen it, if the problem remains. |
@EugeneOne1 There seems to be a new problem. After upgrading to v0.106.3, even if "Block domains using filters" is turned off in the global settings, it will still block domains using filters without matching any client rules. I have tried this on multiple instances of my AGH and restarted AGH before each attempt. And tested with an older version of Docker image, and indeed this issue occurs and only occurs on version 0.106.3. |
Hello, @ZeroClover. It seems that the bug is related to the original issue. Thanks for reporting, we're going to reopen it. |
Merge in DNS/adguard-home from 2875-client-filtering to master Updates #2875. Squashed commit of the following: commit b3b9582 Author: Eugene Burkov <e.burkov@adguard.com> Date: Mon May 24 14:22:29 2021 +0300 all: use atomic, log changes commit 9304d8b Author: Eugene Burkov <e.burkov@adguard.com> Date: Mon May 24 13:43:22 2021 +0300 all: fix client filtering settings
Hello again, @ZeroClover. The latest edge builds are already contain our solution. Could you please try it and check if the problem is gone? |
Hi @EugeneOne1 , I have tested on v0.107.0-a.45+755a5055 and confirmed that both issues mentioned in this issue had been fixed. Thank you for your prompt handling. |
Thank you for testing. We'll close the issue for now. |
Merge in DNS/adguard-home from 2875-client-settings to master Updates AdguardTeam#2875. Squashed commit of the following: commit 43e5af6 Author: Eugene Burkov <e.burkov@adguard.com> Date: Wed May 12 18:12:03 2021 +0300 all: fix client settings applying
Merge in DNS/adguard-home from 2875-client-filtering to master Updates AdguardTeam#2875. Squashed commit of the following: commit b3b9582 Author: Eugene Burkov <e.burkov@adguard.com> Date: Mon May 24 14:22:29 2021 +0300 all: use atomic, log changes commit 9304d8b Author: Eugene Burkov <e.burkov@adguard.com> Date: Mon May 24 13:43:22 2021 +0300 all: fix client filtering settings
Prerequisites
Issue Details
v0.105.2
Snapcraft
Dedicated server
AMD64
Debian 10
I set up a new instance of AGH and want to disable filtering by default and enable it only for specific clients.
I disabled Filter in the general settings of AGH, then added a client with the name ADfilter and set the Identifier to adfilter and enabled filtering for this client.
Screenshot:
After that, I tried DNS queries through DoH (https://example.com/dns-query/adfilter) and DoT (tls://adfilter.example.com), and the ad domain resolves normally and is not filtered.
Screenshot:
The text was updated successfully, but these errors were encountered: