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

  • Committer: teddy at recompile
  • Date: 2012-02-26 11:47:19 UTC
  • mto: This revision was merged to the branch mainline in revision 561.
  • Revision ID: teddy@recompile.se-20120226114719-m3odq4s34ebt6hg8
Add facilities for D-Bus interface annotations and use them to mark
the old D-Bus interfaces as deprecated.

* mandos (dbus_interface_annotations): New decorator.
  (DBusObjectWithProperties._is_dbus_property): Removed.  All callers
                                                changed.
  (DBusObjectWithProperties._is_dbus_thing): New; generalized version
                                             of "_is_dbus_property".
  (DBusObjectWithProperties._get_all_dbus_properties): Removed.  All
                                                       callers
                                                       changed.
  (DBusObjectWithProperties._get_all_dbus_things): New; generalized
                                                   version of
                                                   "_get_all_dbus_properties".
  (DBusObjectWithProperties.Introspect): Also add interface
                                         annotation tags.
  (AlternateDBusNamesMetaclass.__new__): Also copy interface
                                         annotations.  Add
                                         "deprecated" annotation on
                                         old interface.
  (ClientDBus._foo): New interface annotation to mark non-compliance
                     with the standard property change signal
                     interface.
  (MandosDBusService): Inherit from DBusObjectWithProperties to get
                       interface annotation support.
  (MandosDBusService._foo): New interface annotation to mark
                            non-compliance with the standard property
                            change signal interface.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
This file is used by both mandos(8) and mandos.conf(5), since these
7
7
options can be used both on the command line and in the config file.
8
8
 
9
 
It is also used for some texts by password-request(8mandos).
 
9
It is also used for some texts by mandos-client(8mandos).
10
10
-->
11
11
 
12
12
<section>
26
26
    specified IPv6 address.  If a link-local address is specified, an
27
27
    interface should be set, since a link-local address is only valid
28
28
    on a single interface.  By default, the server will listen to all
29
 
    available addresses.  If set, this must be an IPv6 address; an
30
 
    IPv4 address can only be specified using IPv4-mapped IPv6 address
31
 
    syntax: <quote><systemitem class="ipaddress"
32
 
    >::FFFF:192.0.2.3</systemitem ></quote>.
 
29
    available addresses.  If set, this must normally be an IPv6
 
30
    address; an IPv4 address can only be specified using IPv4-mapped
 
31
    IPv6 address syntax: <quote><systemitem class="ipaddress"
 
32
    >::FFFF:192.0.2.3</systemitem ></quote>.  (Only if IPv6 usage is
 
33
    <emphasis>disabled</emphasis> (see below) must this be an IPv4
 
34
    address.)
33
35
  </para>
34
36
  
35
37
  <para id="port">
58
60
  <para id="servicename">
59
61
    Zeroconf service name.  The default is
60
62
    <quote><literal>Mandos</literal></quote>.  This only needs to be
61
 
    changed this if it, for some reason, is necessary to run more than
62
 
    one server on the same <emphasis>host</emphasis>, which would not
 
63
    changed if for some reason is would be necessary to run more than
 
64
    one server on the same <emphasis>host</emphasis>.  This would not
63
65
    normally be useful.  If there are name collisions on the same
64
66
    <emphasis>network</emphasis>, the newer server will automatically
65
67
    rename itself to <quote><literal>Mandos #2</literal></quote>, and
66
68
    so on; therefore, this option is not needed in that case.
67
69
  </para>
68
70
  
 
71
  <para id="dbus">
 
72
    This option controls whether the server will provide a D-Bus
 
73
    system bus interface.  The default is to provide such an
 
74
    interface.
 
75
  </para>
 
76
  
 
77
  <para id="ipv6">
 
78
    This option controls whether the server will use IPv6 sockets and
 
79
    addresses.  The default is to use IPv6.  This option should
 
80
    <emphasis>never</emphasis> normally be turned off, <emphasis>even in
 
81
    IPv4-only environments</emphasis>.  This is because <citerefentry>
 
82
    <refentrytitle>mandos-client</refentrytitle>
 
83
    <manvolnum>8mandos</manvolnum></citerefentry> will normally use
 
84
    IPv6 link-local addresses, and will not be able to find or connect
 
85
    to the server if this option is turned off.  <emphasis>Only
 
86
    advanced users should consider changing this option</emphasis>.
 
87
  </para>
 
88
  
 
89
  <para id="restore">
 
90
    This option controls whether the server will restore its state
 
91
    from the last time it ran.  Default is to restore last state.
 
92
  </para>
 
93
  
 
94
  <para id="statedir">
 
95
    Directory to save (and restore) state in.  Default is
 
96
    <quote><filename
 
97
    class="directory">/var/lib/mandos</filename></quote>.
 
98
  </para>
 
99
  
69
100
</section>