diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2026-06-11 02:40:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-11 02:40:07 +0200 |
| commit | 1372654e8a2d392db35aae8f62586d55319ccb3c (patch) | |
| tree | 016ba24eda7a01d2b764c036e5e963493f1199f1 /gl/strstr.c | |
| parent | cc8d5b55dea3862d274891c1e91804576006d28b (diff) | |
| download | monitoring-plugins-1372654e8a2d392db35aae8f62586d55319ccb3c.tar.gz | |
* check_ntp_time: add polling delay
NTP server can have rate limiting which might be triggered by
check_ntp_time due to many requests in a short time span.
This patch adds a default delay (of 0.5s) between requests to each server
and a command line option (--poll-delay) to make this delay
configurable.
Co-authored-by: Lorenz Kästle <lorenz@vulgrim.de>
* check_ntp_time: verify whether socket path fits into address struct
check_ntp_time could be give a too long (>108 bytes) socket path
to work with, which would potentially crash the program.
This patch validates to length beforehand and stops execution
in that case.
Co-authored-by: Lorenz Kästle <lorenz@vulgrim.de>
---------
Co-authored-by: Paul Crawford <paul@crawford-space.co.uk>
Co-authored-by: Lorenz Kästle <lorenz@vulgrim.de>
Diffstat (limited to 'gl/strstr.c')
0 files changed, 0 insertions, 0 deletions
