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

Minor code cleanup, and a bug fix.

* mandos: Added blank second line in doc strings.
  (SO_BINDTODEVICE): New global constant.
  (TCP_handler): Renamed to "ClientHandler".  All users changed.
  (ClientHandler.handle): Get GnuTLS priority directly from
                          server.gnutls_priority instead of
                          server.settings["priority"].
  (IPv6_TCPServer): Do not use super() anywhere.
  (IPv6_TCPServer.__init__) Do not receive "settings" dict, get all
                            the relevant settings separately as
                            keyword arguments.  All callers changed.
  (IPv6_TCPServer.server_bind): Use global SO_BINDTODEVICE.  Bug fix:
                               add NUL character to interface name.
                               Use "self.interface" directly instead
                               of "self.settings['interface']".
  (IPv6_TCPServer.handle_ipc): Use "self.use_dbus" directly instead of
                               "self.settings['use_dbus']".

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
    advanced users should consider changing this option</emphasis>.
87
87
  </para>
88
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
 
  
100
 
  <para id="socket">
101
 
    If this option is used, the server will not create a new network
102
 
    socket, but will instead use the supplied file descriptor.  By
103
 
    default, the server will create a new network socket.
104
 
  </para>
105
 
  
106
 
  <para id="foreground">
107
 
    This option will make the server run in the foreground and not
108
 
    write a PID file.  The default is to <emphasis>not</emphasis> run
109
 
    in the foreground, except in <option>debug</option> mode, which
110
 
    implies this option.
111
 
  </para>
112
 
  
113
89
</section>