check_smtp: Abort on missing/unexpected greeting

This commit is contained in:
Jan Wagner 2011-02-09 17:55:12 +00:00
parent fb68dc19d1
commit 5c0f63e2fa
3 changed files with 43 additions and 1 deletions

6
debian/changelog vendored
View file

@ -1,6 +1,10 @@
nagios-plugins (1.4.15-4) UNRELEASED; urgency=low
* NOT RELEASED YET
* Add 13_check_smtp_greeting.dpatch (Closes: #611914), thanks Daniel Piddock
for spotting and Holger Weiss for providing a fix
- Abort immediately if we don't receive a server greeting or if the
greeting doesn't contain the "--expect"ed string (by default: "220")
instead of blindly sending the EHLO/HELO line.
-- Jan Wagner <waja@cyconet.org> Mon, 27 Dec 2010 22:13:48 +0100