> From: owner-openssl-us...@openssl.org On Behalf Of Marcus Meissner
> Sent: Wednesday, November 05, 2014 04:10

> On Wed, Nov 05, 2014 at 08:28:40AM +0000, Mody, Darshan (Darshan)
> wrote:
> > Hi,
> >
> > Does Openssl support IPv6 officially?.
> 
> AFAIK the libssl and libcrypto libraries do not use sockets at all,
> these are left to the applications/libraries using them.
> 
libssl requires something it can send and receive on using the BIO API
that represents the connection to the peer and is normally a socket,
although in principle you could write your own module to substitute 
something crazy like IP-over-carrier-pigeon.

The BIO module in libcrypto provides a BIO_sock instance that 
does I/O on an OS socket and provides the BIO API to libssl 
(or to code that wants to use plain non-SSL sockets, FTM).

BIO_sock can send and receive on any opened socket, IP4 or IP6.
So if the application 'connect's or 'accept's the sockets, 
and then passes them to SSL_set_fd (or equivalent) it works.
But last I looked, BIO_sock cannot do IP6 *connect*, and 
only does IP6 *accept* if you give it an already IP6 listen socket.



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to