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

  • Committer: Teddy Hogeborn
  • Date: 2008-09-01 16:19:32 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080901161932-ostp7tulh9aijulh
* plugin-runner.c (add_environment): Never insert existing environment
                                     variables.
  (main): Rename "--global-envs" to "--global-env" and "--envs-for" to
          "--env-for".

* plugin-runner.xml (SYNOPSIS): Rename "--global-envs" to
                                "--global-env" and "--envs-for" to
                                "--env-for".
  (OPTIONS): Added "--global-env" and "--env-for".
  (FALLBACK): Add id attribute.
  (EXIT STATUS): Add text.
  (ENVIRONMENT): New section.
  (FILES): Document configuration file.

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 CONFNAME "mandos.conf">
5
6
<!ENTITY CONFPATH "<filename>/etc/mandos/mandos.conf</filename>">
6
 
<!ENTITY TIMESTAMP "2013-10-20">
7
 
<!ENTITY % common SYSTEM "common.ent">
8
 
%common;
 
7
<!ENTITY TIMESTAMP "2008-08-31">
9
8
]>
10
9
 
11
10
<refentry xmlns:xi="http://www.w3.org/2001/XInclude">
13
12
    <title>Mandos Manual</title>
14
13
    <!-- NWalsh’s docbook scripts use this to generate the footer: -->
15
14
    <productname>Mandos</productname>
16
 
    <productnumber>&version;</productnumber>
 
15
    <productnumber>&VERSION;</productnumber>
17
16
    <date>&TIMESTAMP;</date>
18
17
    <authorgroup>
19
18
      <author>
20
19
        <firstname>Björn</firstname>
21
20
        <surname>Påhlsson</surname>
22
21
        <address>
23
 
          <email>belorn@recompile.se</email>
 
22
          <email>belorn@fukt.bsnet.se</email>
24
23
        </address>
25
24
      </author>
26
25
      <author>
27
26
        <firstname>Teddy</firstname>
28
27
        <surname>Hogeborn</surname>
29
28
        <address>
30
 
          <email>teddy@recompile.se</email>
 
29
          <email>teddy@fukt.bsnet.se</email>
31
30
        </address>
32
31
      </author>
33
32
    </authorgroup>
34
33
    <copyright>
35
34
      <year>2008</year>
36
 
      <year>2009</year>
37
 
      <year>2011</year>
38
 
      <year>2012</year>
39
 
      <year>2013</year>
40
35
      <holder>Teddy Hogeborn</holder>
41
36
      <holder>Björn Påhlsson</holder>
42
37
    </copyright>
43
38
    <xi:include href="legalnotice.xml"/>
44
39
  </refentryinfo>
45
 
  
 
40
 
46
41
  <refmeta>
47
42
    <refentrytitle>&CONFNAME;</refentrytitle>
48
43
    <manvolnum>5</manvolnum>
54
49
      Configuration file for the Mandos server
55
50
    </refpurpose>
56
51
  </refnamediv>
57
 
  
 
52
 
58
53
  <refsynopsisdiv>
59
54
    <synopsis>&CONFPATH;</synopsis>
60
55
  </refsynopsisdiv>
61
 
  
 
56
 
62
57
  <refsect1 id="description">
63
58
    <title>DESCRIPTION</title>
64
59
    <para>
76
71
      <quote>#</quote> or <quote>;</quote> are ignored and may be used
77
72
      to provide comments.
78
73
    </para>
79
 
    
 
74
 
80
75
  </refsect1>
81
76
  <refsect1>
82
77
    <title>OPTIONS</title>
89
84
          <xi:include href="mandos-options.xml" xpointer="interface"/>
90
85
        </listitem>
91
86
      </varlistentry>
92
 
      
 
87
 
93
88
      <varlistentry>
94
89
        <term><option>address<literal> = </literal><replaceable
95
90
          >ADDRESS</replaceable></option></term>
97
92
          <xi:include href="mandos-options.xml" xpointer="address"/>
98
93
        </listitem>
99
94
      </varlistentry>
100
 
      
 
95
 
101
96
      <varlistentry>
102
97
        <term><option>port<literal> = </literal><replaceable
103
98
        >NUMBER</replaceable></option></term>
105
100
          <xi:include href="mandos-options.xml" xpointer="port"/>
106
101
        </listitem>
107
102
      </varlistentry>
108
 
      
 
103
 
109
104
      <varlistentry>
