/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

Overflows are not detected by sscanf(), so stop using it:

* plugin-runner.c (main/parse_opt): Change from using "sscanf()" to
                                    "strtoimax()".
* plugins.d/mandos-client.c (main/parse_opt, main): Change from using
                                                    "sscanf()" to
                                                    "strtoimax()" and
                                                    "strtof()".
* splashy.c (main): Change from using "sscanf()" to "strtoimax()".
* usplash.c (main): - '' -

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
40
    <xi:include href="legalnotice.xml"/>
39
41
  </refentryinfo>
40
 
 
 
42
  
41
43
  <refmeta>
42
44
    <refentrytitle>&CONFNAME;</refentrytitle>
43
45
    <manvolnum>5</manvolnum>
49
51
      Configuration file for the Mandos server
50
52
    </refpurpose>
51
53
  </refnamediv>
52
 
 
 
54
  
53
55
  <refsynopsisdiv>
54
56
    <synopsis>&CONFPATH;</synopsis>
55
57
  </refsynopsisdiv>
56
 
 
 
58
  
57
59
  <refsect1 id="description">
58
60
    <title>DESCRIPTION</title>
59
61
    <para>
71
73
      <quote>#</quote> or <quote>;</quote> are ignored and may be used
72
74
      to provide comments.
73
75
    </para>
74
 
 
 
76
    
75
77
  </refsect1>
76
78
  <refsect1>
77
79
    <title>OPTIONS</title>
84
86
          <xi:include href="mandos-options.xml" xpointer="interface"/>
85
87
        </listitem>
86
88
      </varlistentry>
87
 
 
 
89
      
88
90
      <varlistentry>
89
91
        <term><option>address<literal> = </literal><replaceable
90
92
          >ADDRESS</replaceable></option></term>
92
94
          <xi:include href="mandos-options.xml" xpointer="address"/>
93
95
        </listitem>
94
96
      </varlistentry>
95
 
 
 
97
      
96
98
      <varlistentry>
97
99
        <term><option>port<literal> = </literal><replaceable
98
100
        >NUMBER</replaceable></option></term>
100
102
          <xi:include href="mandos-options.xml" xpointer="port"/>
101
103
        </listitem>
102
104
      </varlistentry>
103
 
 
 
105
      
104
106
      <varlistentry>
105
107
        <term><option>debug<literal> = </literal>{ <literal
106
108
          >1</literal> | <literal>yes</literal> | <literal
111
113
          <xi:include href="mandos-options.xml" xpointer="debug"/>
112
114
        </listitem>
113
115
      </varlistentry>
114
 
 
 
116
      
115
117
      <varlistentry>
116
118
        <term><option>priority<literal> = </literal><replaceable
117
119
        >STRING</replaceable></option></term>
119
121
          <xi:include href="mandos-options.xml" xpointer="priority"/>
120
122
        </listitem>
121
123
      </varlistentry>
122
 
 
 
124
      
123
125
      <varlistentry>
124
126
        <term><option>servicename<literal> = </literal
125
127
        ><replaceable>NAME</replaceable></option></term>
129
131
        </listitem>
130
132
      </varlistentry>
131
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
      
132
145
    </variablelist>
133
146
  </refsect1>
134
147
  
144
157
    <para>
145
158
      The <literal>[DEFAULT]</literal> is necessary because the Python
146
159
      built-in module <systemitem class="library">ConfigParser</systemitem>
147
 
      requres it.
 
160
      requires it.
148
161
    </para>
149
162
  </refsect1>
150
163
  
171
184
debug = true
172
185
priority = SECURE256:!CTYPE-X.509:+CTYPE-OPENPGP
173
186
servicename = Daena
 
187
use_dbus = False
174
188
      </programlisting>
175
189
    </informalexample>
176
190
  </refsect1>
185
199
      <citerefentry><refentrytitle>mandos-clients.conf</refentrytitle>
186
200
      <manvolnum>5</manvolnum></citerefentry>
187
201
    </para>
188
 
 
 
202
    
189
203
    <variablelist>
190
204
      <varlistentry>
191
205
        <term>