]> Cypherpunks.ru repositories - nncp.git/blobdiff - doc/cfg.texi
-maxonlinetime option
[nncp.git] / doc / cfg.texi
index acfdbf7a574bb7e2d067e0abfe2e69cfb6d470ad..3160d73d96d8e51a23271f6f86342c9c4e9f9f73 100644 (file)
@@ -35,7 +35,8 @@ neigh:
     noisepub: UBM5K...VI42A
     sendmail: ["/bin/sh", "-c", "false"]
     incoming: /home/alice/incoming
-    onlinedeadline: 3600
+    onlinedeadline: 1800
+    maxonlinetime: 3600
     addrs:
       lan: "[fe80::1234%igb0]:5400"
       internet: alice.com:3389
@@ -122,6 +123,11 @@ transmitted. This can be set to rather high values to keep connection
 alive (to reduce handshake overhead and delays), wait for appearing
 packets ready to send and notifying remote side about their appearance.
 
+@anchor{CfgMaxOnlineTime}
+@item maxonlinetime
+If greater than zero, then it is maximal amount of time connect could be
+alive. Forcefully disconnect if it is exceeded.
+
 @anchor{CfgCalls}
 @item calls
 List of @ref{Call, call configuration}s. Can be omitted if