diff options
author | Anton Lofgren <alofgren@op5.com> | 2013-10-21 06:18:30 (GMT) |
---|---|---|
committer | Lorenz Kästle <lorenz.kaestle@netways.de> | 2022-01-14 14:34:08 (GMT) |
commit | cb0b3e245afcdc29e606299c93fc232ddd6d7cef (patch) | |
tree | 69f35f5d31087e4efcd830dd7b1d0b73b4467c2e /gl/m4/visibility.m4 | |
parent | 9899bc736f45400fa70bdee281f5f5b46490b805 (diff) | |
download | monitoring-plugins-cb0b3e245afcdc29e606299c93fc232ddd6d7cef.tar.gz |
check_ssh: properly parse a delayed version control string
This resolves an issue with SSH servers which do not respond with their
version control string as the first thing in the SSH protocol version
exchange phase after connection establishment.
This patch also makes sure that we disregard a potential comment in the
version exchange string to avoid nonsense mismatches. In the future, we
might want to add the capability to match against a user specified comment.
In addition, the patch largely improves the communication towards the
server, which adds better protocol adherence.
Of course, new test cases are added to support the trigger and guard
against regressions of the bugs solved by this patch.
This fixes op5#7945 (https://bugs.op5.com/view.php?id=7945)
Signed-off-by: Anton Lofgren <alofgren@op5.com>
Diffstat (limited to 'gl/m4/visibility.m4')
0 files changed, 0 insertions, 0 deletions