author | Holger Weiss <holger@zedat.fu-berlin.de> | |
Tue, 8 Feb 2011 16:07:52 +0000 (17:07 +0100) | ||
committer | Holger Weiss <holger@zedat.fu-berlin.de> | |
Tue, 8 Feb 2011 16:07:52 +0000 (17:07 +0100) | ||
commit | d16f3fb0a9bb37cc1ce73ef14b5de83e907ef23c | |
tree | 9827dab60d4987749656a1d5a4c209f73a1bdab0 | tree | snapshot |
parent | 4611e41bc50d15275b316c6f21b688997a9c78c4 | commit | diff |
check_smtp: Abort on missing/unexpected greeting
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.
Spotted by Daniel Piddock, see Debian bug report #611914.
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.
Spotted by Daniel Piddock, see Debian bug report #611914.
plugins/check_smtp.c | diff | blob | history |