On Fri, 2009-10-16 14:42:05 +0200, Marcel Kirsch wrote:
Hello Mike and Claus,
it is correct that there is a router (with NAT) between the slave server and the internet. I tried the solution of Mike (socket = l:SO_KEEPALIVE=1...), but it didn't work. I googled SO_KEEPALIVE and discovered that it only sends a keep alive packet every 2 hours by default. Unfortunately the connection is closed after a shorter time (about 30 minutes). Do you know how it is possible to set the keep alive time to a shorter value? I tried SO_KEEPALIVE=1:5 and hoped this could set the default time between keep alive packets to 5 minutes, but this didn't work.
I wrote a patch for exactly this purpose some time ago. see http://stunnel.mirt.net/pipermail/stunnel-users/2009-May/002366.html.
Ludolf