Further information...

I have read the source, and it says that either the port number (eg. "8008" alone, or '*:<port number>' (eg:"*:8008) will bind to all interfaces, and '::<portnumber>' (eg "::8008") will bind to the IPV6 wildcard, which on most OSs will also accept IPV4 connections.

It does not matter which of these I try, openssl always binds to '::1:8008', which does not accept IPV4.

Does anybody have any idea how to convince openssl 1.0.0 to bind to an IPV4 wildcard interface?

Thanks,
Justin

Justin Schoeman wrote:
I have just compiled an application I wrote on an OpenSuse 11.3 box, with OpenSSL 1.0.0 installed. All other installations have been on previous OpenSuse installations, with OpenSSL 0.9.8x, and have worked fine.

On the new box, the application call only binds to the IPV6 interface.

Under 0.9.8, BIO_new_accept("8080") gives the following in netstat:
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN

And with 1.0.0, BIO_new_accept("8008") gives the following:
tcp 0 0 ::1:8008 :::* LISTEN

I have tried various combinations of:
BIO_new_accept("0.0.0.0:8008")
BIO_new_accept("::::8008")
BIO_new_accept("*:8008")
BIO_new_accept("127.0.0.1:8008")
BIO_new_accept("localhost:8008")

But nothing seems to work.

Does anybody have an idea how to bet BIO_new_accept to listen on an IPV4 interface?

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

Reply via email to