.\" -*-nroff-*-
.\".
-.de hP
-.IP
-\h'-\w'\fB\\$1\ \fP'u'\fB\\$1\ \fP\c
-..
-.de VS
-.sp 1
-.RS
-.nf
-.ft B
-..
-.de VE
-.ft R
-.fi
-.RE
-.sp 1
-..
-.ie t \{\
-. ds o \(bu
-. ds ss \s8\u
-. ds se \d\s0
-. if \n(.g \{\
-. fam P
-. \}
-.\}
-.el \{\
-. ds o o
-. ds ss ^
-. ds se
-.\}
+.\" Manual for the server
+.\"
+.\" (c) 2008 Straylight/Edgeware
+.\"
+.
+.\"----- Licensing notice ---------------------------------------------------
+.\"
+.\" 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 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.
+.
+.\"--------------------------------------------------------------------------
+.so ../defs.man.in \" @@@PRE@@@
+.
+.\"--------------------------------------------------------------------------
.TH tripe 8 "10 February 2001" "Straylight/Edgeware" "TrIPE: Trivial IP Encryption"
+.
+.\"--------------------------------------------------------------------------
.SH "NAME"
+.
tripe \- a simple VPN daemon
+.
+.\"--------------------------------------------------------------------------
.SH "SYNOPSIS"
+.
.B tripe
-.RB [ \-D ]
+.RB [ \-DF ]
.RB [ \-d
.IR dir ]
.RB [ \-b
.IR pub-keyring ]
.RB [ \-t
.IR key-tag ]
+.
+.\"--------------------------------------------------------------------------
.SH "DESCRIPTION"
+.
The
.B tripe
program is a server which can provide strong IP-level encryption and
It sets the directory named by the
.B TRIPEDIR
environment variable (or
-.B "@configdir@"
+.B "*(/c"
if the variable is unset) as the current directory.
.hP 2.
It acquires a UDP socket with an arbitrary kernel-selected port number.
in the background is with
.BR tripectl (1).
.TP
+.B "\-F, \-\-foreground"
+Runs the server in the `foreground'; i.e.,
+.B tripe
+will quit if it sees end-of-file on its standard input. This is
+incompatible with
+.BR \-D .
+.TP
.BI "\-d, \-\-directory=" dir
Makes
.I dir
the environment variable
.BR TRIPEDIR ;
if that's not specified, a default default of
-.B "@configdir@"
+.B "*(/c"
is used. Give a current directory of
.B .
if you don't want it to change directory at all.
.IR user 's
primary group, unless overridden by a
.B \-G
-option.
+option. The selected user (and group) will also be the owner of the
+administration socket.
.TP
.BI "\-G, \-\-setgid=" group
Set gid to that of
environment variable
.BR TRIPESOCK ;
if that's not set either, then a default default of
-.B "@socketdir@/tripesock"
+.B "*(/s/tripesock"
is used instead.
.TP
.BI "\-T, \-\-trace=" trace-opts
all in lower-case. The name of the protocol it uses is `TrIPE', with
four capital letters and one lower-case. The name stands for `Trivial
IP Encryption'.
+.
+.\"--------------------------------------------------------------------------
.SH "BUGS"
+.
The code hasn't been audited. It may contain security bugs. If you
find one, please inform the author
.IR immediately .
+.
+.\"--------------------------------------------------------------------------
.SH "SEE ALSO"
+.
.BR key (1),
.BR tripectl (1),
.BR tripe\-admin (5).
.PP
.IR "The Trivial IP Encryption Protocol" ,
.IR "The Wrestlers Protocol" .
+.
+.\"--------------------------------------------------------------------------
.SH "AUTHOR"
+.
Mark Wooding, <mdw@distorted.org.uk>
+.
+.\"----- That's all, folks --------------------------------------------------