diff options
author | M. Sean Finney <seanius@users.sourceforge.net> | 2005-10-13 10:11:25 +0000 |
---|---|---|
committer | M. Sean Finney <seanius@users.sourceforge.net> | 2005-10-13 10:11:25 +0000 |
commit | 321075cd563ddbba92a6ebb8e59abefb9da1e8c2 (patch) | |
tree | 2b741ac331cfe0e0d1b255e7c8d949df561159ec /plugins-scripts | |
parent | 866709d4b53c05ed065b9cae4aa0dc68d57bc5f4 (diff) | |
download | monitoring-plugins-321075cd563ddbba92a6ebb8e59abefb9da1e8c2.tar.gz |
multiple fixes in check_smtp from debian (bts #285554):
- fix for double free via SSL_CTX_free. looks like the previous author
knew this was a problem but didn't care enough to fix it ;p.
- use defines instead of const chars for SMTP strings.
- default to send our fqdn (via gethostbyname lookup on gethostname)
in the HELO string, as this is an RFC/SMTP requirement. overridable
via cmdline.
- use EHLO instead of HELO if using STARTTLS, as it is not SMTP but
ESMTP.
- verify the server supports STARTTLS before initializing it.
- always send QUIT before disconnecting when possible.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1246 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins-scripts')
0 files changed, 0 insertions, 0 deletions