Re: [PATCH] Address already in use (98) when binding to localhost

Christian Kujau <[email protected]>
Newsgroups gmane.network.stunnel.user
Message-ID <[email protected]>
On Thu, 8 Feb 2018, Michał Trojnara wrote:
> Can you try:
> https://www.stunnel.org/downloads/beta/stunnel-5.45b2.tar.gz

Yes, this works. Stunnel comes up just fine w/o errors and binds to both 
the IPv4 and IPv6 address of "localhost":

$ stunnel-5.45b2 ~/stunnel.test
2018.02.08 19:36:11 LOG5[ui]: stunnel 5.45 on x86_64-pc-linux-gnu platform
2018.02.08 19:36:11 LOG5[ui]: Compiled/running with OpenSSL 1.1.0g-fips  2 Nov 2017
2018.02.08 19:36:11 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI Auth:LIBWRAP
2018.02.08 19:36:11 LOG5[ui]: Reading configuration from file /home/christian/stunnel.test
2018.02.08 19:36:11 LOG5[ui]: UTF-8 byte order mark not detected
2018.02.08 19:36:11 LOG5[ui]: FIPS mode disabled
2018.02.08 19:36:11 LOG4[ui]: Service [test] needs authentication to prevent MITM attacks
2018.02.08 19:36:11 LOG5[ui]: Configuration successful

$ grep -A4 ^\\[ ~/stunnel.test 
[test]
client          = yes
protocol        = smtp
accept          = localhost:12345
connect         = localhost:2025

> My main code repository is private.  There is also a public repository 
> based on official releases, but I guess this wasn't the point of your 
> question. https://github.com/mtrojnar/stunnel

Hm, yeah. I was indeed look for a -development tree to follow small 
changes more easily, w/o having to fetch whole tarballs. But maybe I'm 
just not used to shuffling tarballs around anymore, like one used to do 
before the age of Git :-)

Anyway, thanks for fixing this, and for maintaining stunnel.

Christian.
-- 
BOFH excuse #231:

We had to turn off that service to comply with the CDA Bill.
_______________________________________________
stunnel-users mailing list
[email protected]
https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.