Re: Does OpenSSL timeout connections waiting for a ClientHello?

2013-09-16 Thread Michel
Hi Jason, I am afraid you will have to deal with the TCP timeout on your own. Here is a quick and short answer : http://stackoverflow.com/questions/11835203/openssl-ssl-connect-blocks-forever-how-to-set-timeout Most important : http://www.openssl.org/docs/ssl/SSL_get_error.html I am sure your

Re: Does OpenSSL timeout connections waiting for a ClientHello?

2013-09-16 Thread shathawa
FYI I have seldom done low-level OpenSSL programming, but have implemented many server based programs. The server application that does an 'accept' on a socket is responsible for the communications on the socket, including any timeouts or recognition of stale communication. Therefore the socket

Does OpenSSL timeout connections waiting for a ClientHello?

2013-09-11 Thread Jason Schultz
I have a server that implements secure communication using OpenSSL. The server does a listen() on a port and keeps track of what listens are secure/SSL listens. When a peer opens to that IP addr/port, the server sees that it's for a secure connection and then makes the calls to set up SSL