/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 Hogeborn
  • Date: 2009-02-13 05:38:21 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090213053821-03e696gckk4nbjps
Support not using IPv6 in server:

* mandos (AvahiService.__init__): Take new "protocol" parameter.  All
                                  callers changed.
  (IPv6_TCPServer.__init__): Take new "use_ipv6" parameter.  All
                             callers changed.
  (IPv6_TCPServer.server_bind): Create IPv4 socket if not using IPv6.
  (main): New "--no-ipv6" command line option.  New "use_ipv6" config
          option.
* mandos-options.xml ([@id="address"]): Document conditional IPv4
                                        address support.
  ([@id="ipv6"]): New paragraph.
* mandos.conf (use_ipv6): New config option.
* mandos.conf.xml (OPTIONS): Document new "use_dbus" option.
  (EXAMPLE): Changed to use IPv6 link-local address.  Added "use_ipv6"
             option.
* mandos.xml (SYNOPSIS): New "--no-ipv6" option.
  (OPTIONS): Document new "--no-ipv6" option.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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">
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
  
69
71
  <para id="dbus">
70
72
    This option controls whether the server will provide a D-Bus
71
73
    system bus interface.  The default is to provide such an
72
74
    interface.
73
75
  </para>
74
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
  
75
89
</section>