summaryrefslogtreecommitdiffstats
path: root/gl/safe-write.h
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2011-02-08 16:07:52 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2011-02-08 16:07:52 (GMT)
commitd16f3fb0a9bb37cc1ce73ef14b5de83e907ef23c (patch)
tree9827dab60d4987749656a1d5a4c209f73a1bdab0 /gl/safe-write.h
parent4611e41bc50d15275b316c6f21b688997a9c78c4 (diff)
downloadmonitoring-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/safe-write.h')
0 files changed, 0 insertions, 0 deletions