[Openswan Users] When tunnel goes down, socket freeze
FLamorce at CalAmp.com
Mon May 2 16:54:38 EDT 2011
I have a product using Linux 126.96.36.199 and OpenSwan 2.6.23, I can create tunnel just fine, I can see with tcpdump that I have ESP packet, etc.
However, sometimes, if the tunnel is not properly "deleted" from the server from one reason or another, some socket connections from the client to the server kind of "freeze", even a simple 1 packet ping freeze and never come back.
In our application I set the socket as non blocking to try to prevent it, but it changes nothing, when this happen, the call to send() block, until the tunnel is re-establish.
When the tunnel is re-established, the ping comes back with some stats like:
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 420815.549/420815.549/420815.549 ms
Is it a bug in the kernel? IPSec? Others?
Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users