]> Cypherpunks.ru repositories - govpn.git/blobdiff - doc/timeout.texi
Ability to use TUN-interfaces under GNU/Linux
[govpn.git] / doc / timeout.texi
index e750177b3aa4f6c2e61093cffa0f5dffb746891f..2cb52019d32608cf03ee33118b3987967d480188 100644 (file)
@@ -1,5 +1,5 @@
 @node Timeout
-@section Timeout
+@subsection Timeout
 
 Because of stateless UDP nature there is no way to reliably know if
 remote peer is alive. That is why timeouts are necessary. If no packets
@@ -8,7 +8,11 @@ dead. Timeout option should be synchronized both for server and client.
 
 If there were no packets at all during fourth part of timeout, then
 special heartbeat packet is sent. So VPN connection should be alive all
-the time, even if there is no traffic in corresponding TAP interfaces.
+the time, even if there is no traffic in corresponding TUN/TAP interfaces.
 @strong{Beware}: this consumes traffic.
 
 Stale peers and handshake states are cleaned up every timeout period.
+
+This applies to TCP connections too: relatively much time can pass until
+we understand that remote TCP peer is suddenly died and did not
+normally terminate connection.