/mandos/release

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

« back to all changes in this revision

Viewing changes to mandos.conf.xml

* README (The Plugin System): Removed redundant text about options and
                              files for the plugins, this is now
                              documented in the manuals for the
                              plugins.

* plugins.d/mandos-client.c (main): Remove comment which was copied
                                    from another program by mistake.
                                    Use "sscanf" instead of "strtol"
                                    to parse numbers; this uses the
                                    correct type instead of casting.
                                    Don't report errors when removing
                                    temporary directory if directory
                                    is already gone.

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">
5
4
<!ENTITY CONFNAME "mandos.conf">
6
5
<!ENTITY CONFPATH "<filename>/etc/mandos/mandos.conf</filename>">
7
 
<!ENTITY TIMESTAMP "2008-08-31">
 
6
<!ENTITY TIMESTAMP "2009-01-04">
 
7
<!ENTITY % common SYSTEM "common.ent">
 
8
%common;
8
9
]>
9
10
 
10
11
<refentry xmlns:xi="http://www.w3.org/2001/XInclude">
12
13
    <title>Mandos Manual</title>
13
14
    <!-- NWalsh’s docbook scripts use this to generate the footer: -->
14
15
    <productname>Mandos</productname>
15
 
    <productnumber>&VERSION;</productnumber>
 
16
    <productnumber>&version;</productnumber>
16
17
    <date>&TIMESTAMP;</date>
17
18
    <authorgroup>
18
19
      <author>
32
33
    </authorgroup>
33
34
    <copyright>
34
35
      <year>2008</year>
 
36
      <year>2009</year>
35
37
      <holder>Teddy Hogeborn</holder>
36
38
      <holder>Björn Påhlsson</holder>
37
39
    </copyright>
38
 
    <legalnotice>
39
 
      <para>
40
 
        This manual page is free software: you can redistribute it
41
 
        and/or modify it under the terms of the GNU General Public
42
 
        License as published by the Free Software Foundation,
43
 
        either version 3 of the License, or (at your option) any
44
 
        later version.
45
 
      </para>
46
 
 
47
 
      <para>
48
 
        This manual page is distributed in the hope that it will
49
 
        be useful, but WITHOUT ANY WARRANTY; without even the
50
 
        implied warranty of MERCHANTABILITY or FITNESS FOR A
51
 
        PARTICULAR PURPOSE.  See the GNU General Public License
52
 
        for more details.
53
 
      </para>
54
 
 
55
 
      <para>
56
 
        You should have received a copy of the GNU General Public
57
 
        License along with this program; If not, see
58
 
        <ulink url="http://www.gnu.org/licenses/"/>.
59
 
      </para>
60
 
    </legalnotice>
 
40
    <xi:include href="legalnotice.xml"/>
61
41
  </refentryinfo>
62
 
 
 
42
  
63
43
  <refmeta>
64
44
    <refentrytitle>&CONFNAME;</refentrytitle>
65
45
    <manvolnum>5</manvolnum>
71
51
      Configuration file for the Mandos server
72
52
    </refpurpose>
73
53
  </refnamediv>
74
 
 
 
54
  
75
55
  <refsynopsisdiv>
76
56
    <synopsis>&CONFPATH;</synopsis>
77
57
  </refsynopsisdiv>
78
 
 
 
58
  
79
59
  <refsect1 id="description">
80
60
    <title>DESCRIPTION</title>
81
61
    <para>
93
73
      <quote>#</quote> or <quote>;</quote> are ignored and may be used
94
74
      to provide comments.
95
75
    </para>
96
 
 
 
76
    
97
77
  </refsect1>
98
78
  <refsect1>
99
79
    <title>OPTIONS</title>
106
86
          <xi:include href="mandos-options.xml" xpointer="interface"/>
107
87
        </listitem>
108
88
      </varlistentry>
109
 
 
 
89
      
110
90
      <varlistentry>
111
91
        <term><option>address<literal> = </literal><replaceable
112
92
          >ADDRESS</replaceable></option></term>
114
94
          <xi:include href="mandos-options.xml" xpointer="address"/>
115
95
        </listitem>
116
96
      </varlistentry>
117
 
 
 
97
      
118
98
      <varlistentry>
119
99
        <term><option>port<literal> = </literal><replaceable
120
100
        >NUMBER</replaceable></option></term>
122
102
          <xi:include href="mandos-options.xml" xpointer="port"/>
123
103
        </listitem>
124
104
      </varlistentry>
125
 
 
 
105
      
126
106
      <varlistentry>
127
107
        <term><option>debug<literal> = </literal>{ <literal
128
108
          >1</literal> | <literal>yes</literal> | <literal
133
113
          <xi:include href="mandos-options.xml" xpointer="debug"/>
134
114
        </listitem>
135
115
      </varlistentry>
136
 
 
 
116
      
137
117
      <varlistentry>
138
118
        <term><option>priority<literal> = </literal><replaceable
139
119
        >STRING</replaceable></option></term>
141
121
          <xi:include href="mandos-options.xml" xpointer="priority"/>
142
122
        </listitem>
143
123
      </varlistentry>
144
 
 
 
124
      
145
125
      <varlistentry>
146
126
        <term><option>servicename<literal> = </literal
147
127
        ><replaceable>NAME</replaceable></option></term>
151
131
        </listitem>
152
132
      </varlistentry>
153
133
      
 
134
      <varlistentry>
 
135
        <term><option>use_dbus<literal> = </literal>{ <literal
 
136
          >1</literal> | <literal>yes</literal> | <literal
 
137
          >true</literal> | <literal>on</literal> | <literal
 
138
          >0</literal> | <literal>no</literal> | <literal
 
139
          >false</literal> | <literal>off</literal> }</option></term>
 
140
        <listitem>
 
141
          <xi:include href="mandos-options.xml" xpointer="dbus"/>
 
142
        </listitem>
 
143
      </varlistentry>
 
144
      
154
145
    </variablelist>
155
146
  </refsect1>
156
147
  
166
157
    <para>
167
158
      The <literal>[DEFAULT]</literal> is necessary because the Python
168
159
      built-in module <systemitem class="library">ConfigParser</systemitem>
169
 
      requres it.
 
160
      requires it.
170
161
    </para>
171
162
  </refsect1>
172
163
  
193
184
debug = true
194
185
priority = SECURE256:!CTYPE-X.509:+CTYPE-OPENPGP
195
186
servicename = Daena
 
187
use_dbus = False
196
188
      </programlisting>
197
189
    </informalexample>
198
190
  </refsect1>
207
199
      <citerefentry><refentrytitle>mandos-clients.conf</refentrytitle>
208
200
      <manvolnum>5</manvolnum></citerefentry>
209
201
    </para>
210
 
 
 
202
    
211
203
    <variablelist>
212
204
      <varlistentry>
213
205
        <term>