Skip to content

s_server crashes with "gethostbyname failure" on iOS connect #3407

@bararchy

Description

@bararchy

Using Ubuntu 14.04 with latest packages
OpenSSL 1.0.1f 6 Jan 2014

When connecting with iPhone and iOS 10, I'm getting this crash on the server side:

openssl s_server -accept 443 -chain -cert cert/example/example.cert -key cert/example/example.key -www -debug -msg -state
Enter pass phrase for cert/example/example.key:
Using default temp DH parameters
ACCEPT
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)

Tried to upgrade to the libssl and openssl used in Ubuntu 16.04:
OpenSSL 1.0.2g 1 Mar 2016
and got the same error.

Note all other clients, browsers, etc.. works without a problem on the same server.

Metadata

Metadata

Assignees

Labels

branch: 1.0.2Applies to OpenSSL_1_0_2-stable branch (EOL)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions