/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-05 16:24:33 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080905162433-58fgx91ae9foxlh1
* Makefile (PIDDIR, USER, GROUP): Removed.
  (install-server): Do not create $(PIDDIR).
  (uninstall-server): Do not remove $(PIDDIR).

* init.d-mandos (PIDFILE): Changed to "/var/run/$NAME.pid".

* mandos (IPv6_TCPServer.enabled): New attribute.
  (IPv6_TCPServer.server_activate): Only call method of superclass if
                                    "self.enabled".
  (IPv6_TCPServer.enable): Set "self.enabled" to True.
  (main): Create client Set() early.  Create IPv6_TCPServer object
          early.  Switch to user and group "mandos", "nobody" or
          65534, if possible.  Enable IPv6_TCPServer *after* switching
          user.

* mandos-keygen (KEYDIR): Changed to "/etc/keys/mandos".

* mandos.xml (FILES): Changed PID file.
  (SECURITY): The server does need to be privileged, but switches to a
              non-privileged user.

* plugin-runner.xml (EXAMPLE): Changed long example to something more
                               realistic.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version='1.0' encoding='UTF-8'?>
 
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
4
<!ENTITY VERSION "1.0">
5
5
<!ENTITY CONFNAME "mandos.conf">
6
6
<!ENTITY CONFPATH "<filename>/etc/mandos/mandos.conf</filename>">
 
7
<!ENTITY TIMESTAMP "2008-09-04">
7
8
]>
8
9
 
9
10
<refentry xmlns:xi="http://www.w3.org/2001/XInclude">
10
11
  <refentryinfo>
11
 
    <title>&CONFNAME;</title>
 
12
    <title>Mandos Manual</title>
12
13
    <!-- NWalsh’s docbook scripts use this to generate the footer: -->
13
 
    <productname>&CONFNAME;</productname>
 
14
    <productname>Mandos</productname>
14
15
    <productnumber>&VERSION;</productnumber>
 
16
    <date>&TIMESTAMP;</date>
15
17
    <authorgroup>
16
18
      <author>
17
19
        <firstname>Björn</firstname>
33
35
      <holder>Teddy Hogeborn</holder>
34
36
      <holder>Björn Påhlsson</holder>
35
37
    </copyright>
36
 
    <legalnotice>
37
 
      <para>
38
 
        This manual page is free software: you can redistribute it
39
 
        and/or modify it under the terms of the GNU General Public
40
 
        License as published by the Free Software Foundation,
41
 
        either version 3 of the License, or (at your option) any
42
 
        later version.
43
 
      </para>
44
 
 
45
 
      <para>
46
 
        This manual page is distributed in the hope that it will
47
 
        be useful, but WITHOUT ANY WARRANTY; without even the
48
 
        implied warranty of MERCHANTABILITY or FITNESS FOR A
49
 
        PARTICULAR PURPOSE.  See the GNU General Public License
50
 
        for more details.
51
 
      </para>
52
 
 
53
 
      <para>
54
 
        You should have received a copy of the GNU General Public
55
 
        License along with this program; If not, see
56
 
        <ulink url="http://www.gnu.org/licenses/"/>.
57
 
      </para>
58
 
    </legalnotice>
 
38
    <xi:include href="legalnotice.xml"/>
59
39
  </refentryinfo>
60
40
 
61
41
  <refmeta>
71
51
  </refnamediv>
72
52
 
73
53
  <refsynopsisdiv>
74
 
    <synopsis>
75
 
      &CONFPATH;
76
 
    </synopsis>
 
54
    <synopsis>&CONFPATH;</synopsis>
77
55
  </refsynopsisdiv>
78
56
 
79
57
  <refsect1 id="description">
100
78
    
101
79
    <variablelist>
102
80
      <varlistentry>
103
 
        <term><varname>interface</varname></term>
 
81
        <term><option>interface<literal> = </literal><replaceable
 
82
        >NAME</replaceable></option></term>
104
83
        <listitem>
105
 
          <synopsis><literal>interface = </literal><replaceable
106
 
          >IF</replaceable>
107
 
          </synopsis>
108
84
          <xi:include href="mandos-options.xml" xpointer="interface"/>
109
85
        </listitem>
110
86
      </varlistentry>
111
87
 
112
88
      <varlistentry>
113
 
        <term><varname>address</varname></term>
 
89
        <term><option>address<literal> = </literal><replaceable
 
90
          >ADDRESS</replaceable></option></term>
114
91
        <listitem>
115
 
          <synopsis><literal>address = </literal><replaceable
116
 
          >ADDRESS</replaceable>
117
 
          </synopsis>
118
92
          <xi:include href="mandos-options.xml" xpointer="address"/>
119
93
        </listitem>
120
94
      </varlistentry>
121
95
 
122
96
      <varlistentry>
123
 
        <term><varname>port</varname></term>
 
97
        <term><option>port<literal> = </literal><replaceable
 
98
        >NUMBER</replaceable></option></term>
124
99
        <listitem>
125
 
          <synopsis><literal>port = </literal><replaceable
126
 
          >PORT</replaceable>
127
 
          </synopsis>
128
100
          <xi:include href="mandos-options.xml" xpointer="port"/>
129
101
        </listitem>
130
102
      </varlistentry>
