chiark / gitweb /
Improve the SLIP driver: allow dynamic creation of SLIP interfaces.
[tripe] / doc / tripe-admin.5
index d39866e0a0de65093013f48351ee506f9cb131cf..1b101e6a87f537ec9fe69ad269b3938977c912a2 100644 (file)
@@ -147,6 +147,11 @@ For each currently-known peer, an
 line is written containing the peer's name, as given to
 .BR ADD .
 .TP
+.BI "NOTIFY " tokens\fR...
+Issues a 
+.B USER
+notification to all interested administration clients.
+.TP
 .B "PORT"
 Emits an
 .B INFO
@@ -284,6 +289,11 @@ line stating its software version, as two words: the server name, and
 its version string.  The server name
 .B tripe
 is reserved to the Straylight/Edgeware implementation.
+.TP
+.BI "WARN " tokens\fR...
+Issues a 
+.B USER
+warning to all interested administration clients.
 .SH "ERROR MESSAGES"
 The following
 .B FAIL
@@ -399,6 +409,11 @@ Key exchange with
 .I peer
 has begun or restarted.  If key exchange keeps failing, this message
 will be repeated periodically.
+.TP
+.BI "USER " tokens\fR...
+An administration client issued a notification using the
+.B NOTIFY
+command.
 .SH "WARNINGS"
 There are many possible warnings.  They are categorized according to
 their first tokens.
@@ -504,7 +519,7 @@ persuade your
 .B tripe
 server to leak private key information.  No chance!
 .TP
-.BI "KX " peer " decrypt-failed \fR[\fBreply\fR|\fBswitch-ok\fR]"
+.BI "KX " peer " decrypt-failed reply\fR|\fBswitch-ok"
 A symmetrically-encrypted portion of a key-exchange message failed to
 decrypt.
 .TP
@@ -512,7 +527,7 @@ decrypt.
 A key-exchange message was malformed.  This almost certainly indicates a
 bug somewhere.
 .TP
-.BI "KX " peer " incorrect \fR[\fBcookie\fR|\fBswitch-rq\fR|\fBswitch-ok\fR]"
+.BI "KX " peer " incorrect cookie\fR|\fBswitch-rq\fR|\fBswitch-ok"
 A message didn't contain the right magic data.  This may be a replay of
 some old exchange, or random packets being sent in an attempt to waste
 CPU.
@@ -639,6 +654,10 @@ create some more
 .BI /dev/tun nn
 files, it will work.
 .TP
+.BI "TUN \- slip no-slip-interfaces"
+The driver ran out of SLIP interfaces.  You probably need to preallocate
+some more and restart.
+.TP
 .BI "TUN - open-error " device " \-\- " message
 An attempt to open the tunnel device file
 .I device
@@ -661,10 +680,34 @@ and shouldn't be used any more.
 .BI "TUN \- unet ifname-too-long \-\- " message
 The Unet interface's name overflowed, so we couldn't read it properly.
 Unet is obsolete and shouldn't be used any more.
+.TP
+.BI "TUN " ifname " slip eof"
+The SLIP driver encountered end-of-file on its input descriptor.
+Pending data is discarded, and no attempt is made to read any more data
+from that interface ever.
+.TP
+.BI "TUN " ifname " slip escape-end"
+The SLIP driver encountered an escaped `end' marker.  This probably
+means that someone's been sending it junk.  The erroneous packet is
+discarded, and we hope that we've rediscovered synchronization.
+.TP
+.BI "TUN " ifname " slip bad-escape"
+The SLIP driver encountered a escaped byte it wasn't expecting to see.
+The erroneous packet will be ignored.
+.TP
+.BI "TUN " ifname " slip overflow"
+The SLIP driver gave up reading a packet because it got too large.
+.SS "USER warnings"
+These are issued by administration clients using the
+.B WARN
+command.
+.TP
+.BI "USER " tokens\fR...
+An administration client issued a warning.
 .SH "SEE ALSO"
 .BR tripectl (1),
 .BR tripe (8).
 .PP
 .IR "The Trivial IP Encryption Protocol" .
 .SH "AUTHOR"
-Mark Wooding, <mdw@nsict.org>
+Mark Wooding, <mdw@distorted.org.uk>