/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk
129 by Teddy Hogeborn
* mandos-clients.conf.xml: Changed all single quotes to double quotes
1
<?xml version="1.0" encoding="UTF-8"?>
24.1.23 by Björn Påhlsson
Added manual pages for:
2
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3
	"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
24.1.24 by Björn Påhlsson
minor edits
4
<!ENTITY CONFNAME "mandos-clients.conf">
24.1.23 by Björn Påhlsson
Added manual pages for:
5
<!ENTITY CONFPATH "<filename>/etc/mandos/clients.conf</filename>">
1319 by Teddy Hogeborn
Update copyright year
6
<!ENTITY TIMESTAMP "2025-06-27">
217 by Teddy Hogeborn
* .bzrignore: Added "man" directory (created by "make install-html").
7
<!ENTITY % common SYSTEM "common.ent">
8
%common;
24.1.23 by Björn Påhlsson
Added manual pages for:
9
]>
10
131 by Teddy Hogeborn
* Makefile: Make all DocBook rules include legalnotice.xml as a
11
<refentry xmlns:xi="http://www.w3.org/2001/XInclude">
24.1.23 by Björn Påhlsson
Added manual pages for:
12
  <refentryinfo>
112 by Teddy Hogeborn
* mandos-clients.conf.xml (/refentry/refentryinfo/title): Changed to
13
    <title>Mandos Manual</title>
93 by Teddy Hogeborn
* mandos (string_to_delta): Accept a whitespace-separated sequence of
14
    <!-- NWalsh’s docbook scripts use this to generate the footer: -->
112 by Teddy Hogeborn
* mandos-clients.conf.xml (/refentry/refentryinfo/title): Changed to
15
    <productname>Mandos</productname>
217 by Teddy Hogeborn
* .bzrignore: Added "man" directory (created by "make install-html").
16
    <productnumber>&version;</productnumber>
111 by Teddy Hogeborn
* mandos-clients.conf.xml (ENTITY TIMESTAMP): New. Automatically
17
    <date>&TIMESTAMP;</date>
24.1.23 by Björn Påhlsson
Added manual pages for:
18
    <authorgroup>
19
      <author>
20
	<firstname>Björn</firstname>
21
	<surname>Påhlsson</surname>
22
	<address>
505.1.2 by Teddy Hogeborn
Change "fukt.bsnet.se" to "recompile.se" throughout.
23
	  <email>belorn@recompile.se</email>
24.1.23 by Björn Påhlsson
Added manual pages for:
24
	</address>
25
      </author>
26
      <author>
27
	<firstname>Teddy</firstname>
28
	<surname>Hogeborn</surname>
29
	<address>
505.1.2 by Teddy Hogeborn
Change "fukt.bsnet.se" to "recompile.se" throughout.
30
	  <email>teddy@recompile.se</email>
24.1.23 by Björn Påhlsson
Added manual pages for:
31
	</address>
32
      </author>
33
    </authorgroup>
34
    <copyright>
35
      <year>2008</year>
246 by Teddy Hogeborn
* README: Update copyright year; add "2009".
36
      <year>2009</year>
444 by Teddy Hogeborn
Update copyright year to "2010" wherever appropriate.
37
      <year>2010</year>
466 by Teddy Hogeborn
Update copyright year to "2011" wherever appropriate.
38
      <year>2011</year>
544 by Teddy Hogeborn
Updated year in copyright notices.
39
      <year>2012</year>
778 by Teddy Hogeborn
Update copyright year.
40
      <year>2013</year>
41
      <year>2014</year>
42
      <year>2015</year>
807 by Teddy Hogeborn
Update copyright year.
43
      <year>2016</year>
899 by Teddy Hogeborn
Update copyright year to 2017
44
      <year>2017</year>
923 by Teddy Hogeborn
Update copyright year to 2018
45
      <year>2018</year>
969 by Teddy Hogeborn
Update copyright year to 2019
46
      <year>2019</year>
1319 by Teddy Hogeborn
Update copyright year
47
      <year>2020</year>
48
      <year>2021</year>
49
      <year>2022</year>
50
      <year>2023</year>
93 by Teddy Hogeborn
* mandos (string_to_delta): Accept a whitespace-separated sequence of
51
      <holder>Teddy Hogeborn</holder>
52
      <holder>Björn Påhlsson</holder>
24.1.23 by Björn Påhlsson
Added manual pages for:
53
    </copyright>
131 by Teddy Hogeborn
* Makefile: Make all DocBook rules include legalnotice.xml as a
54
    <xi:include href="legalnotice.xml"/>
24.1.23 by Björn Påhlsson
Added manual pages for:
55
  </refentryinfo>
182 by Teddy Hogeborn
* Makefile (install): Use "install-client-nokey".
56
  
24.1.23 by Björn Påhlsson
Added manual pages for:
57
  <refmeta>
58
    <refentrytitle>&CONFNAME;</refentrytitle>
59
    <manvolnum>5</manvolnum>
60
  </refmeta>
61
  
