AdguardTeam / AdguardTeam/AdGuardHome

/etc/hosts style custom filtering rule mis-described in query log

Đang mở
#7,659 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
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/categories/q-a) and found no answer

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

- [x] I want to report a bug and not [ask a question or ask for help](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a)

- [x] I have set up AdGuard Home correctly and [configured clients to use it](https://github.com/AdguardTeam/AdGuardHome/wiki/Clients). (Use the [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) for help with installing and configuring clients.)

### Platform (OS and CPU architecture)

Linux, ARM64

### Installation

Docker

### Setup

On one machine

### AdGuard Home version

v0.107.57

### Action

### Setup

Image

### Test 1

```
$ dig @localhost +short test.home.arpa
192.168.132.100
```

### Query log 1

Image

### Expected result

That:

* "Test 1" would return the expected response to the query; **and**
* "Query Log 1" would report that the query **not** blocked.

### Actual result

"Test 1" shows the expected response to the query (ie the query was **not** blocked) but "Query Log 1" reports that the query **was** blocked. It's a contradiction in terms.

### Additional information and/or screenshots

When I noticed that "Test 1" was succeeding while "Query Log 1" was reporting that the query was blocked, I wondered what would happen if I explicitly unblocked the query.

### My reaction

![Image](https://github.com/user-attachments/assets/51bc5e29-4edc-493c-a0ec-c68cf03496dc)

Click "Unblock". The result is:

Image

### Test 2

```
$ dig @localhost +short test.home.arpa
$
```

Silence indicates no response.

### Query log 2

Image

### Summary

"Test 2" indicates the query was blocked while "Query Log 2" erroneously suggests the query succeeded.

When it comes to using `/etc/hosts` style custom filtering rules, it looks to me like AdGuardHome has things back-to-front.

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.