/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.xml

  • Committer: Teddy Hogeborn
  • Date: 2008-09-03 05:04:40 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080903050440-7cwzxestx6pvdy1i
* Makefile (mandos.8): Add dependency on "overview.xml" and
                       "legalnotice.xml".
  (mandos-keygen.8): New target.
  (mandos-conf.5): Added dependency on "legalnotice.xml".
  (plugin-runner.8mandos): New target
  (plugins.d/password-request.8mandos): - '' -

* mandos-options.xml (priority): Make wording server/client neutral.

* plugins.d/password-request.c (main): Changed .arg fields of the argp
                                       options struct to be more
                                       consistent with the manual.

* plugins.d/password-request.xml (OVERVIEW): Moved to after "OPTIONS".
  (OPTIONS): Improved wording and names of replaceables.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0" encoding="UTF-8"?>
2
2
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3
3
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
 
4
<!ENTITY VERSION "1.0">
4
5
<!ENTITY COMMANDNAME "mandos">
5
 
<!ENTITY TIMESTAMP "2009-02-24">
6
 
<!ENTITY % common SYSTEM "common.ent">
7
 
%common;
 
6
<!ENTITY TIMESTAMP "2008-09-02">
8
7
]>
9
8
 
10
9
<refentry xmlns:xi="http://www.w3.org/2001/XInclude">
11
 
   <refentryinfo>
 
10
  <refentryinfo>
12
11
    <title>Mandos Manual</title>
13
12
    <!-- NWalsh’s docbook scripts use this to generate the footer: -->
14
13
    <productname>Mandos</productname>
15
 
    <productnumber>&version;</productnumber>
 
14
    <productnumber>&VERSION;</productnumber>
16
15
    <date>&TIMESTAMP;</date>
17
16
    <authorgroup>
18
17
      <author>
32
31
    </authorgroup>
33
32
    <copyright>
34
33
      <year>2008</year>
35
 
      <year>2009</year>
36
34
      <holder>Teddy Hogeborn</holder>
37
35
      <holder>Björn Påhlsson</holder>
38
36
    </copyright>
39
37
    <xi:include href="legalnotice.xml"/>
40
38
  </refentryinfo>
41
 
  
 
39
 
42
40
  <refmeta>
43
41
    <refentrytitle>&COMMANDNAME;</refentrytitle>
44
42
    <manvolnum>8</manvolnum>
50
48
      Gives encrypted passwords to authenticated Mandos clients
51
49
    </refpurpose>
52
50
  </refnamediv>
53
 
  
 
51
 
54
52
  <refsynopsisdiv>
55
53
    <cmdsynopsis>
56
54
      <command>&COMMANDNAME;</command>
85
83
      <replaceable>DIRECTORY</replaceable></option></arg>
86
84
      <sbr/>
87
85
      <arg><option>--debug</option></arg>
88
 
      <sbr/>
89
 
      <arg><option>--no-ipv6</option></arg>
90
86
    </cmdsynopsis>
91
87
    <cmdsynopsis>
92
88
      <command>&COMMANDNAME;</command>
104
100
      <arg choice="plain"><option>--check</option></arg>
105
101
    </cmdsynopsis>
106
102
  </refsynopsisdiv>
107
 
  
 
103
 
108
104
  <refsect1 id="description">
109
105
    <title>DESCRIPTION</title>
110
106
    <para>
190
186
          <xi:include href="mandos-options.xml" xpointer="debug"/>
191
187
        </listitem>
192
188
      </varlistentry>
193
 
      
 
189
 
194
190
      <varlistentry>
195
191
        <term><option>--priority <replaceable>
196
192
        PRIORITY</replaceable></option></term>
198
194
          <xi:include href="mandos-options.xml" xpointer="priority"/>
199
195
        </listitem>
200
196
      </varlistentry>
201
 
      
 
197
 
202
198
      <varlistentry>
203
199
        <term><option>--servicename
204
200
        <replaceable>NAME</replaceable></option></term>
207
203
                      xpointer="servicename"/>
208
204
        </listitem>
209
205
      </varlistentry>
210
 
      
 
206
 
211
207
      <varlistentry>
212
208
        <term><option>--configdir
213
209
        <replaceable>DIRECTORY</replaceable></option></term>
222
218
          </para>
223
219
        </listitem>
224
220
      </varlistentry>
225
 
      
 
221
 
226
222
      <varlistentry>
227
223
        <term><option>--version</option></term>
228
224
        <listitem>
231
227
          </para>
232
228
        </listitem>
233
229
      </varlistentry>
234
 
      
235
 
      <varlistentry>
236
 
        <term><option>--no-ipv6</option></term>
237
 
        <listitem>
238
 
          <xi:include href="mandos-options.xml" xpointer="ipv6"/>
239
 
        </listitem>
240
 
      </varlistentry>
241
230
    </variablelist>
242
231
  </refsect1>
243
 
  
 
232
 
244
233
  <refsect1 id="overview">
245
234
    <title>OVERVIEW</title>
246
235
    <xi:include href="overview.xml"/>
250
239
      <acronym>RAM</acronym> disk environment.
