Custom filtering rules not working correct #825

Closed
opened 2026-03-04 00:50:58 -05:00 by deekerman · 2 comments
Owner

Originally created by @hdtvspace on GitHub (Jul 22, 2019).

Custom rules
...
||stern.de/gujAd.js$match-case
||commsvc.stern.de^$important
||www.stern.de/gujAd.js$match-case
||commsvc.stern.de^
...

Adguard Home is not blocking the anti adblocker script from commsvc.stern.de or an simple ad script gujAd.js withe the custom rules above. Tried also 0.0.0.0 commsvc.stern.de. But the subdomain commsvc.stern.de is always loaded.

And the webmaster from stern has made a big mistake and delivers the script from a subdomain, easy to block. But adguard home is not blocking it.

Steps to reproduce

  1. Load the site www.stern.de, click and read an article and scroll down. Load the browser developer tools and the scripts are loaded.

Expected behavior

Customs riles are not applied

Actual behavior

The scripts are loaded. Also the safari browser cache is before loading the site cleared.

Screenshot:

Your environment

Description Value
Version of AdGuard Home server: (e.g. v1.0)
0.97.1
How did you setup DNS configuration: (System/Router/IoT)
Router
If it's a router or IoT, please write device model: (e.g. Raspberry Pi 3 Model B)
Raspberry Pi 3 Model B
Operating system and version: (e.g. Ubuntu 18.04.1)
raspian buster
Originally created by @hdtvspace on GitHub (Jul 22, 2019). <!--- Help us to avoid duplicate reports, make sure you have searched through existing issues before submitting a new one--> Custom rules ... ||stern.de/gujAd.js$match-case ||commsvc.stern.de^$important ||www.stern.de/gujAd.js$match-case ||commsvc.stern.de^ ... Adguard Home is not blocking the anti adblocker script from commsvc.stern.de or an simple ad script gujAd.js withe the custom rules above. Tried also 0.0.0.0 commsvc.stern.de. But the subdomain commsvc.stern.de is always loaded. And the webmaster from stern has made a big mistake and delivers the script from a subdomain, easy to block. But adguard home is not blocking it. <!--- If you are requesting a new feature, tell us how it should work in free form--> <!--- If you are reporting a bug, submit the detailed description using the template below--> ### Steps to reproduce <!--- Provide a link to a live example or a clear set of steps to reproduce the issue--> 1. Load the site www.stern.de, click and read an article and scroll down. Load the browser developer tools and the scripts are loaded. 2. 3. 4. ### Expected behavior <!--- Tell us what should happen --> Customs riles are not applied ### Actual behavior <!--- Tell us what happens instead --> The scripts are loaded. Also the safari browser cache is before loading the site cleared. <details><summary>Screenshot:</summary> <!--- drag and drop, upload or paste your screenshot to this area--> </details> ### Your environment <!--- Please include all relevant details about the environment you experienced the bug in --> | Description | Value | | -------------- | ------------ | | Version of AdGuard Home server:| (e.g. v1.0) 0.97.1 | How did you setup DNS configuration:| (System/Router/IoT) Router | If it's a router or IoT, please write device model:| (e.g. Raspberry Pi 3 Model B) Raspberry Pi 3 Model B | Operating system and version:| (e.g. Ubuntu 18.04.1) raspian buster
deekerman 2026-03-04 00:50:58 -05:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@hdtvspace commented on GitHub (Jul 23, 2019):

So after an whole restart of the raspberry and the imac the ||commsvc.stern.de^ is working and blocked, but not rules with match-case e.g. ||stern.de/gujAd.js$match-case

The JS file is always loaded.

@hdtvspace commented on GitHub (Jul 23, 2019): So after an whole restart of the raspberry and the imac the ||commsvc.stern.de^ is working and blocked, but not rules with match-case e.g. ||stern.de/gujAd.js$match-case The JS file is always loaded.
Author
Owner

@ameshkov commented on GitHub (Jul 24, 2019):

DNS server operates with domains, not full URLs.

The only way to filter actual HTTP requests is to implement a proxy. Vote for this feature request if you'd like to have it: #391

@ameshkov commented on GitHub (Jul 24, 2019): DNS server operates with domains, not full URLs. The only way to filter actual HTTP requests is to implement a proxy. Vote for this feature request if you'd like to have it: #391
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AdGuardHome#825
No description provided.