3 .\" Manual for the peer database file format
5 .\" (c) 2008 Straylight/Edgeware
8 .\"----- Licensing notice ---------------------------------------------------
10 .\" This file is part of Trivial IP Encryption (TrIPE).
12 .\" TrIPE is free software; you can redistribute it and/or modify
13 .\" it under the terms of the GNU General Public License as published by
14 .\" the Free Software Foundation; either version 2 of the License, or
15 .\" (at your option) any later version.
17 .\" TrIPE is distributed in the hope that it will be useful,
18 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
19 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 .\" GNU General Public License for more details.
22 .\" You should have received a copy of the GNU General Public License
23 .\" along with TrIPE; if not, write to the Free Software Foundation,
24 .\" Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 .\"--------------------------------------------------------------------------
27 .so ../defs.man.in \"@@@PRE@@@
29 .\"--------------------------------------------------------------------------
30 .TH peers.cdb 5tripe "27 March 2008" "Straylight/Edgeware" "TrIPE: Trivial IP Encryption"
32 .\"--------------------------------------------------------------------------
35 peers.cdb \- compiled peer database
37 .\"--------------------------------------------------------------------------
44 format database containing information about peers in the TrIPE network,
45 and how to connect to them. It is set up by the
46 .BR tripe-newpeers (8)
47 program based on input in a
50 .SS "Database records"
51 The database contains four kinds of records. The type of record can be
52 inferred from the first character of the record's key.
57 The record consists of a collection of key-value
60 format specified by RFC1866, except that key-value pairs are separated
63 characters. Some of the keys have meaning to various tools and
64 services; others are available for local use.
69 The record consists of a peer name (i.e., a name for which a
71 record exists); all characters are significant. User records are used
74 service to map between user names presented to its
76 command and peer names. No particular relationship between TrIPE user
77 names and system users is necessary.
82 The record consists of key-value pairs in
84 format, just as for peer records. Their meaning is currently not
90 The record format is idiosyncratic. The special records currently
91 defined are described below.
93 The following special records are defined.
96 The record contains a list of a space-separated list of peer names
97 (i.e., names for which a
99 record exists). It is read by the
101 service as a list of peers for which active connections should be made
104 .\"--------------------------------------------------------------------------
110 .BR tripe-newpeers (8),
114 .\"--------------------------------------------------------------------------
117 Mark Wooding, <mdw@distorted.org.uk>
119 .\"----- That's all, folks --------------------------------------------------