[stunnel-users] Handshake failure

RUTSCHLE Yves yves.rutschle at c-s.fr
Thu Apr 26 18:03:44 CEST 2007


Argh. After removing all my debugging printf's, it turns out it doesn't 
seem to work after all. Which, if it has to do with signals and timing, 
is only partly surprising.

I'll continue looking at it then.
Y.

Michal Trojnara wrote:

>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
>
>_______________________________________________
>stunnel-users mailing list
>stunnel-users at mirt.net
>http://stunnel.mirt.net/mailman/listinfo/stunnel-users
>
>
>  
>



More information about the stunnel-users mailing list