[Nagiosplug-devel] [ nagiosplug-Patches-1055120 ] check_tcp.c : Fix bad SSL initialization problems

SourceForge.net noreply at sourceforge.net
Thu Nov 18 14:44:05 CET 2004


Patches item #1055120, was opened at 2004-10-27 08:13
Message generated for change (Comment added) made by tonvoon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1055120&group_id=29880

Category: Bugfix
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Phil Dibowitz (jaymzh)
>Assigned to: Ton Voon (tonvoon)
Summary: check_tcp.c : Fix bad SSL initialization problems

Initial Comment:
This is a patch for Bug ID 1030062. I've added the
patch the Bug Report as well. Paraphrase of the bug report:

There are two problems with the SSL Init Code:
1. In check_tcp.c, the code checks for a return value
of -1 from SSL_connect and only then will it throw an
error. However, the only non-error response is 1, and
thus all other values should throw an error. In my
case, this problem caused an bad initialization to go
uncaught and more random things to happen later.

2. The code supports at most SSLv2, which is obsolete.
The patch will use SSLv3, and if that doesn't work then
fail to SSLv2.

- Phil

----------------------------------------------------------------------

>Comment By: Ton Voon (tonvoon)
Date: 2004-11-18 22:43

Message:
Logged In: YES 
user_id=664364

Phil,

Thanks for the patch. Applied to check_tcp v1.42.

Ton

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1055120&group_id=29880




More information about the Devel mailing list