AdguardTeam / AdguardTeam/AdGuardHome

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

Abierto
#7,659 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
36.9k
Forks
2.5k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### 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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.