AdguardTeam / AdguardTeam/AdGuardHome

Show all the rules blocked the request

Đang mở
#6,347 5 bình luận 3 reaction 0 người được giao Xem trên GitHub
feature request
Ngôn ngữ chính
TypeScript
Star
36.9k
Fork
2.5k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Prerequisites

- [X] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions) and found no answer

- [X] I have searched other issues and found no duplicates

- [X] I want to request a feature or enhancement and not ask a question

### The problem

Currently in the logs, it'll only display one rule that blocked the request, even if there're many rulesets will block the request:

![](https://github.com/AdguardTeam/AdGuardHome/assets/3691490/91f4fa6e-9565-4e0f-8183-5adae8f06e8c)

So when debugging some problem or trying to improve the user experience, it sometimes could be hard to properly disable all related blocklists. Though there's an allowlist feature, but the scenario and usage could be different.

### Proposed solution

It would be more convenient to know that rules also blocked it, NextDNS & Pi-Hole both provide similar function just like this, just as reference:

![](https://github.com/AdguardTeam/AdGuardHome/assets/3691490/5352058e-775d-4de7-a1a9-6d553d795210)

```
$ pihole -q app-measurement.com
Match found in https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts:
app-measurement.com
Match found in https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt:
||app-measurement.com^
Match found in https://adguardteam.github.io/HostlistsRegistry/assets/filter_29.txt:
||app-measurement.com^
Match found in https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-blocklist.txt:
app-measurement.com
Match found in https://raw.githubusercontent.com/badmojr/1Hosts/master/mini/domains.txt:
region1.app-measurement.com
Match found in https://raw.githubusercontent.com/r-a-y/mobile-hosts/master/AdguardTracking.txt:
app-measurement.com
```

### Alternatives considered and additional information

_No response_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.