Accept error

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Accept error

Alexis Lefort
Hi list,

When my client (0.9.8a) tries to connect (SSL_connect) to an "openssl
s_server"(0.9.7g) (openssl s_server -cert server_cert.pem -key
server_priv_key.pem), the server crashes:

gethostbyname failure
   0 items in the session cache
   0 client connects (SSL_connect())
   0 client renegotiates (SSL_connect())
   0 client connects that finished
   0 server accepts (SSL_accept())
   0 server renegotiates (SSL_accept())
   0 server accepts that finished
   0 session cache hits
   0 session cache misses
   0 session cache timeouts
   0 callback cache hits
   0 cache full overflows (128 allowed)

But when this client tries to connect to my own SSL server, it is all OK!
Can you help me debugging that please?

thx
Alexis

Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis a
l'intention exclusive de ses destinataires. Toute modification, ?dition,
utilisation ou diffusion non autoris?e est interdite. Tout message
?lectronique est susceptible d'alt?ration. CXR Anderson Jacobson d?cline
toute responsabilit? au titre de ce message s'il a ?t? alt?r?, d?form?,
falsifi?, ?dit? ou diffus? sans autorisation.

This message and any attachments are confidential and intended solely
for the addressees. Any unauthorised alteration, printing, use or
dissemination is prohibited. E-mails are susceptible to alteration. CXR
Anderson Jacobson shall not be liable for the message if altered,
changed, falsified, printed or disseminated without authorisation.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Accept error

Alexis Lefort
I have forgotten one thing, the call to SSL_connect() returns "-1", and SSL_get_error() returns SSL_ERROR_SYSCALL.
The error string is empty and errno is NULL.

Alexis Lefort wrote:
Hi list,

When my client (0.9.8a) tries to connect (SSL_connect) to an "openssl s_server"(0.9.7g) (openssl s_server -cert server_cert.pem -key server_priv_key.pem), the server crashes:

gethostbyname failure
  0 items in the session cache
  0 client connects (SSL_connect())
  0 client renegotiates (SSL_connect())
  0 client connects that finished
  0 server accepts (SSL_accept())
  0 server renegotiates (SSL_accept())
  0 server accepts that finished
  0 session cache hits
  0 session cache misses
  0 session cache timeouts
  0 callback cache hits
  0 cache full overflows (128 allowed)

But when this client tries to connect to my own SSL server, it is all OK!
Can you help me debugging that please?

thx
Alexis

Ce message et toutes les pièces jointes sont confidentiels et établis a
l'intention exclusive de ses destinataires. Toute modification, édition,
utilisation ou diffusion non autorisée est interdite. Tout message
électronique est susceptible d'altération. CXR Anderson Jacobson décline
toute responsabilité au titre de ce message s'il a été altéré, déformé,
falsifié, édité ou diffusé sans autorisation.

This message and any attachments are confidential and intended solely
for the addressees. Any unauthorised alteration, printing, use or
dissemination is prohibited. E-mails are susceptible to alteration. CXR
Anderson Jacobson shall not be liable for the message if altered,
changed, falsified, printed or disseminated without authorisation.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]

-- 
Alexis Lefort
Ingenieur departement etudes
Tel: +33 (0)2 37 62 88 88
Fax: +33 (0)2 37 62 88 01
CXR - Rue de l'Ornette - 28410 ABONDANT
[hidden email]
http://cxr.anderson-jacobson.com/

Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis a l'intention exclusive de ses destinataires. Toute modification, ?dition, utilisation ou diffusion non autoris?e est interdite. Tout message ?lectronique est susceptible d'alt?ration. CXR Anderson Jacobson d?cline toute responsabilit? au titre de ce message s'il a ?t? alt?r?, d?form?, falsifi?, ?dit? ou diffus? sans autorisation. This message and any attachments are confidential and intended solely for the addressees. Any unauthorised alteration, printing, use or dissemination is prohibited. E-mails are susceptible to alteration. CXR Anderson Jacobson shall not be liable for the message if altered, changed, falsified, printed or disseminated without authorisation.
______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [hidden email] Automated List Manager [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Accept error

Alexis Lefort
No one can help me? :(

Alexis Lefort wrote:
I have forgotten one thing, the call to SSL_connect() returns "-1", and SSL_get_error() returns SSL_ERROR_SYSCALL.
The error string is empty and errno is NULL.

Alexis Lefort wrote:
Hi list,

When my client (0.9.8a) tries to connect (SSL_connect) to an "openssl s_server"(0.9.7g) (openssl s_server -cert server_cert.pem -key server_priv_key.pem), the server crashes:

gethostbyname failure
  0 items in the session cache
  0 client connects (SSL_connect())
  0 client renegotiates (SSL_connect())
  0 client connects that finished
  0 server accepts (SSL_accept())
  0 server renegotiates (SSL_accept())
  0 server accepts that finished
  0 session cache hits
  0 session cache misses
  0 session cache timeouts
  0 callback cache hits
  0 cache full overflows (128 allowed)

But when this client tries to connect to my own SSL server, it is all OK!
Can you help me debugging that please?

thx
Alexis

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]



Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis a l'intention exclusive de ses destinataires. Toute modification, ?dition, utilisation ou diffusion non autoris?e est interdite. Tout message ?lectronique est susceptible d'alt?ration. CXR Anderson Jacobson d?cline toute responsabilit? au titre de ce message s'il a ?t? alt?r?, d?form?, falsifi?, ?dit? ou diffus? sans autorisation. This message and any attachments are confidential and intended solely for the addressees. Any unauthorised alteration, printing, use or dissemination is prohibited. E-mails are susceptible to alteration. CXR Anderson Jacobson shall not be liable for the message if altered, changed, falsified, printed or disseminated without authorisation.
______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [hidden email] Automated List Manager [hidden email]