62
  <refnamediv>
63
    <refname><filename>&CONFNAME;</filename></refname>
64
    <refpurpose>
93 by Teddy Hogeborn
* mandos (string_to_delta): Accept a whitespace-separated sequence of
65
      Configuration file for the Mandos server
24.1.23 by Björn Påhlsson
Added manual pages for:
66
    </refpurpose>
67
  </refnamediv>
182 by Teddy Hogeborn
* Makefile (install): Use "install-client-nokey".
68
  
24.1.23 by Björn Påhlsson
Added manual pages for:
69
  <refsynopsisdiv>
119 by Teddy Hogeborn
* mandos-clients.conf.xml (SYNOPSIS): Remove line breaks.
70
    <synopsis>&CONFPATH;</synopsis>
24.1.23 by Björn Påhlsson
Added manual pages for:
71
  </refsynopsisdiv>
182 by Teddy Hogeborn
* Makefile (install): Use "install-client-nokey".
72
  
24.1.23 by Björn Påhlsson
Added manual pages for:
73
  <refsect1 id="description">
74
    <title>DESCRIPTION</title>
75
    <para>
106 by Teddy Hogeborn
* mandos-clients.conf.xml (DESCRIPTION): Do not imply that this is the
76
      The file &CONFPATH; is a configuration file for <citerefentry
93 by Teddy Hogeborn
* mandos (string_to_delta): Accept a whitespace-separated sequence of
77
      ><refentrytitle>mandos</refentrytitle>
106 by Teddy Hogeborn
* mandos-clients.conf.xml (DESCRIPTION): Do not imply that this is the
78
      <manvolnum>8</manvolnum></citerefentry>, read by it at startup.
79
      The file needs to list all clients that should be able to use
546 by Teddy Hogeborn
* debian/rules (binary-common): Exclude network-hooks.d from
80
      the service.  The settings in this file can be overridden by
81
      runtime changes to the server, which it saves across restarts.
82
      (See the section called <quote>PERSISTENT STATE</quote> in
83
      <citerefentry><refentrytitle>mandos</refentrytitle><manvolnum
84
      >8</manvolnum></citerefentry>.)  However, any <emphasis
85
      >changes</emphasis> to this file (including adding and removing
86
      clients) will, at startup, override changes done during runtime.
93 by Teddy Hogeborn
* mandos (string_to_delta): Accept a whitespace-separated sequence of
87
    </para>
88
    <para>
94 by Teddy Hogeborn
* clients.conf ([DEFAULT]/checker): Update to new default value.
89
      The format starts with a <literal>[<replaceable>section
90
      header</replaceable>]</literal> which is either
93 by Teddy Hogeborn
* mandos (string_to_delta): Accept a whitespace-separated sequence of
91
      <literal>[DEFAULT]</literal> or <literal>[<replaceable>client
94 by Teddy Hogeborn
* clients.conf ([DEFAULT]/checker): Update to new default value.
92
      name</replaceable>]</literal>.  The <replaceable>client
93
      name</replaceable> can be anything, and is not tied to a host
94
      name.  Following the section header is any number of
95
      <quote><varname><replaceable>option</replaceable
93 by Teddy Hogeborn
* mandos (string_to_delta): Accept a whitespace-separated sequence of
96
      ></varname>=<replaceable>value</replaceable></quote> entries,
97
      with continuations in the style of RFC 822.  <quote><varname
98
      ><replaceable>option</replaceable></varname>: <replaceable
99
      >value</replaceable></quote> is also accepted.  Note that
100
      leading whitespace is removed from values.  Values can contain
101
      format strings which refer to other values in the same section,
94 by Teddy Hogeborn
* clients.conf ([DEFAULT]/checker): Update to new default value.
102
      or values in the <quote>DEFAULT</quote> section (see <xref
103
      linkend="expansion"/>).  Lines beginning with <quote>#</quote>
104
      or <quote>;</quote> are ignored and may be used to provide
105
      comments.
24.1.23 by Björn Påhlsson
Added manual pages for:
106
    </para>
107
  </refsect1>
93 by Teddy Hogeborn
* mandos (string_to_delta): Accept a whitespace-separated sequence of
108
  
109
  <refsect1 id="options">
110
    <title>OPTIONS</title>
24.1.23 by Björn Påhlsson
Added manual pages for:
111
    <para>
106 by Teddy Hogeborn
* mandos-clients.conf.xml (DESCRIPTION): Do not imply that this is the
112
      <emphasis>Note:</emphasis> all option values are subject to
113
      start time expansion, see <xref linkend="expansion"/>.
114
    </para>
115
    <para>
156 by Teddy Hogeborn
* mandos-clients.conf.xml (OPTIONS): Improved spelling.
116
      Unknown options are ignored.  The used options are as follows:
24.1.23 by Björn Påhlsson
Added manual pages for:
117
    </para>
182 by Teddy Hogeborn
* Makefile (install): Use "install-client-nokey".
118
    
24.1.23 by Björn Påhlsson
Added manual pages for:
119
    <variablelist>