251
240
    </para>
252
241
  </refsect1>
253
 
  
 
242
 
254
243
  <refsect1 id="protocol">
255
244
    <title>NETWORK PROTOCOL</title>
256
245
    <para>
308
297
      </row>
309
298
    </tbody></tgroup></table>
310
299
  </refsect1>
311
 
  
 
300
 
312
301
  <refsect1 id="checking">
313
302
    <title>CHECKING</title>
314
303
    <para>
322
311
      <manvolnum>5</manvolnum></citerefentry>.
323
312
    </para>
324
313
  </refsect1>
325
 
  
 
314
 
326
315
  <refsect1 id="logging">
327
316
    <title>LOGGING</title>
328
317
    <para>
332
321
      and also show them on the console.
333
322
    </para>
334
323
  </refsect1>
335
 
  
 
324
 
336
325
  <refsect1 id="exit_status">
337
326
    <title>EXIT STATUS</title>
338
327
    <para>
340
329
      critical error is encountered.
341
330
    </para>
342
331
  </refsect1>
343
 
  
 
332
 
344
333
  <refsect1 id="environment">
345
334
    <title>ENVIRONMENT</title>
346
335
    <variablelist>
360
349
      </varlistentry>
361
350
    </variablelist>
362
351
  </refsect1>
363
 
  
364
 
  <refsect1 id="files">
 
352
 
 
353
  <refsect1 id="file">
365
354
    <title>FILES</title>
366
355
    <para>
367
356
      Use the <option>--configdir</option> option to change where
390
379
        </listitem>
391
380
      </varlistentry>
392
381
      <varlistentry>
393
 
        <term><filename>/var/run/mandos.pid</filename></term>
 
382
        <term><filename>/var/run/mandos/mandos.pid</filename></term>
394
383
        <listitem>
395
384
          <para>
396
385
            The file containing the process id of
431
420
      Currently, if a client is declared <quote>invalid</quote> due to
432
421
      having timed out, the server does not record this fact onto
433
422
      permanent storage.  This has some security implications, see
434
 
      <xref linkend="clients"/>.
 
423
      <xref linkend="CLIENTS"/>.
435
424
    </para>
436
425
    <para>
437
426
      There is currently no way of querying the server of the current
445
434
      Debug mode is conflated with running in the foreground.
446
435
    </para>
447
436
    <para>
448
 
      The console log messages do not show a time stamp.
449
 
    </para>
450
 
    <para>
451
 
      This server does not check the expire time of clients’ OpenPGP
452
 
      keys.
 
437
      The console log messages does not show a timestamp.
453
438
    </para>
454
439
  </refsect1>
455
440
  
490
475
      </para>
491
476
    </informalexample>
492
477
  </refsect1>
493
 
  
 
478
 
494
479
  <refsect1 id="security">
495
480
    <title>SECURITY</title>
496
 
    <refsect2 id="server">
 
481
    <refsect2 id="SERVER">
497
482
      <title>SERVER</title>
498
483
      <para>
499
484
        Running this <command>&COMMANDNAME;</command> server program
500
485
        should not in itself present any security risk to the host
501
 
        computer running it.  The program switches to a non-root user
502
 
        soon after startup.
 
486
        computer running it.  The program does not need any special
 
487
        privileges to run, and is designed to run as a non-root user.
503
488
      </para>
504
489
    </refsect2>
505
 
    <refsect2 id="clients">
 
490
    <refsect2 id="CLIENTS">
506
491
      <title>CLIENTS</title>
507
492
      <para>
508
493
        The server only gives out its stored data to clients which
515
500
        <citerefentry><refentrytitle>mandos-clients.conf</refentrytitle>
516
501
        <manvolnum>5</manvolnum></citerefentry>)
517
502
        <emphasis>must</emphasis> be made non-readable by anyone
518
 
        except the user starting the server (usually root).
 
503
        except the user running the server.
519
504
      </para>
520
505
      <para>
521
506
        As detailed in <xref linkend="checking"/>, the status of all
540
525
      </para>
541
526
      <para>
542
527
        For more details on client-side security, see
543
 
        <citerefentry><refentrytitle>mandos-client</refentrytitle>
 
528
        <citerefentry><refentrytitle>password-request</refentrytitle>
544
529
        <manvolnum>8mandos</manvolnum></citerefentry>.
545
530
      </para>
546
531
    </refsect2>
547
532
  </refsect1>
548
 
  
 
533
 
549
534
  <refsect1 id="see_also">
550
535
    <title>SEE ALSO</title>
551
536
    <para>
554
539
        <manvolnum>5</manvolnum></citerefentry>, <citerefentry>
555
540
        <refentrytitle>mandos.conf</refentrytitle>
556
541
        <manvolnum>5</manvolnum></citerefentry>, <citerefentry>
557
 
        <refentrytitle>mandos-client</refentrytitle>
 
542
        <refentrytitle>password-request</refentrytitle>
558
543
        <manvolnum>8mandos</manvolnum></citerefentry>, <citerefentry>
559
544
        <refentrytitle>sh</refentrytitle><manvolnum>1</manvolnum>
560
545
      </citerefentry>