[Nagiosplug-help] sslutils.c bug (affects check_http)

Ton Voon tonvoon at gmail.com
Wed Jul 14 15:31:56 CEST 2010


On 14 Jul 2010, at 03:46, Donald Gordon wrote:

> Hi
>
> One of our SSL servers is reported as down by check_http when it's  
> really up - I get the "HTTP CRITICAL - Error on receive" message.
>
> Sticking some debug code in sslutils.c reveals that SSL_read() is  
> returning with an error code, which SSL_get_error decodes as an  
> SSL_ERROR_WANT_READ.  The OpenSSL docs say that when  
> SSL_ERROR_WANT_READ or SSL_ERROR_WANT_WRITE is returned, the SSL  
> operation should be retried once there is data available to read or  
> write.
>
> I'm running Debian Lenny's packaged nagios plugins (1.4.12) but a  
> cursory glance at git shows that sslutils.c still doesn't handle  
> SSL_ERROR_WANT_(READ|WRITE).

Hi Donald,

Can you try the lastest snapshot and see if that has a fix for this? I  
know there were some SSL changes.

Ton





More information about the Help mailing list