-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello, I upgraded to v4.25 and stunnel aborts right away. v4.20 works just fine. What is protocol family 47?
====[ log file ]====
2008.06.26 11:31:01 LOG5[282:8553]: stunnel 4.25 on i386-pc-os2-emx with OpenSSL 0.9.8h 28 May 2008 2008.06.26 11:31:01 LOG5[282:8553]: Threading: SSL:ENGINE Sockets:SELECT,IPv4 2008.06.26 11:31:01 LOG3[282:8553]: Error binding pop3.sma.com_L110-R995 to 127.0.0.1:110 2008.06.26 11:31:01 LOG3[282:8553]: bind: Address family not supported by protocol family (47)
====[ conf file ]====
socket = l:TCP_NODELAY=1 socket = r:TCP_NODELAY=1 client = yes output = G:/c/voice/pmmdev/testcase/bin/stunnel.log verify = 0 debug = 5 cert = g:/c/voice/pmmdev/testcase/bin/sma-test.pem
[pop3.sma.com_L110-R995] accept = localhost:110 connect = pop3.sma.com:995 ;# protocol = pop3
[smtpauth.earthlink.net_L6025-R587] accept = localhost:6025 connect = smtpauth.earthlink.net:587 protocol = smtp
[sohnen-moe.com:L6125:R587] accept = localhost:6125 connect = sohnen-moe.com:587 protocol = smtp
[smtp.sma.com_L25-R587] accept = localhost:25 connect = smtp.sma.com:587 protocol = smtp
- -- jimoe (at) sohnen-moe (dot) com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 06/26/08 11:33 am, James Moe wrote:
Hello, I upgraded to v4.25 and stunnel aborts right away. v4.20 works just fine.
2008.06.26 11:31:01 LOG3[282:8553]: Error binding pop3.sma.com_L110-R995 to 127.0.0.1:110 2008.06.26 11:31:01 LOG3[282:8553]: bind: Address family not supported by protocol family (47)
Ah! "47" is a standard C library error code. In <stunnel.c> bind() fails in 4.25 where it succeeded in 4.20. Is there some problem with the text "pop3.sma.com_L110-R995"? Except for replacing "exit(1)" with "die(1)" I see no difference in the code in <stunnel.c> between the two versions. So why does v4.25 fail?
- -- jimoe (at) sohnen-moe (dot) com