182 by Teddy Hogeborn
* Makefile (install): Use "install-client-nokey".
120
      
24.1.23 by Björn Påhlsson
Added manual pages for:
121
      <varlistentry>
438 by Teddy Hogeborn
* mandos (Client.runtime_expansions): New attribute containing the
122
	<term><option>approval_delay<literal> = </literal><replaceable
123
	>TIME</replaceable></option></term>
124
	<listitem>
125
	  <para>
126
	    This option is <emphasis>optional</emphasis>.
127
	  </para>
128
	  <para>
129
	    How long to wait for external approval before resorting to
130
	    use the <option>approved_by_default</option> value.  The
626 by Teddy Hogeborn
* Makefile (CFLAGS, LDFLAGS): Keep default flags from environment.
131
	    default is <quote>PT0S</quote>, i.e. not to wait.
438 by Teddy Hogeborn
* mandos (Client.runtime_expansions): New attribute containing the
132
	  </para>
133
	  <para>
134
	    The format of <replaceable>TIME</replaceable> is the same
135
	    as for <varname>timeout</varname> below.
136
	  </para>
137
	</listitem>
138
      </varlistentry>
139
      
140
      <varlistentry>
141
	<term><option>approval_duration<literal> = </literal
142
        ><replaceable>TIME</replaceable></option></term>
143
	<listitem>
144
	  <para>
145
	    This option is <emphasis>optional</emphasis>.
146
	  </para>
147
	  <para>
148
	    How long an external approval lasts.  The default is 1
149
	    second.
150
	  </para>
151
	  <para>
152
	    The format of <replaceable>TIME</replaceable> is the same
153
	    as for <varname>timeout</varname> below.
154
	  </para>
155
	</listitem>
156
      </varlistentry>
157
      
158
      <varlistentry>
159
	<term><option>approved_by_default<literal> = </literal
160
          >{ <literal >1</literal> | <literal>yes</literal> | <literal
161
	  >true</literal> | <literal>on</literal> | <literal
162
	  >0</literal> | <literal>no</literal> | <literal
163
	  >false</literal> | <literal>off</literal> }</option></term>
164
	<listitem>
165
	  <para>
166
	    Whether to approve a client by default after
167
	    the <option>approval_delay</option>.  The default
168
	    is <quote>True</quote>.
24.1.23 by Björn Påhlsson
Added manual pages for:
169
	  </para>
170
	</listitem>
118 by Teddy Hogeborn
* mandos-keygen.xml (SYNOPSIS): Fixed tags. Unify short and long
171
      </varlistentry>
182 by Teddy Hogeborn
* Makefile (install): Use "install-client-nokey".
172
      
24.1.23 by Björn Påhlsson
Added manual pages for:
173
      <varlistentry>
119 by Teddy Hogeborn
* mandos-clients.conf.xml (SYNOPSIS): Remove line breaks.
174
	<term><option>checker<literal> = </literal><replaceable
175
	>COMMAND</replaceable></option></term>
24.1.23 by Björn Påhlsson
Added manual pages for:
176
	<listitem>
177
	  <para>
150 by Teddy Hogeborn
* mandos-clients.conf.xml (OPTIONS): Add info to all options about
178
	    This option is <emphasis>optional</emphasis>.
179
	  </para>
180
	  <para>
590 by Teddy Hogeborn
* mandos: Change comment.
181
	    This option overrides the default shell command that the
182
	    server will use to check if the client is still up.  Any
183
	    output of the command will be ignored, only the exit code
184
	    is checked:  If the exit code of the command is zero, the
185
	    client is considered up.  The command will be run using
186
	    <quote><command><filename>/bin/sh</filename>
106 by Teddy Hogeborn
* mandos-clients.conf.xml (DESCRIPTION): Do not imply that this is the
187
	    <option>-c</option></command></quote>, so
188
	    <varname>PATH</varname> will be searched.  The default
189
	    value for the checker command is <quote><literal
190
	    ><command>fping</command> <option>-q</option> <option
708 by Teddy Hogeborn
mandos-keygen: Generate "checker" option to use SSH fingerprints.
191
	    >--</option> %%(host)s</literal></quote>.  Note that
192
	    <command>mandos-keygen</command>, when generating output
193
	    to be inserted into this file, normally looks for an SSH
965 by Teddy Hogeborn
Doc fix: Minor clarification
194
	    server on the Mandos client, and, if it finds one, outputs
708 by Teddy Hogeborn
mandos-keygen: Generate "checker" option to use SSH fingerprints.
195
	    a <option>checker</option> option to check for the
965 by Teddy Hogeborn
Doc fix: Minor clarification
196
	    client’s SSH key fingerprint  this is more secure against
708 by Teddy Hogeborn
mandos-keygen: Generate "checker" option to use SSH fingerprints.
197
	    spoofing.
94 by Teddy Hogeborn
* clients.conf ([DEFAULT]/checker): Update to new default value.
198
	  </para>
199
	  <para>
200
	    In addition to normal start time expansion, this option
201
	    will also be subject to runtime expansion; see <xref
202
	    linkend="expansion"/>.
24.1.23 by Björn Påhlsson
Added manual pages for:
203
	  </para>
204
	</listitem>
205
      </varlistentry>
206
      
207
      <varlistentry>
500 by Teddy Hogeborn
* mandos-clients.conf.xml (OPTIONS): Moved up "extended_timeout" to
208
	<term><option>extended_timeout<literal> = </literal><replaceable
209
	>TIME</replaceable></option></term>
210
	<listitem>
211
	  <para>
212
	    This option is <emphasis>optional</emphasis>.
213
	  </para>
214
	  <para>
215
	    Extended timeout is an added timeout that is given once
505.1.13 by Teddy Hogeborn
Miscellaneous fixes prompted by lintian:
216
	    after a password has been sent successfully to a client.
500 by Teddy Hogeborn
* mandos-clients.conf.xml (OPTIONS): Moved up "extended_timeout" to
217
	    The timeout is by default longer than the normal timeout,
218
	    and is used for handling the extra long downtime while a
219
	    machine is booting up.  Time to take into consideration
220
	    when changing this value is file system checks and quota
221
	    checks.  The default value is 15 minutes.
222
	  </para>
223
	  <para>
224
	    The format of <replaceable>TIME</replaceable> is the same
225
	    as for <varname>timeout</varname> below.
226
	  </para>
227
	</listitem>
228
      </varlistentry>
229
      
230
      <varlistentry>
119 by Teddy Hogeborn
* mandos-clients.conf.xml (SYNOPSIS): Remove line breaks.
231
	<term><option>fingerprint<literal> = </literal
232
	><replaceable>HEXSTRING</replaceable></option></term>
24.1.23 by Björn Påhlsson
Added manual pages for:
233
	<listitem>
234
	  <para>
1265 by Teddy Hogeborn
Clarify documentation and a comment about GnuTLS versions
235
	    This option is <emphasis>required</emphasis> if the
236
	    <option>key_id</option> is not set, and
237
	    <emphasis>optional</emphasis> otherwise.
150 by Teddy Hogeborn
* mandos-clients.conf.xml (OPTIONS): Add info to all options about
238
	  </para>
239
	  <para>
1265 by Teddy Hogeborn
Clarify documentation and a comment about GnuTLS versions
240
	    This option sets the OpenPGP fingerprint that (before
241
	    GnuTLS 3.6.0) identified the public key that clients
242
	    authenticate themselves with through TLS.  The string
243
	    needs to be in hexadecimal form, but spaces or upper/lower
244
	    case are not significant.
24.1.23 by Björn Påhlsson
Added manual pages for:
245
	  </para>
246
	</listitem>
247
      </varlistentry>
248
      
249
      <varlistentry>
962 by Teddy Hogeborn
Add support for using raw public keys in TLS (RFC 7250)
250
	<term><option>key_id<literal> = </literal
251
	><replaceable>HEXSTRING</replaceable></option></term>
252
	<listitem>
253
	  <para>
1265 by Teddy Hogeborn
Clarify documentation and a comment about GnuTLS versions
254
	    This option is <emphasis>required</emphasis> if the
255
	    <option>fingerprint</option> is not set, and
256
	    <emphasis>optional</emphasis> otherwise.
962 by Teddy Hogeborn
Add support for using raw public keys in TLS (RFC 7250)
257
	  </para>
258
	  <para>
1265 by Teddy Hogeborn
Clarify documentation and a comment about GnuTLS versions
259
	    This option sets the certificate key ID that (with GnuTLS
260
	    3.6.6 or later) identifies the public key that clients
261
	    authenticate themselves with through TLS.  The string
262
	    needs to be in hexadecimal form, but spaces or upper/lower
263
	    case are not significant.
962 by Teddy Hogeborn
Add support for using raw public keys in TLS (RFC 7250)
264
	  </para>
265
	</listitem>
266
      </varlistentry>
267
      
268
      <varlistentry>
438 by Teddy Hogeborn
* mandos (Client.runtime_expansions): New attribute containing the
269
	<term><option><literal>host = </literal><replaceable
270
	>STRING</replaceable></option></term>
271
	<listitem>
272
	  <para>
273
	    This option is <emphasis>optional</emphasis>, but highly
274
	    <emphasis>recommended</emphasis> unless the
275
	    <option>checker</option> option is modified to a
276
	    non-standard value without <quote>%%(host)s</quote> in it.
277
	  </para>
278
	  <para>
279
	    Host name for this client.  This is not used by the server
280
	    directly, but can be, and is by default, used by the
281
	    checker.  See the <option>checker</option> option.
282
	  </para>
283
	</listitem>
284
      </varlistentry>
285
      
286
      <varlistentry>
287
	<term><option>interval<literal> = </literal><replaceable
288
	>TIME</replaceable></option></term>
289
	<listitem>
290
	  <para>
291
	    This option is <emphasis>optional</emphasis>.
292
	  </para>
293
	  <para>
294
	    How often to run the checker to confirm that a client is
295
	    still up.  <emphasis>Note:</emphasis> a new checker will
296
	    not be started if an old one is still running.  The server
297
	    will wait for a checker to complete until the below
298
	    <quote><varname>timeout</varname></quote> occurs, at which
299
	    time the client will be disabled, and any running checker
24.1.179 by Björn Påhlsson
New feature:
300
	    killed.  The default interval is 2 minutes.
438 by Teddy Hogeborn
* mandos (Client.runtime_expansions): New attribute containing the
301
	  </para>
302
	  <para>
303
	    The format of <replaceable>TIME</replaceable> is the same
304
	    as for <varname>timeout</varname> below.
305
	  </para>
306
	</listitem>
307
      </varlistentry>
308
      
309
      <varlistentry>
310
	<term><option>secfile<literal> = </literal><replaceable
311
	>FILENAME</replaceable></option></term>
312
	<listitem>
313
	  <para>
314
	    This option is only used if <option>secret</option> is not
315
	    specified, in which case this option is
316
	    <emphasis>required</emphasis>.
317
	  </para>
318
	  <para>
319
	    Similar to the <option>secret</option>, except the secret
320
	    data is in an external file.  The contents of the file
321
	    should <emphasis>not</emphasis> be base64-encoded, but
322
	    will be sent to clients verbatim.
323
	  </para>
324
	  <para>
325
	    File names of the form <filename>~user/foo/bar</filename>
326
	    and <filename>$<envar>ENVVAR</envar>/foo/bar</filename>
327
	    are supported.
328
	  </para>
329
	</listitem>
330
      </varlistentry>
331
      
332
      <varlistentry>
119 by Teddy Hogeborn
* mandos-clients.conf.xml (SYNOPSIS): Remove line breaks.
333
	<term><option>secret<literal> = </literal><replaceable
334
	>BASE64_ENCODED_DATA</replaceable></option></term>
24.1.23 by Björn Påhlsson
Added manual pages for:
335
	<listitem>
94 by Teddy Hogeborn
* clients.conf ([DEFAULT]/checker): Update to new default value.
336
	  <para>
150 by Teddy Hogeborn
* mandos-clients.conf.xml (OPTIONS): Add info to all options about
337
	    If this option is not specified, the <option
338
	    >secfile</option> option is <emphasis>required</emphasis>
339
	    to be present.
340
	  </para>
341
	  <para>
94 by Teddy Hogeborn
* clients.conf ([DEFAULT]/checker): Update to new default value.
342
	    If present, this option must be set to a string of
343
	    base64-encoded binary data.  It will be decoded and sent
962 by Teddy Hogeborn
Add support for using raw public keys in TLS (RFC 7250)
344
	    to the client matching the above <option>key_id</option>
345
	    or <option>fingerprint</option>.  This should, of course,
346
	    be OpenPGP encrypted data, decryptable only by the client.
106 by Teddy Hogeborn
* mandos-clients.conf.xml (DESCRIPTION): Do not imply that this is the
347
	    The program <citerefentry><refentrytitle><command
348
	    >mandos-keygen</command></refentrytitle><manvolnum
349
	    >8</manvolnum></citerefentry> can, using its
350
	    <option>--password</option> option, be used to generate
351
	    this, if desired.
352
	  </para>
353
	  <para>
354
	    Note: this value of this option will probably be very
355
	    long.  A useful feature to avoid having unreadably-long
356
	    lines is that a line beginning with white space adds to
357
	    the value of the previous line, RFC 822-style.
358
	  </para>
24.1.23 by Björn Påhlsson
Added manual pages for:
359
	</listitem>
360
      </varlistentry>
182 by Teddy Hogeborn
* Makefile (install): Use "install-client-nokey".
361
      
24.1.23 by Björn Påhlsson
Added manual pages for:
362
      <varlistentry>
438 by Teddy Hogeborn
* mandos (Client.runtime_expansions): New attribute containing the
363
	<term><option>timeout<literal> = </literal><replaceable
423 by Teddy Hogeborn
Documentation changes:
364
	>TIME</replaceable></option></term>
365
	<listitem>
366
	  <para>
367
	    This option is <emphasis>optional</emphasis>.
368
	  </para>
369
	  <para>
501 by Teddy Hogeborn
* mandos-clients.conf.xml (OPTIONS/timeout): No longer used when
370
	    The timeout is how long the server will wait, after a
371
	    successful checker run, until a client is disabled and not
372
	    allowed to get the data this server holds.  By default
373
	    Mandos will use 5 minutes.  See also the
374
	    <option>extended_timeout</option> option.
438 by Teddy Hogeborn
* mandos (Client.runtime_expansions): New attribute containing the
375
	  </para>
376
	  <para>
609 by Teddy Hogeborn
* clients.conf: Convert all time intervals to new RFC 3339 syntax.
377
	    The <replaceable>TIME</replaceable> is specified as an RFC
378
	    3339 duration; for example
379
	    <quote><literal>P1Y2M3DT4H5M6S</literal></quote> meaning
380
	    one year, two months, three days, four hours, five
381
	    minutes, and six seconds.  Some values can be omitted, see
382
	    RFC 3339 Appendix A for details.
423 by Teddy Hogeborn
Documentation changes:
383
	  </para>
384
	</listitem>
385
      </varlistentry>
386
      
518.2.3 by Teddy Hogeborn
Make "enabled" a client config option.
387
      <varlistentry>
388
	<term><option>enabled<literal> = </literal>{ <literal
389
	>1</literal> | <literal>yes</literal> |	<literal>true</literal
390
	> | <literal >on</literal> | <literal>0</literal> | <literal
391
	>no</literal> | <literal>false</literal> | <literal
392
	>off</literal> }</option></term>
393
	<listitem>
394
	  <para>
395
	    Whether this client should be enabled by default.  The
396
	    default is <quote>true</quote>.
397
	  </para>
398
	</listitem>
399
      </varlistentry>
400
      
24.1.23 by Björn Påhlsson
Added manual pages for:
401
    </variablelist>
118 by Teddy Hogeborn
* mandos-keygen.xml (SYNOPSIS): Fixed tags. Unify short and long
402
  </refsect1>
93 by Teddy Hogeborn
* mandos (string_to_delta): Accept a whitespace-separated sequence of
403
  
404
  <refsect1 id="expansion">
405
    <title>EXPANSION</title>
406
    <para>
407
      There are two forms of expansion: Start time expansion and
408
      runtime expansion.
409
    </para>
94 by Teddy Hogeborn
* clients.conf ([DEFAULT]/checker): Update to new default value.
410
    <refsect2 id="start_time_expansion">
93 by Teddy Hogeborn
* mandos (string_to_delta): Accept a whitespace-separated sequence of
411
      <title>START TIME EXPANSION</title>
412
      <para>
413
	Any string in an option value of the form
414
	<quote><literal>%(<replaceable>foo</replaceable>)s</literal
415
	></quote> will be replaced by the value of the option
416
	<varname>foo</varname> either in the same section, or, if it
417
	does not exist there, the <literal>[DEFAULT]</literal>
418
	section.  This is done at start time, when the configuration
419
	file is read.
420
      </para>
421
      <para>
422
	Note that this means that, in order to include an actual
423
	percent character (<quote>%</quote>) in an option value, two
424
	percent characters in a row (<quote>%%</quote>) must be
425
	entered.
426
      </para>
427
    </refsect2>
94 by Teddy Hogeborn
* clients.conf ([DEFAULT]/checker): Update to new default value.
428
    <refsect2 id="runtime_expansion">
93 by Teddy Hogeborn
* mandos (string_to_delta): Accept a whitespace-separated sequence of
429
      <title>RUNTIME EXPANSION</title>
430
      <para>
431
	This is currently only done for the <varname>checker</varname>
432
	option.
433
      </para>
434
      <para>
435
	Any string in an option value of the form
436
	<quote><literal>%%(<replaceable>foo</replaceable>)s</literal
437
	></quote> will be replaced by the value of the attribute
438
	<varname>foo</varname> of the internal
449 by teddy at bsnet
* mandos-clients.conf.xml (EXPANSION/RUNTIME EXPANSION): List possible
439
	<quote><classname>Client</classname></quote> object in the
440
	Mandos server.  The currently allowed values for
441
	<replaceable>foo</replaceable> are:
442
	<quote><literal>approval_delay</literal></quote>,
443
	<quote><literal>approval_duration</literal></quote>,
444
	<quote><literal>created</literal></quote>,
445
	<quote><literal>enabled</literal></quote>,
584 by Teddy Hogeborn
* mandos (Client.runtime_expansions): Add "expires" and (bug fix)
446
	<quote><literal>expires</literal></quote>,
962 by Teddy Hogeborn
Add support for using raw public keys in TLS (RFC 7250)
447
	<quote><literal>key_id</literal></quote>,
449 by teddy at bsnet
* mandos-clients.conf.xml (EXPANSION/RUNTIME EXPANSION): List possible
448
	<quote><literal>fingerprint</literal></quote>,
449
	<quote><literal>host</literal></quote>,
450
	<quote><literal>interval</literal></quote>,
451
	<quote><literal>last_approval_request</literal></quote>,
452
	<quote><literal>last_checked_ok</literal></quote>,
453
	<quote><literal>last_enabled</literal></quote>,
454
	<quote><literal>name</literal></quote>,
455
	<quote><literal>timeout</literal></quote>, and, if using
456
	D-Bus, <quote><literal>dbus_object_path</literal></quote>.
457
	See the source code for details.  <emphasis role="strong"
458
	>Currently, <emphasis>none</emphasis> of these attributes
459
	except <quote><literal>host</literal></quote> are guaranteed
460
	to be valid in future versions.</emphasis> Therefore, please
461
	let the authors know of any attributes that are useful so they
462
	may be preserved to any new versions of this software.
93 by Teddy Hogeborn
* mandos (string_to_delta): Accept a whitespace-separated sequence of
463
      </para>
464
      <para>
465
	Note that this means that, in order to include an actual
466
	percent character (<quote>%</quote>) in a
106 by Teddy Hogeborn
* mandos-clients.conf.xml (DESCRIPTION): Do not imply that this is the
467
	<varname>checker</varname> option, <emphasis>four</emphasis>
93 by Teddy Hogeborn
* mandos (string_to_delta): Accept a whitespace-separated sequence of
468
	percent characters in a row (<quote>%%%%</quote>) must be
469
	entered.  Also, a bad format here will lead to an immediate
470
	but <emphasis>silent</emphasis> run-time fatal exit; debug
119 by Teddy Hogeborn
* mandos-clients.conf.xml (SYNOPSIS): Remove line breaks.
471
	mode is needed to expose an error of this kind.
93 by Teddy Hogeborn
* mandos (string_to_delta): Accept a whitespace-separated sequence of
472
      </para>
473
    </refsect2>
182 by Teddy Hogeborn
* Makefile (install): Use "install-client-nokey".
474
    
118 by Teddy Hogeborn
* mandos-keygen.xml (SYNOPSIS): Fixed tags. Unify short and long
475
  </refsect1>
93 by Teddy Hogeborn
* mandos (string_to_delta): Accept a whitespace-separated sequence of
476
  
477
  <refsect1 id="files">
478
    <title>FILES</title>
479
    <para>
480
      The file described here is &CONFPATH;
481
    </para>
482
  </refsect1>
483
  
484
  <refsect1 id="bugs">
485
    <title>BUGS</title>
486
    <para>
487
      The format for specifying times for <varname>timeout</varname>
488
      and <varname>interval</varname> is not very good.
489
    </para>
490
    <para>
491
      The difference between
492
      <literal>%%(<replaceable>foo</replaceable>)s</literal> and
493
      <literal>%(<replaceable>foo</replaceable>)s</literal> is
494
      obscure.
495
    </para>
821 by Teddy Hogeborn
Add bug reporting information to manual pages
496
    <xi:include href="bugs.xml"/>
93 by Teddy Hogeborn
* mandos (string_to_delta): Accept a whitespace-separated sequence of
497
  </refsect1>
498
  
499
  <refsect1 id="example">
500
    <title>EXAMPLE</title>
24.1.23 by Björn Påhlsson
Added manual pages for:
501
    <informalexample>
502
      <programlisting>
503
[DEFAULT]
609 by Teddy Hogeborn
* clients.conf: Convert all time intervals to new RFC 3339 syntax.
504
timeout = PT5M
505
interval = PT2M
257 by Teddy Hogeborn
Change the default value of the "checker" option command to make the
506
checker = fping -q -- %%(host)s
24.1.23 by Björn Påhlsson
Added manual pages for:
507
93 by Teddy Hogeborn
* mandos (string_to_delta): Accept a whitespace-separated sequence of
508
# Client "foo"
509
[foo]
962 by Teddy Hogeborn
Add support for using raw public keys in TLS (RFC 7250)
510
key_id = 788cd77115cd0bb7b2d5e0ae8496f6b48149d5e712c652076b1fd2d957ef7c1f
24.1.23 by Björn Påhlsson
Added manual pages for:
511
fingerprint =  7788 2722 5BA7 DE53 9C5A  7CFA 59CF F7CD BD9A 5920
512
secret =
24.1.24 by Björn Påhlsson
minor edits
513
        hQIOA6QdEjBs2L/HEAf/TCyrDe5Xnm9esa+Pb/vWF9CUqfn4srzVgSu234
514
        REJMVv7lBSrPE2132Lmd2gqF1HeLKDJRSVxJpt6xoWOChGHg+TMyXDxK+N
515
        Xl89vGvdU1XfhKkVm9MDLOgT5ECDPysDGHFPDhqHOSu3Kaw2DWMV/iH9vz
516
        3Z20erVNbdcvyBnuojcoWO/6yfB5EQO0BXp7kcyy00USA3CjD5FGZdoQGI
517
        Tb8A/ar0tVA5crSQmaSotm6KmNLhrFnZ5BxX+TiE+eTUTqSloWRY6VAvqW
518
        QHC7OASxK5E6RXPBuFH5IohUA2Qbk5AHt99pYvsIPX88j2rWauOokoiKZo
519
        t/9leJ8VxO5l3wf/U64IH8bkPIoWmWZfd/nqh4uwGNbCgKMyT+AnvH7kMJ
520
        3i7DivfWl2mKLV0PyPHUNva0VQxX6yYjcOhj1R6fCr/at8/NSLe2OhLchz
521
        dC+Ls9h+kvJXgF8Sisv+Wk/1RadPLFmraRlqvJwt6Ww21LpiXqXHV2mIgq
522
        WnR98YgSvUi3TJHrUQiNc9YyBzuRo0AjgG2C9qiE3FM+Y28+iQ/sR3+bFs
523
        zYuZKVTObqiIslwXu7imO0cvvFRgJF/6u3HNFQ4LUTGhiM3FQmC6NNlF3/
524
        vJM2hwRDMcJqDd54Twx90Wh+tYz0z7QMsK4ANXWHHWHR0JchnLWmenzbtW
525
        5MHdW9AYsNJZAQSOpirE4Xi31CSlWAi9KV+cUCmWF5zOFy1x23P6PjdaRm
526
        4T2zw4dxS5NswXWU0sVEXxjs6PYxuIiCTL7vdpx8QjBkrPWDrAbcMyBr2O
527
        QlnHIvPzEArRQLo=
93 by Teddy Hogeborn
* mandos (string_to_delta): Accept a whitespace-separated sequence of
528
host = foo.example.org
609 by Teddy Hogeborn
* clients.conf: Convert all time intervals to new RFC 3339 syntax.
529
interval = PT1M
93 by Teddy Hogeborn
* mandos (string_to_delta): Accept a whitespace-separated sequence of
530
531
# Client "bar"
532
[bar]
962 by Teddy Hogeborn
Add support for using raw public keys in TLS (RFC 7250)
533
key_id = F90C7A81D72D1EA69A51031A91FF8885F36C8B46D155C8C58709A4C99AE9E361
93 by Teddy Hogeborn
* mandos (string_to_delta): Accept a whitespace-separated sequence of
534
fingerprint = 3e393aeaefb84c7e89e2f547b3a107558fca3a27
106 by Teddy Hogeborn
* mandos-clients.conf.xml (DESCRIPTION): Do not imply that this is the
535
secfile = /etc/mandos/bar-secret
609 by Teddy Hogeborn
* clients.conf: Convert all time intervals to new RFC 3339 syntax.
536
timeout = PT15M
423 by Teddy Hogeborn
Documentation changes:
537
approved_by_default = False
609 by Teddy Hogeborn
* clients.conf: Convert all time intervals to new RFC 3339 syntax.
538
approval_delay = PT30S
24.1.23 by Björn Påhlsson
Added manual pages for:
539
      </programlisting>
540
    </informalexample>
118 by Teddy Hogeborn
* mandos-keygen.xml (SYNOPSIS): Fixed tags. Unify short and long
541
  </refsect1>
106 by Teddy Hogeborn
* mandos-clients.conf.xml (DESCRIPTION): Do not imply that this is the
542
  
543
  <refsect1 id="see_also">
544
    <title>SEE ALSO</title>
545
    <para>
493 by Teddy Hogeborn
* Makefile (DOCS): Added "intro.8mandos".
546
      <citerefentry><refentrytitle>intro</refentrytitle>
547
      <manvolnum>8mandos</manvolnum></citerefentry>,
114 by Teddy Hogeborn
* mandos-clients.conf.xml (SEE ALSO): Alphabetized, as per
548
      <citerefentry><refentrytitle>mandos-keygen</refentrytitle>
549
      <manvolnum>8</manvolnum></citerefentry>,
550
      <citerefentry><refentrytitle>mandos.conf</refentrytitle>
551
      <manvolnum>5</manvolnum></citerefentry>,
552
      <citerefentry><refentrytitle>mandos</refentrytitle>
590 by Teddy Hogeborn
* mandos: Change comment.
553
      <manvolnum>8</manvolnum></citerefentry>,
554
      <citerefentry><refentrytitle>fping</refentrytitle>
114 by Teddy Hogeborn
* mandos-clients.conf.xml (SEE ALSO): Alphabetized, as per
555
      <manvolnum>8</manvolnum></citerefentry>
106 by Teddy Hogeborn
* mandos-clients.conf.xml (DESCRIPTION): Do not imply that this is the
556
    </para>
609 by Teddy Hogeborn
* clients.conf: Convert all time intervals to new RFC 3339 syntax.
557
    <variablelist>
558
      <varlistentry>
559
	<term>
560
	  RFC 3339: <citetitle>Date and Time on the Internet:
561
	  Timestamps</citetitle>
562
	</term>
563
      <listitem>
564
	<para>
565
	  The time intervals are in the "duration" format, as
566
	  specified in ABNF in Appendix A of RFC 3339.
567
	</para>
568
      </listitem>
569
      </varlistentry>
570
    </variablelist>
106 by Teddy Hogeborn
* mandos-clients.conf.xml (DESCRIPTION): Do not imply that this is the
571
  </refsect1>
24.1.23 by Björn Påhlsson
Added manual pages for:
572
</refentry>
111 by Teddy Hogeborn
* mandos-clients.conf.xml (ENTITY TIMESTAMP): New. Automatically
573
<!-- Local Variables: -->
574
<!-- time-stamp-start: "<!ENTITY TIMESTAMP [\"']" -->
575
<!-- time-stamp-end: "[\"']>" -->
576
<!-- time-stamp-format: "%:y-%02m-%02d" -->
577
<!-- End: -->