AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

In Adguard app the filter not work persistent client

Open FredrikM97 opened this issue 1 month ago • 7 comments

Prerequisites

Platform (OS and CPU architecture)

Linux, AMD64 (aka x86_64)

Installation

Custom package (OpenWrt, HomeAssistant, etc; please mention in the description)

Setup

On one machine

AdGuard Home version

6.3.1

Action

Replace the following command with the one you're calling or a description of the failing action:

In home Assistant I run Adguard home with DHCP server as an app and trying to setup persistent clients. However, the request count remain 0 for Mac adress and client Id. I did notice if I change the client name to match up or client name the filter when pressing the count works even if value still 0. But when changing to custom name it attempts to filter on it.

Expected result

Expected the filter to work with client Id and Mac adress. Filter should translate to the IP or allow filter on Mac/client id.

Actual result

It searches by client name defined in persistent clients.

Additional information and/or screenshots

No response

FredrikM97 avatar Nov 03 '26 18:11 FredrikM97

Also the count only seems to work when I use ip. All other identifiers should the count as 0

FredrikM97 avatar Nov 03 '26 18:11 FredrikM97

It will only work with IP address.

To use MAC address, AGH also needs to be the DHCP server.

Dynamic5912 avatar Nov 03 '26 19:11 Dynamic5912

4. It will only work with IP address. To use MAC address, AGH also needs to be the DHCP server.

I confirm that even if AGH is set as DHCP server, the count remains stuck at 0 for clients identified with mac-address identifier. It works only for clients identified with IP address or client ID.

alelaba avatar Nov 03 '26 20:11 alelaba

I have DHCP enabled and running in AGH and running through Adguard. Client id is not working either for the count. Only ip adress works.

Intake the Mac adress from DHCP leases.

Static leases work to prevent it from changing but not suitable to change all devices into static leases.

FredrikM97 avatar Nov 05 '26 09:11 FredrikM97

Why not make devices static?

It keeps logs and reporting consistent.

Dynamic5912 avatar Nov 05 '26 09:11 Dynamic5912

I can reproduce this. I’ll forward it to the dev team.

VsevolodNaumov avatar Nov 05 '26 10:11 VsevolodNaumov

@Dynamic5912 Because that bloat the static devices. I would rather have required devices as static that should never change. Having static ips just to allow a friendly name for persistent devices is kind of odd and does not solve the underlying issue with mac and client ids not working.

FredrikM97 avatar Nov 05 '26 11:11 FredrikM97