mirror of
https://github.com/abh/ntppool.git
synced 2026-04-25 19:45:50 +03:00
[PR #134] [CLOSED] Improve monitoring script #732
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntppool#732
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?
📋 Pull Request Information
Original PR: https://github.com/abh/ntppool/pull/134
Author: @mlichvar
Created: 7/28/2016
Status: ❌ Closed
Base:
master← Head:master📝 Commits (1)
dffee9fImprove monitoring script📊 Changes
1 file changed (+3 additions, -4 deletions)
View changed files
📝
monitor(+3 -4)📄 Description
Check NTP responses if they don't have unsychronized leap and require that the root distance has a reasonable value to ignore servers that would be ignored by some widely used NTP clients (e.g. ntpd using
default tos mindist).
This should affect only a very small number of servers, which for some reason report a large root delay or dispersion, but still have an offset small enough to keep a good score. I think I saw two or three. This check could be useful in case there is a large-scale DoS attack on the pool servers (e.g. exploiting some of the vulnerabilities that were found in ntpd in the past) which would leave them unsynchronized.
This should partially work with net-ntp which doesn't report the fractional part of root dispersion (fixed in abh/net-ntp#2). The check will be just less sensitive, i.e. root dispersion has to reach 2 seconds.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.