Hi,<br><br>I'm trying to monitor the status of my VPNs on my servers. I've got a nagios task that initiates an ipsec connection, the L2TP connection on top, issues a wget command over the interface that is created (to verify that it's being routed), then tears everything back down. This happens once every 5 minutes for each host (12) from a central machine. If a host goes down it seems like xl2tpd doesn't properly handle that case and hangs trying to connect to that host. The script I run is <a href="http://www.bws42.com/zztmp/vpn_check.sh">http://www.bws42.com/zztmp/vpn_check.sh</a> and would be called with "prague".<br>
<br>This doesn't seem to always happen, but it does happen fairly frequently when a host becomes unreachable. <br><br>Snippet from the log:<br><br>May 3 07:41:56 monitor xl2tpd[3843]: Connecting to host <a href="http://prague.wonderproxy.com">prague.wonderproxy.com</a>, port 1701<br>
May 3 16:32:21 monitor xl2tpd[3843]: udp_xmit failed with err=-1:Interrupted system call should be restarted<br><br>Versions on checker:<br>openswan: 2.6.28+dfsg-3<br>xl2tpd: 1.2.7+dfsg-1<br><br>Versions on machines hosting VPNs:<br>
openswan: 2.6.24<br>xl2tpd: 1.2.7+dfsg-1<br><br>Has anyone else seen this behavior? Is there anything in my script that's really silly?<br><br>Thanks,<br>--Will<br>