Stunnel appears to be working fine, but when started it spams my syslog about 5 times with the following message: "stunnel: warning: can't get client address: Bad file descriptor" There are no other messages from stunnel.
I'm not sure where it's coming from...
It looks like it is running without command line arguments. My init script has the following snippets that make me think that:
My stunnel version info:
My stunnel config file:
Again, it is all working, and aside from my TCP_NODELAY flags, everything in my conf would be a show-stopper if it was invalid or not working...
*of note: I had to set the uid/gid number. for some reason it couldn't resolve the gid/uid on it's own. My /etc/passwd is world-readable (with hashes in shadow) as is standard.
I'm not sure I should even be worried about this...
Draeath Spamtrap wrote:
I've found it:
$ strings -f /usr/lib/* | grep "can't get client address" /usr/lib/libwrap.a: can't get client address: %m /usr/lib/libwrap.so: can't get client address: %m
You can disable libwrap support if you don't use it:
./configure --disable-libwrap make clean make make install
Apply: ftp://stunnel.mirt.net/stunnel/setuid.patch
Best regards, Mike