[openssl-dev] s_server does not work over localhost.
dE
de.techno at gmail.com
Sun Mar 1 12:11:03 UTC 2015
Hi!
There appears to be a bug in the openssl program which has persisted for
years (as it appears from the Google search results).
I'm using s_server as follows
openssl s_server -accept 8888 -cert issuer.pem -key issuer.key
If the incoming connection is from localhost --
Using default temp DH parameters
Using default temp ECDH 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)
I dont understand why it runs gethostbyname on the incoming address in
the 1st place.
More information about the openssl-dev
mailing list