131
103
 
132
104
      <varlistentry>
133
 
        <term><varname>debug</varname></term>
134
 
        <listitem>
135
 
          <synopsis><literal>debug = </literal>{ <literal
 
105
        <term><option>debug<literal> = </literal>{ <literal
136
106
          >1</literal> | <literal>yes</literal> | <literal
137
107
          >true</literal> | <literal>on</literal> | <literal
138
108
          >0</literal> | <literal>no</literal> | <literal
139
 
          >false</literal> | <literal>off</literal> }
140
 
          </synopsis>
 
109
          >false</literal> | <literal>off</literal> }</option></term>
 
110
        <listitem>
141
111
          <xi:include href="mandos-options.xml" xpointer="debug"/>
142
112
        </listitem>
143
113
      </varlistentry>
144
114
 
145
115
      <varlistentry>
146
 
        <term><varname>priority</varname></term>
 
116
        <term><option>priority<literal> = </literal><replaceable
 
117
        >STRING</replaceable></option></term>
147
118
        <listitem>
148
 
          <synopsis><literal>priority = </literal><replaceable
149
 
          >PRIORITY</replaceable>
150
 
          </synopsis>
151
119
          <xi:include href="mandos-options.xml" xpointer="priority"/>
152
120
        </listitem>
153
121
      </varlistentry>
154
122
 
155
123
      <varlistentry>
156
 
        <term><varname>servicename</varname></term>
 
124
        <term><option>servicename<literal> = </literal
 
125
        ><replaceable>NAME</replaceable></option></term>
157
126
        <listitem>
158
 
          <synopsis><literal>servicename = </literal><replaceable
159
 
          >NAME</replaceable>
160
 
          </synopsis>
161
127
          <xi:include href="mandos-options.xml"
162
128
                      xpointer="servicename"/>
163
129
        </listitem>
178
144
    <para>
179
145
      The <literal>[DEFAULT]</literal> is necessary because the Python
180
146
      built-in module <systemitem class="library">ConfigParser</systemitem>
181
 
      requres it.
 
147
      requires it.
182
148
    </para>
183
149
  </refsect1>
184
150
  
212
178
  <refsect1 id="see_also">
213
179
    <title>SEE ALSO</title>
214
180
    <para>
215
 
      <citerefentry>
216
 
        <refentrytitle>mandos</refentrytitle>
217
 
        <manvolnum>8</manvolnum></citerefentry>, <citerefentry>
218
 
        <refentrytitle>mandos-clients.conf</refentrytitle>
219
 
        <manvolnum>5</manvolnum></citerefentry>
 
181
      <citerefentry><refentrytitle>gnutls_priority_init</refentrytitle
 
182
      ><manvolnum>3</manvolnum></citerefentry>,
 
183
      <citerefentry><refentrytitle>mandos</refentrytitle>
 
184
      <manvolnum>8</manvolnum></citerefentry>,
 
185
      <citerefentry><refentrytitle>mandos-clients.conf</refentrytitle>
 
186
      <manvolnum>5</manvolnum></citerefentry>
220
187
    </para>
 
188
 
 
189
    <variablelist>
 
190
      <varlistentry>
 
191
        <term>
 
192
          RFC 4291: <citetitle>IP Version 6 Addressing
 
193
          Architecture</citetitle>
 
194
        </term>
 
195
        <listitem>
 
196
          <variablelist>
 
197
            <varlistentry>
 
198
              <term>Section 2.2: <citetitle>Text Representation of
 
199
              Addresses</citetitle></term>
 
200
              <listitem><para/></listitem>
 
201
            </varlistentry>
 
202
            <varlistentry>
 
203
              <term>Section 2.5.5.2: <citetitle>IPv4-Mapped IPv6
 
204
              Address</citetitle></term>
 
205
              <listitem><para/></listitem>
 
206
            </varlistentry>
 
207
            <varlistentry>
 
208
            <term>Section 2.5.6, <citetitle>Link-Local IPv6 Unicast
 
209
            Addresses</citetitle></term>
 
210
            <listitem>
 
211
              <para>
 
212
                The clients use IPv6 link-local addresses, which are
 
213
                immediately usable since a link-local addresses is
 
214
                automatically assigned to a network interfaces when it
 
215
                is brought up.
 
216
              </para>
 
217
            </listitem>
 
218
            </varlistentry>
 
219
          </variablelist>
 
220
        </listitem>
 
221
      </varlistentry>
 
222
      <varlistentry>
 
223
        <term>
 
224
          <ulink url="http://www.zeroconf.org/">Zeroconf</ulink>
 
225
        </term>
 
226
        <listitem>
 
227
          <para>
 
228
            Zeroconf is the network protocol standard used by clients
 
229
            for finding the Mandos server on the local network.
 
230
          </para>
 
231
        </listitem>
 
232
      </varlistentry>
 
233
    </variablelist>
221
234
  </refsect1>
222
235
</refentry>
 
236
<!-- Local Variables: -->
 
237
<!-- time-stamp-start: "<!ENTITY TIMESTAMP [\"']" -->
 
238
<!-- time-stamp-end: "[\"']>" -->
 
239
<!-- time-stamp-format: "%:y-%02m-%02d" -->
 
240
<!-- End: -->