-
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
Disallowed domains must be case insensitive #3115
Comments
Definitely a bug. |
Appears to be a rather simple bug:
The bug is originally in the https://github.com/AdguardTeam/urlfilter library. |
Additional context: Currently (and for the past 2 years), any queries for domains in Disallowed domains, are simply given a REFUSED result, and the queries are still listed in both AGH's statistics and logs. As a result, it is far from unusual for AGH installations where port 53 is open, to see their frontpage statistics consist primarily of several dozen webhost port scanners, usually ones from PR-China, Romania, Netherlands, and Russia. What me and Horay wish for, is for Disallowed domains to be treated the same way Disallowed clients do, so that the queries do not show up in the statistics or logs. |
@DandelionSprout that's exactly how disallowed domains work - the queries are simply dropped. You can see REFUSED result only when for some reason domain has passed the check. |
Merge in DNS/adguard-home from 3115-domain-case to master Updates #3115. Squashed commit of the following: commit 02b6d27 Author: Eugene Burkov <[email protected]> Date: Tue May 11 19:56:06 2021 +0300 all: fix typos commit cdd1de6 Author: Eugene Burkov <[email protected]> Date: Tue May 11 19:37:37 2021 +0300 dnsforward: fix disallowed domains case matching
Hello to you, @HorayNarea and @DandelionSprout. We've brought the little fix for this issue. It's available in the latest edge builds as of snapshot f41d5b9. Could you please check, if it works fine now? |
On quick glance it looks like it works 👍 |
I'm on the beta channel (as opposed to Nightly) and can't test tonight, at least. |
We'll close the issue for now. Please, feel free to reopen it in case you face it again. |
Merge in DNS/adguard-home from 3115-domain-case to master Updates #3115. Squashed commit of the following: commit 02b6d27 Author: Eugene Burkov <[email protected]> Date: Tue May 11 19:56:06 2021 +0300 all: fix typos commit cdd1de6 Author: Eugene Burkov <[email protected]> Date: Tue May 11 19:37:37 2021 +0300 dnsforward: fix disallowed domains case matching
Merge in DNS/adguard-home from 3115-domain-case to master Updates AdguardTeam#3115. Squashed commit of the following: commit 02b6d27 Author: Eugene Burkov <[email protected]> Date: Tue May 11 19:56:06 2021 +0300 all: fix typos commit cdd1de6 Author: Eugene Burkov <[email protected]> Date: Tue May 11 19:37:37 2021 +0300 dnsforward: fix disallowed domains case matching
Prerequisites
Issue Details
In the DNS settings one can configure "disallowed domains", queries to these domains actually are not answered but they still appear in the logs and the clients who send these queries appear in the statistics on the dashboard.
Expected Behavior
AGH handles "disallowed domains" exactly like "disallowed clients", so these queries should not appear in logs and statistics.
Actual Behavior
AGH only ignores queries for "disallowed domains" but still includes them in logs and dashboard statistics.
Screenshots
Screenshot:
Additional Information
I consider this a bug, if you don't agree please understand this as a feature request for a config flag to have both "disallowed"-things be treated alike.
The text was updated successfully, but these errors were encountered: