stunnel 5.21 - fails to listen on both IPv4/IPv6 (Linux)

Very long-time user with the AstLinux project... stunnel 5.19 works fine, when upgrading to stunnel 5.21 with the same config I get: -- Starting Stunnel Server Proxy... [.] stunnel 5.21 on i586-pc-linux-gnu platform [.] Compiled/running with OpenSSL 1.0.1p 9 Jul 2015 [.] Threading:FORK Sockets:POLL,IPv6 TLS:ENGINE,OCSP,PSK,SNI [ ] errno: (*__errno_location ()) [.] Reading configuration from file /etc/stunnel/server.conf [.] UTF-8 byte order mark not detected [ ] Compression disabled [ ] PRNG seeded successfully [!] Error resolving "::": Address family for nodename not supported (EAI_ADDRFAMILY) [!] /etc/stunnel/server.conf:14: "accept = :::8443": Failed to resolve accepting address -- Has the syntax changed to listen on both IPv4/IPv6 ? Lonnie

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 28.07.2015 17:40, Lonnie Abelbeck wrote:
[!] Error resolving "::": Address family for nodename not supported (EAI_ADDRFAMILY) [!] /etc/stunnel/server.conf:14: "accept = :::8443": Failed to resolve accepting address --
Has the syntax changed to listen on both IPv4/IPv6 ?
It was my mistake. I fixed it in stunnel 5.22: https://www.stunnel.org/downloads.html Thank you very much for reporting the problem. Best regards, Mike -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVugHXAAoJEC78f/DUFuAU6ngQAMLG3RV6vvtRcdWhT+OKM2pb P9ws7IpXeG027R8+m5cyj/9GbdgKJDpa5ts/PT4/e+Ek42TEkeX+E+oZzy/1eXXH z+ykeSLDfIws8K5/jeA9fX513SdDnztseknT3+GABsYFdTgpWhX/J8ZH1Icn0gmg WuE41Z2QElIy3iryg+TlyPmSdNlZ0Z4SaX9yjfGLVejq7GfCOhJWgGdp6QaLvlc1 +So4CvSvZxh3orDz2NljeGfeEOcjuKpfrbrHPUVxLvQC7+UP6pNNBp1U3ytSYP9l 8dy5qYfH2WunmCRVFWLvC7GqT6WvAA2p8+4BCEGMUNNVKSBTobBDS3rAvZ4pWcvP 5PRqc+TN9Ncr3j32IFVbKbZaoVlBHuqIws/pFOOFodrZy6qe56WqV05XnOO8/VkM N9aTxqV5qlqjXzATh2l0eX0F7mphLtCiQWg88Ow4ShrT13Rlnv/lVpLk5sT1pJwn U3bjcB1YnKD4tlURrTTfJZ7eNg00WR8LOGvTJ5vwuDJah1h6ISAlSeEd/QJNQmQL AeVbppHodw9FKVJgiIJV1cmwz4FCCOaFBqJsyzm/jtTRnyumfwC/bvMNj7vLGlHs YOA6tyHbjV/D16llgcuihRZZoTEtIv3w1hJplnpQj0WIdelUT5YqsQ6TK1uPkzyP WR9tG/3Vzbz9zkKEv1s0 =EUoR -----END PGP SIGNATURE-----

On Jul 30, 2015, at 5:52 AM, Michal Trojnara <Michal.Trojnara@mirt.net> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 28.07.2015 17:40, Lonnie Abelbeck wrote:
[!] Error resolving "::": Address family for nodename not supported (EAI_ADDRFAMILY) [!] /etc/stunnel/server.conf:14: "accept = :::8443": Failed to resolve accepting address --
Has the syntax changed to listen on both IPv4/IPv6 ?
It was my mistake. I fixed it in stunnel 5.22: https://www.stunnel.org/downloads.html
Thank you very much for reporting the problem.
Best regards, Mike
Tested and works again with 5.22. Thanks for the prompt fix. Lonnie
participants (2)
-
Lonnie Abelbeck
-
Michal Trojnara