Skip to content

Improve monitoring script#134

Closed
mlichvar wants to merge 1 commit intoabh:masterfrom
mlichvar:master
Closed

Improve monitoring script#134
mlichvar wants to merge 1 commit intoabh:masterfrom
mlichvar:master

Conversation

@mlichvar
Copy link
Copy Markdown
Contributor

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.

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).
@abh
Copy link
Copy Markdown
Owner

abh commented Aug 26, 2016

Very nice, thank you. I'll merge it and tweak it a little so the bad responses gets logged accordingly with the 'score', too.

@abh abh deleted the branch abh:master August 26, 2021 01:15
@abh abh closed this Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants