/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos-clients.conf.xml

  • Committer: Teddy Hogeborn
  • Date: 2010-09-25 23:52:17 UTC
  • Revision ID: teddy@fukt.bsnet.se-20100925235217-4hhqfryz1ste6uw3
* mandos (ClientDBus.__init__): Bug fix: Translate "-" in client names
                                to "_" in D-Bus object paths.
  (MandosServer.handle_ipc): Bug fix: Send only address string to
                             D-Bus signal, not whole tuple.

* mandos-ctl: New options "--approve-by-default", "--deny-by-default",
              "--approval-delay", and "--approval-duration".
* mandos-ctl.xml (SYNOPSIS, OPTIONS): Document new options.

* mandos-monitor (MandosClientWidget.update): Fix spelling.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
        "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4
4
<!ENTITY CONFNAME "mandos-clients.conf">
5
5
<!ENTITY CONFPATH "<filename>/etc/mandos/clients.conf</filename>">
6
 
<!ENTITY TIMESTAMP "2011-11-26">
 
6
<!ENTITY TIMESTAMP "2010-09-25">
7
7
<!ENTITY % common SYSTEM "common.ent">
8
8
%common;
9
9
]>
20
20
        <firstname>Björn</firstname>
21
21
        <surname>Påhlsson</surname>
22
22
        <address>
23
 
          <email>belorn@recompile.se</email>
 
23
          <email>belorn@fukt.bsnet.se</email>
24
24
        </address>
25
25
      </author>
26
26
      <author>
27
27
        <firstname>Teddy</firstname>
28
28
        <surname>Hogeborn</surname>
29
29
        <address>
30
 
          <email>teddy@recompile.se</email>
 
30
          <email>teddy@fukt.bsnet.se</email>
31
31
        </address>
32
32
      </author>
33
33
    </authorgroup>
34
34
    <copyright>
35
35
      <year>2008</year>
36
36
      <year>2009</year>
37
 
      <year>2010</year>
38
 
      <year>2011</year>
39
37
      <holder>Teddy Hogeborn</holder>
40
38
      <holder>Björn Påhlsson</holder>
41
39
    </copyright>
182
180
      </varlistentry>
183
181
      
184
182
      <varlistentry>
185
 
        <term><option>extended_timeout<literal> = </literal><replaceable
186
 
        >TIME</replaceable></option></term>
187
 
        <listitem>
188
 
          <para>
189
 
            This option is <emphasis>optional</emphasis>.
190
 
          </para>
191
 
          <para>
192
 
            Extended timeout is an added timeout that is given once
193
 
            after a password has been sent successfully to a client.
194
 
            The timeout is by default longer than the normal timeout,
195
 
            and is used for handling the extra long downtime while a
196
 
            machine is booting up.  Time to take into consideration
197
 
            when changing this value is file system checks and quota
198
 
            checks.  The default value is 15 minutes.
199
 
          </para>
200
 
          <para>
201
 
            The format of <replaceable>TIME</replaceable> is the same
202
 
            as for <varname>timeout</varname> below.
203
 
          </para>
204
 
        </listitem>
205
 
      </varlistentry>
206
 
      
207
 
      <varlistentry>
208
183
        <term><option>fingerprint<literal> = </literal
209
184
        ><replaceable>HEXSTRING</replaceable></option></term>
210
185
        <listitem>
252
227
            will wait for a checker to complete until the below
253
228
            <quote><varname>timeout</varname></quote> occurs, at which
254
229
            time the client will be disabled, and any running checker
255
 
            killed.  The default interval is 2 minutes.
 
230
            killed.  The default interval is 5 minutes.
256
231
          </para>
257
232
          <para>
258
233
            The format of <replaceable>TIME</replaceable> is the same
322
297
            This option is <emphasis>optional</emphasis>.
323
298
          </para>
324
299
          <para>
325
 
            The timeout is how long the server will wait, after a
326
 
            successful checker run, until a client is disabled and not
327
 
            allowed to get the data this server holds.  By default
328
 
            Mandos will use 5 minutes.  See also the
329
 
            <option>extended_timeout</option> option.
 
300
            The timeout is how long the server will wait (for either a
 
301
            successful checker run or a client receiving its secret)
 
302
            until a client is disabled and not allowed to get the data
 
303
            this server holds.  By default Mandos will use 1 hour.
330
304
          </para>
331
305
          <para>
332
306
            The <replaceable>TIME</replaceable> is specified as a
344
318
        </listitem>
345
319
      </varlistentry>
346
320
      
347
 
      <varlistentry>
348
 
        <term><option>enabled<literal> = </literal>{ <literal
349
 
        >1</literal> | <literal>yes</literal> | <literal>true</literal
350
 
        > | <literal >on</literal> | <literal>0</literal> | <literal
351
 
        >no</literal> | <literal>false</literal> | <literal
352
 
        >off</literal> }</option></term>
353
 
        <listitem>
354
 
          <para>
355
 
            Whether this client should be enabled by default.  The
356
 
            default is <quote>true</quote>.
357
 
          </para>
358
 
        </listitem>
359
 
      </varlistentry>
360
 
      
361
321
    </variablelist>
362
322
  </refsect1>
363
323
  
396
356
        <quote><literal>%%(<replaceable>foo</replaceable>)s</literal
397
357
        ></quote> will be replaced by the value of the attribute
398
358
        <varname>foo</varname> of the internal
399
 
        <quote><classname>Client</classname></quote> object in the
400
 
        Mandos server.  The currently allowed values for
401
 
        <replaceable>foo</replaceable> are:
402
 
        <quote><literal>approval_delay</literal></quote>,
403
 
        <quote><literal>approval_duration</literal></quote>,
404
 
        <quote><literal>created</literal></quote>,
405
 
        <quote><literal>enabled</literal></quote>,
406
 
        <quote><literal>fingerprint</literal></quote>,
407
 
        <quote><literal>host</literal></quote>,
408
 
        <quote><literal>interval</literal></quote>,
409
 
        <quote><literal>last_approval_request</literal></quote>,
410
 
        <quote><literal>last_checked_ok</literal></quote>,
411
 
        <quote><literal>last_enabled</literal></quote>,
412
 
        <quote><literal>name</literal></quote>,
413
 
        <quote><literal>timeout</literal></quote>, and, if using
414
 
        D-Bus, <quote><literal>dbus_object_path</literal></quote>.
415
 
        See the source code for details.  <emphasis role="strong"
416
 
        >Currently, <emphasis>none</emphasis> of these attributes
417
 
        except <quote><literal>host</literal></quote> are guaranteed
418
 
        to be valid in future versions.</emphasis> Therefore, please
419
 
        let the authors know of any attributes that are useful so they
420
 
        may be preserved to any new versions of this software.
 
359
        <quote><classname>Client</classname></quote> object.  See the
 
360
        source code for details, and let the authors know of any
 
361
        attributes that are useful so they may be preserved to any new
 
362
        versions of this software.
421
363
      </para>
422
364
      <para>
423
365
        Note that this means that, in order to include an actual
458
400
    <informalexample>
459
401
      <programlisting>
460
402
[DEFAULT]
461
 
timeout = 5m
462
 
interval = 2m
 
403
timeout = 1h
 
404
interval = 5m
463
405
checker = fping -q -- %%(host)s
464
406
 
465
407
# Client "foo"
498
440
  <refsect1 id="see_also">
499
441
    <title>SEE ALSO</title>
500
442
    <para>
501
 
      <citerefentry><refentrytitle>intro</refentrytitle>
502
 
      <manvolnum>8mandos</manvolnum></citerefentry>,
503
443
      <citerefentry><refentrytitle>mandos-keygen</refentrytitle>
504
444
      <manvolnum>8</manvolnum></citerefentry>,
505
445
      <citerefentry><refentrytitle>mandos.conf</refentrytitle>