diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2011-02-08 16:07:52 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2011-02-08 16:07:52 (GMT) |
commit | d16f3fb0a9bb37cc1ce73ef14b5de83e907ef23c (patch) | |
tree | 9827dab60d4987749656a1d5a4c209f73a1bdab0 /gl/fsusage.c | |
parent | 4611e41bc50d15275b316c6f21b688997a9c78c4 (diff) | |
download | monitoring-plugins-d16f3fb0a9bb37cc1ce73ef14b5de83e907ef23c.tar.gz |
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.
Diffstat (limited to 'gl/fsusage.c')
0 files changed, 0 insertions, 0 deletions