Closed sgrayban closed 2 years ago
The NTP Client list includes all clients including those that are blocked due to ACL configuration. This is due to clients being monitored prior to ACL processing.
Agree, It would be better to flag these somehow or exclude them from the list.
Next release will have:
while not excluding blocked clients, this will easially show that they are being blocked and/or rate limited. Rate limited clients with yellow warning, and blocked clients with a red X.
work in progress:
released 1.21
Blocked client not being flagged with red X as described above:
Give it a bit longer... minimum of 10 blocked packets until it's flagged
if ((entry->cnt[DIRECTION_RX] >= 10) && !entry->cnt[DIRECTION_TX])
{
color = ALERT_RED;
}
The Client JSON indicates there is no alert for the blocked client: { "10.10.10.164":{"first":{"ago":"562 sec ago","utc":1634061341,"when":"2021-10-12 17:55:41 UTC"},"last":{"ago":"561 sec ago","utc":1634061342,"when":"2021-10-12 17:55:42 UTC"},"rx freq":0.5,"rx count":2,"tx count":0,"alert":null} }
Ahh, ok. Sorry.
From: Dave @.> Sent: Tuesday, October 12, 2021 2:06 PM To: centerclick/feedback @.> Cc: srob1 @.>; Comment @.> Subject: Re: [centerclick/feedback] Filter client list to not include blocked IP's (#5)
Give it a bit longer...
if ((entry->cnt[DIRECTION_RX] >= 10) && !entry->cnt[DIRECTION_TX])
{
color = ALERT_RED;
}
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/centerclick/feedback/issues/5#issuecomment-941248051, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHTTACEXYT3WPELHEZP3O2TUGR2JBANCNFSM5DYB43PA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
What is the yellow triangle icon?
either of the following conditions:
tx>0 and ratio of rx/tx >= 5 this indicates large amounts of drops or rate limits or rx>=10 and rx_freq < 6 seconds this indicates consistent frequent requests
Or someway to exclude them in the list or sort the list between allowed and blocked IP's