Hello,
"SSL handshake interrupted by system" *without* "System error
follows" seems to mean that errno was set to zero (ie no error)
after the interrupt.
I got these routinely (~one per SSL session) on three busy Solaris
2.6 servers with Apache 1.3.6/mod_ssl 2.[23].x. These servers each handle
thousands of SSL sessions daily and were (except for these messages)
working perfectly in all respects. So in that sense, I guess these
messages are "normal", at least on Solaris 2.6.
But "normal" or not, I found them annoying. So I apply a patch
like the following to mod_ssl before running Configure and doing
the Apache make.
What it does is lower the severity of the these messages from ERROR
to INFO. (That way I don't see them because I haven't requested
logging of INFO messages in httpd.conf.)
*** mod_ssl-2.3.3-1.3.6/pkg.sslmod/ssl_engine_kernel.c- Sun May 30 03:46:50 1999
--- mod_ssl-2.3.3-1.3.6/pkg.sslmod/ssl_engine_kernel.c Wed Jun 9 09:59:49 1999
***************
*** 341,347 ****
else if (SSL_get_error(ssl, rc) == SSL_ERROR_SYSCALL) {
if (errno == EINTR)
continue;
! ssl_log(srvr, SSL_LOG_ERROR|SSL_ADD_ERRNO,
"SSL handshake interrupted by system");
SSL_set_shutdown(ssl, SSL_RECEIVED_SHUTDOWN);
SSL_smart_shutdown(ssl);
--- 341,348 ----
else if (SSL_get_error(ssl, rc) == SSL_ERROR_SYSCALL) {
if (errno == EINTR)
continue;
! ssl_log(srvr,
! errno ? SSL_LOG_ERROR|SSL_ADD_ERRNO : SSL_LOG_INFO,
"SSL handshake interrupted by system");
SSL_set_shutdown(ssl, SSL_RECEIVED_SHUTDOWN);
SSL_smart_shutdown(ssl);
--------------------------
Ed Kubaitis ([EMAIL PROTECTED])
CCSO - University of Illinois - Urbana-Champaign
Martin Kuzela wrote:
>
> After I upgrade my system (Sparc, solaris 2.6, gcc 2.8.1) to apache 1.3.6, apache-
>jserv
> 1.0, modssl 2.3.5, (probably DSO, no mm)
> I have encouterd these lines in error_log file:
>
> Q1: What does it mean? Is it normal?
> Q2: If not, which version is more stable?
>
> Thanks
>
> Martin Kuzela
>
> [Wed Jun 23 19:50:43 1999] [notice] Apache/1.3.6 (Unix) ApacheJServ/1.0 mod_ssl/2.3.5
> OpenSSL/0.9.3a configured -- resuming normal operations
> [Wed Jun 23 20:14:50 1999] [error] mod_ssl: SSL handshake interrupted by system
>(System
> error follows)
> [Wed Jun 23 20:14:50 1999] [error] System: Connection reset by peer (errno: 131)
> [Wed Jun 23 21:17:47 1999] [error] mod_ssl: SSL handshake interrupted by system
> [Wed Jun 23 21:17:48 1999] [error] mod_ssl: SSL handshake interrupted by system
> [Wed Jun 23 21:17:48 1999] [error] mod_ssl: SSL handshake interrupted by system
> [Wed Jun 23 21:17:48 1999] [error] mod_ssl: SSL handshake interrupted by system
> [Wed Jun 23 21:17:52 1999] [error] mod_ssl: SSL handshake interrupted by system
> [Wed Jun 23 21:17:52 1999] [error] mod_ssl: SSL handshake interrupted by system
> [Wed Jun 23 22:10:31 1999] [error] mod_ssl: SSL handshake timed out (client
>192.131.85.2,
> server www.adelan.com:443)
> [Thu Jun 24 08:10:58 1999] [error] mod_ssl: SSL handshake interrupted by system
> [Thu Jun 24 08:11:11 1999] [error] mod_ssl: SSL handshake interrupted by system
> [Thu Jun 24 08:11:11 1999] [error] mod_ssl: SSL handshake interrupted by system
> [Thu Jun 24 08:12:14 1999] [error] mod_ssl: SSL handshake interrupted by system
> [Thu Jun 24 08:12:14 1999] [error] mod_ssl: SSL handshake interrupted by system
> [Thu Jun 24 08:12:38 1999] [error] mod_ssl: SSL handshake interrupted by system
> [Thu Jun 24 08:12:46 1999] [error] mod_ssl: SSL handshake interrupted by system
> [Thu Jun 24 08:12:46 1999] [error] mod_ssl: SSL handshake interrupted by system
> [Thu Jun 24 08:15:00 1999] [error] mod_ssl: SSL handshake interrupted by system
> [Thu Jun 24 08:15:29 1999] [error] mod_ssl: SSL handshake interrupted by system
> [Thu Jun 24 08:16:18 1999] [error] mod_ssl: SSL handshake interrupted by system
> [Thu Jun 24 08:16:53 1999] [error] mod_ssl: SSL handshake interrupted by system
> [Thu Jun 24 09:06:31 1999] [error] mod_ssl: SSL handshake interrupted by system
>
> ______________________________________________________________________
> Apache Interface to OpenSSL (mod_ssl) www.modssl.org
> User Support Mailing List [EMAIL PROTECTED]
> Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]