X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/blobdiff_plain/52c03a2aa0b5c3461055ca0dcf38e29f2ca88f35..b9066fbb5c1c160eb305a33a3335b77d17e0f502:/doc/tripe.8 diff --git a/doc/tripe.8 b/doc/tripe.8 index b6da8d81..bcfdcbb4 100644 --- a/doc/tripe.8 +++ b/doc/tripe.8 @@ -148,6 +148,11 @@ version number to standard output and exits with status 0. .B "\-u, \-\-usage" Writes a brief usage summary to standard output and exits with status 0. .TP +.B "\-\-tunnel" +Writes a string to standard output describing the configured tunnelling +method and exits with status 0. This is intended for the use of the +start-up script, so that it can check that it will actually work. +.TP .B "\-D, \-\-daemon" Dissociates from its terminal and starts running in the background after completing the initialization procedure described above. If running as @@ -444,6 +449,62 @@ Now start with the .B \-ttripe\-ec option, and all should be well. +.SS "Using other symmetric algorithms" +The default symmetric algorithms +.B tripe +uses are Blowfish (by Schneier) for symmetric encryption, and RIPEMD-160 +(by Dobbertin, Bosselaers and Preneel) for hashing and as a MAC (in HMAC +mode, designed by Bellare, Canetti and Krawczyk). These can all be +overridden by setting attributes on your private key, as follows. +.TP +.B cipher +Names the symmetric encryption scheme to use. The default is +.BR blowfish\-cbc . +.TP +.B hash +Names the hash function to use. The default is +.BR rmd160 . +.TP +.B mac +Names the message authentication code to use. The name of the MAC may +be followed by a +.RB ` / ' +and the desired tag length in bits. The default is +.IB hash \-hmac +at half the underlying hash function's output length. +.TP +.B mgf +A `mask-generation function', used in the key-exchange. The default is +.IB hash \-mgf +and there's no good reason to change it. +.SS "Using SLIP interfaces" +Though not for the faint of heart, it is possible to get +.B tripe +to read and write network packets to a pair of file descriptors using +SLIP encapsulation. No fancy header compression of any kind is +supported. The intended use is that you allocate a pty pair, set the +slave's line discipline to SLIP, and hand the +.B tripe +server the master end, though in fact any old file descriptors will do. +.PP +The SLIP descriptors must be set up and running before the daemon is +started, and you must inform it about the SLIP descriptors it's meant to +use in an environment variable +.BR TRIPE_SLIPIF , +whose value must be a colon-separated list of items of the form +.IR infd [ \c +.BI , outfd \c +.RB ] \c +.BI = \c +.IR ifname . +If the +.I outfd +is omitted, the same file descriptor is used for input and output. +.PP +The output file descriptor should not block unless it really needs to: +the +.B tripe +daemon assumes that it won't, and will get wait for it to accept output. .SS "About the name" The program's name is .BR tripe ,