-
-
Notifications
You must be signed in to change notification settings - Fork 558
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show names in top clients list from long-term data #2245
Conversation
Signed-off-by: Christian König <ckoenig@posteo.de>
This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there: https://discourse.pi-hole.net/t/top-clients-long-term-data/56325/7 |
As this is about evaluating long term queries, does that cover for
|
This is using |
Co-authored-by: RD WebDesign <github@rdwebdesign.com.br> Signed-off-by: yubiuser <ckoenig@posteo.de>
Our reference is still the IP. If a
Again this will add a new entry in the database and show up as different client in the top list. The same happens if the client changes its name. If the same IP/name combination is used by a different "real" client this will still be attributed to the same database client. |
This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there: https://discourse.pi-hole.net/t/pi-hole-ftl-v5-16-web-v5-13-and-core-v5-11-1-released/56384/1 |
This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there: https://discourse.pi-hole.net/t/resolve-client-ip-adresses-for-the-long-term-data-section/55655/2 |
Replaces the IPs in the Top Clients list (in long-term data) with names if applicable. Since pi-hole/FTL#1255 we store more data in the long-term database, e.g. the name of the client which made the query. We can use that to fetch the name when generating the top list.
Re-uses the code from #2202 to get the name of the client if one is set.
By submitting this pull request, I confirm the following:
git rebase
)