mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2026-03-04 00:01:12 -05:00
Add a "Blocked by CIDR" colour/stamp distinction to the "Top Clients" statistic #1480
Labels
No labels
P1: Critical
P2: High
P3: Medium
P4: Low
UI
bug
cannot reproduce
compatibility
dependencies
docker
documentation
duplicate
enhancement
enhancement
external libs
feature request
good first issue
help wanted
infrastructure
invalid
localization
needs investigation
performance
potential-duplicate
question
recurrent
research
snap
waiting for data
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/AdGuardHome#1480
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DandelionSprout on GitHub (Apr 14, 2020).
Prerequisites
Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
Problem Description
I realised around 2 weeks ago that disallowed clients are now shown in a pink-red colour in the "Top Clients" statistic, as seen in the screencap below. This is pretty convenient, so that one doesn't spend unnecessary time on disallowing IPs that have already been blocked.
However, this does currently not occur if the IP has been disallowed by a CIDR in "Disallowed Clients". This means that
66.42.114.152is shown as white and not blocked in "Top Clients", even if66.42.64.0/18is present in "Disallowed Clients" and indeed does disallow that particular IP.Proposed Solution
That clients that have been disallowed by CIDRs, are shown in a shade of red that differs slightly from that of clients disallowed by singular IPs; and also that a "Blocked by CIDR" tag, "Unblock CIDR" button or "Unblock IP" button is shown when hovering over it.
Alternatives Considered
Whichever other way of distinguishing such CIDR-disallowed client IPs.
Additional Information
None that I'm aware of at the moment.
@ameshkov commented on GitHub (Apr 15, 2020):
This is possible but requires some work on the client-side to interpret disallowed CIDRs and check the IP addresses properly. However, unblocking IP, in this case, won't be possible -- excluding an IP address from a CIDR range is not a trivial task.
@Aikatsui commented on GitHub (Oct 3, 2020):
https://github.com/AdguardTeam/AdGuardHome/issues/2150
@ameshkov commented on GitHub (Oct 5, 2020):
Btw, we implemented unblocking CIDRs after all so I guess this feature request is not needed anymore. The fix is available in the edge channel.