AdguardTeam / AdGuardHome

Network-wide ads & trackers blocking DNS server
https://adguard.com/adguard-home/overview.html
GNU General Public License v3.0
25.79k stars 1.85k forks source link

Persistent client statistics don't take MAC addresses into account #4649

Open dredjohn21 opened 2 years ago

dredjohn21 commented 2 years ago

Issue Details

Expected Behavior

I have added Persistent Clients with both MAC Addresses and Names, and expect to see the activity mapped to these clients on the Dashboard and also on the Persistent Clients page. I also expect to see the "Runtime Clients" list shrink as I add these items to the "Persistent Clients" section.

Actual Behavior

Instead, I only see the Dashboard show the client activity properly mapped. When I'm on the Client Settings page I don't see any "Requests" (activity) next to the Persistent Clients. I also don't see any reduction in the "Runtime Clients" list.

For example, I added my mobile phone to the Persistent Clients list with my phone's MAC Address. I see on the Dashboard that AdGuard has properly associated the IP Address and traffic with my MAC Address. However, on the Persistent Client's list there is no activity reflected on the right column under 'Requests'. And at the bottom under "Runtime Clients" I still see my mobile phone listed with activity showing up under 'Requests'.

What is odd is if I add my mobile phone's IP Address to the Persistent Client setting then the "Request" data will show up properly, but it will still not remove the device from the "Runtime Client" section.

It seems like the logic to map the values is not working properly on this "Client Settings" screen. Ideally the logic should mirror what is used on the Dashboard, and as devices get added to "Persistent Clients" they should be removed from the "Runtime Client" section.

Screenshots

Screenshot:

Additional Information

ainar-g commented 2 years ago

Hello. We had an issue about it, but I can't seem to find it now. Basically, the statistics are currently only collected by clients' IP addresses, not MAC addresses or some other IDs. We'll try to fix that during the v0.108 cycle.

dredjohn21 commented 2 years ago

Hello. We had an issue about it, but I can't seem to find it now. Basically, the statistics are currently only collected by clients' IP addresses, not MAC addresses or some other IDs. We'll try to fix that during the v0.108 cycle.

Cool thank you!!

35314u commented 3 weeks ago

When will the problem be solved? Some time has passed since the last entry here and the problem still exists.