[stunnel-users] Handshake failure

Michal Trojnara Michal.Trojnara at mobi-com.net
Thu Apr 26 15:03:48 CEST 2007


RUTSCHLE Yves wrote:
> It does. Why, thank you very much, I just wanted a hint you have have a
> solution :-)
>
> However I'd be interested in what you think was the problem.

There is a portability issue in signal handling code.

Some systems require to reset signal handler each time a signal was
received, while for others the handler is executed recursively destroying
CPU stack of running stunnel process.  It looks like I need to read
"Signals" chapter of the classic "Advanced Programming in the UNIX
Environment" once again and than review the code.  8-)

BTW: I'm rewriting libwrap code for stunnel 4.21.

Best regards,
    Michał Trojnara




More information about the stunnel-users mailing list