X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/blobdiff_plain/02c995246c1aa9703c9ab6d476884748f497f510..ed621603eb44a44973084d943f64bea3a64b31e6:/svc/connect.8.in diff --git a/svc/connect.8.in b/svc/connect.8.in index f06c1a2e..91dfd631 100644 --- a/svc/connect.8.in +++ b/svc/connect.8.in @@ -9,25 +9,24 @@ .\" .\" This file is part of Trivial IP Encryption (TrIPE). .\" -.\" TrIPE is free software; you can redistribute it and/or modify -.\" it under the terms of the GNU General Public License as published by -.\" the Free Software Foundation; either version 2 of the License, or -.\" (at your option) any later version. +.\" TrIPE is free software: you can redistribute it and/or modify it under +.\" the terms of the GNU General Public License as published by the Free +.\" Software Foundation; either version 3 of the License, or (at your +.\" option) any later version. .\" -.\" TrIPE is distributed in the hope that it will be useful, -.\" but WITHOUT ANY WARRANTY; without even the implied warranty of -.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -.\" GNU General Public License for more details. +.\" TrIPE is distributed in the hope that it will be useful, but WITHOUT +.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +.\" for more details. .\" .\" You should have received a copy of the GNU General Public License -.\" along with TrIPE; if not, write to the Free Software Foundation, -.\" Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +.\" along with TrIPE. If not, see . . .\"-------------------------------------------------------------------------- .so ../defs.man.in \"@@@PRE@@@ . .\"-------------------------------------------------------------------------- -.TH connect 8 "11 December 2007" "Straylight/Edgeware" "TrIPE: Trivial IP Encryption" +.TH connect 8tripe "11 December 2007" "Straylight/Edgeware" "TrIPE: Trivial IP Encryption" . .\"-------------------------------------------------------------------------- .SH "NAME" @@ -524,7 +523,7 @@ provided about each peer, in the form of subsequent tokens. Clients should be prepared to ignore such tokens.) .SP .BI "info " peer -Lists the database record for the named +Lists the database record and additional information about the named .IR peer . For each key/value pair, a line .RS @@ -533,6 +532,67 @@ For each key/value pair, a line .IB key = value .PP is output. The key/value pairs are output in an arbitrary order. +.PP +In addition to the fields of the peer's database record, the following +additional keys are defined. +.TP +.B failures +The number of failed pings in the current or most recent batch, in +decimal. +.TP +.B last-ping +The round-trip time of the most recent ping in milliseconds, in the form +.IB nn.n ms\fR, +or +.B timeout +if the most recent ping timed out, +or +.B \- +if no pings have yet completed. +.TP +.B max-ping +The maximum successful ping time so far in milliseconds, in the form +.IB nn.n ms\fR, +or +.B \- +if no pings have yet succeeded. +.TP +.B mean-ping +The average successful ping time so far in milliseconds, in the form +.IB nn.n ms\fR, +or +.B \- +if no pings have yet succeeded. +.TP +.B min-ping +The minimum successful ping time so far in milliseconds, in the form +.IB nn.n ms\fR, +or +.B \- +if no pings have yet succeeded. +.TP +.B n-lost +The number of pings which have been declared timed out so far, in +decimal. +.TP +.B n-ping +The number of successful pings so far, in decimal. +.TP +.B sd-ping +The standard deviation of ping times so far in milliseconds, in the form +.IB nn.n ms\fR, +or +.B \- +if no pings have yet succeeded. +.TP +.B state +One of the strings: +.B idle +if the peer has responded to a ping recently, and we are waiting for the +.B every +delay before we try again; or +.B check +if we are currently waiting for a ping to return. .RE .SP .BI "kick " peer @@ -597,6 +657,17 @@ seconds are assumed. .\"-opts .RE .SP +.BI "sabotage " peer +Sabotage the +.I peer +so that +.B connect +thinks that it can't respond to pings. This will usually provoke a +reconnection attempt. Use +.B kick +instead unless you're trying to test +.BR connect . +.SP .BI "userpeer " user Output a single .B INFO