110
105
        <term><option>debug<literal> = </literal>{ <literal
111
106
          >1</literal> | <literal>yes</literal> | <literal
116
111
          <xi:include href="mandos-options.xml" xpointer="debug"/>
117
112
        </listitem>
118
113
      </varlistentry>
119
 
      
 
114
 
120
115
      <varlistentry>
121
116
        <term><option>priority<literal> = </literal><replaceable
122
117
        >STRING</replaceable></option></term>
124
119
          <xi:include href="mandos-options.xml" xpointer="priority"/>
125
120
        </listitem>
126
121
      </varlistentry>
127
 
      
 
122
 
128
123
      <varlistentry>
129
124
        <term><option>servicename<literal> = </literal
130
125
        ><replaceable>NAME</replaceable></option></term>
134
129
        </listitem>
135
130
      </varlistentry>
136
131
      
137
 
      <varlistentry>
138
 
        <term><option>use_dbus<literal> = </literal>{ <literal
139
 
          >1</literal> | <literal>yes</literal> | <literal
140
 
          >true</literal> | <literal>on</literal> | <literal
141
 
          >0</literal> | <literal>no</literal> | <literal
142
 
          >false</literal> | <literal>off</literal> }</option></term>
143
 
        <listitem>
144
 
          <xi:include href="mandos-options.xml" xpointer="dbus"/>
145
 
        </listitem>
146
 
      </varlistentry>
147
 
      
148
 
      <varlistentry>
149
 
        <term><option>use_ipv6<literal> = </literal>{ <literal
150
 
          >1</literal> | <literal>yes</literal> | <literal
151
 
          >true</literal> | <literal>on</literal> | <literal
152
 
          >0</literal> | <literal>no</literal> | <literal
153
 
          >false</literal> | <literal>off</literal> }</option></term>
154
 
        <listitem>
155
 
          <xi:include href="mandos-options.xml" xpointer="ipv6"/>
156
 
        </listitem>
157
 
      </varlistentry>
158
 
      
159
 
      <varlistentry>
160
 
        <term><option>restore<literal> = </literal>{ <literal
161
 
          >1</literal> | <literal>yes</literal> | <literal
162
 
          >true</literal> | <literal>on</literal> | <literal
163
 
          >0</literal> | <literal>no</literal> | <literal
164
 
          >false</literal> | <literal>off</literal> }</option></term>
165
 
        <listitem>
166
 
          <xi:include href="mandos-options.xml" xpointer="restore"/>
167
 
        </listitem>
168
 
      </varlistentry>
169
 
      
170
 
      <varlistentry>
171
 
        <term><option>statedir<literal> = </literal><replaceable
172
 
        >DIRECTORY</replaceable></option></term>
173
 
        <listitem>
174
 
          <xi:include href="mandos-options.xml" xpointer="statedir"/>
175
 
        </listitem>
176
 
      </varlistentry>
177
 
      
178
 
      <varlistentry>
179
 
        <term><option>socket<literal> = </literal><replaceable
180
 
        >NUMBER</replaceable></option></term>
181
 
        <listitem>
182
 
          <xi:include href="mandos-options.xml" xpointer="socket"/>
183
 
        </listitem>
184
 
      </varlistentry>
185
 
      
186
132
    </variablelist>
187
133
  </refsect1>
188
134
  
198
144
    <para>
199
145
      The <literal>[DEFAULT]</literal> is necessary because the Python
200
146
      built-in module <systemitem class="library">ConfigParser</systemitem>
201
 
      requires it.
 
147
      requres it.
202
148
    </para>
203
149
  </refsect1>
204
150
  
220
166
[DEFAULT]
221
167
# A configuration example
222
168
interface = eth0
223
 
address = fe80::aede:48ff:fe71:f6f2
 
169
address = 2001:db8:f983:bd0b:30de:ae4a:71f2:f672
224
170
port = 1025
225
171
debug = true
226
172
priority = SECURE256:!CTYPE-X.509:+CTYPE-OPENPGP
227
173
servicename = Daena
228
 
use_dbus = False
229
 
use_ipv6 = True
230
 
restore = True
231
 
statedir = /var/lib/mandos
232
174
      </programlisting>
233
175
    </informalexample>
234
176
  </refsect1>
236
178
  <refsect1 id="see_also">
237
179
    <title>SEE ALSO</title>
238
180
    <para>
239
 
      <citerefentry><refentrytitle>intro</refentrytitle>
240
 
      <manvolnum>8mandos</manvolnum></citerefentry>,
241
181
      <citerefentry><refentrytitle>gnutls_priority_init</refentrytitle
242
182
      ><manvolnum>3</manvolnum></citerefentry>,
243
183
      <citerefentry><refentrytitle>mandos</refentrytitle>
245
185
      <citerefentry><refentrytitle>mandos-clients.conf</refentrytitle>
246
186
      <manvolnum>5</manvolnum></citerefentry>
247
187
    </para>
248
 
    
 
188
 
249
189
    <variablelist>
250
190
      <varlistentry>
251
191
        <term>
271
211
              <para>
272
212
                The clients use IPv6 link-local addresses, which are
273
213
                immediately usable since a link-local addresses is
274
 
                automatically assigned to a network interface when it
 
214
                automatically assigned to a network interfaces when it
275
215
                is brought up.
276
216
              </para>
277
217
            </listitem>