/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

  • Committer: Teddy Hogeborn
  • Date: 2009-04-14 03:36:05 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090414033605-ao45swlzyvmahc8y
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:
 
1
# This file must have exactly one section named "DEFAULT".
 
2
[DEFAULT]
 
3
 
 
4
# These are the default values for the server, uncomment and change
 
5
# them if needed.
 
6
 
 
7
 
 
8
# If "interface" is set, the server will only listen to a specific
 
9
# network interface.
 
10
;interface = 
 
11
 
 
12
 
 
13
# If "address" is set, the server will only listen to a specific
 
14
# address.  This must currently be an IPv6 address; an IPv4 address
 
15
# can be specified using the "::FFFF:192.0.2.3" syntax.  Also, if this
 
16
# is a link-local address, an interface should be set above.
 
17
;address =
 
18
 
 
19
 
 
20
# If "port" is set, the server to bind to that port. By default, the
 
21
# server will listen to an arbitrary port.
 
22
;port = 
 
23
 
 
24
 
 
25
# If "debug" is true, the server will run in the foreground and print
 
26
# a lot of debugging information.
 
27
;debug = False
 
28
 
 
29
 
 
30
# GnuTLS priority for the TLS handshake.  See gnutls_priority_init(3).
 
31
;priority = SECURE256:!CTYPE-X.509:+CTYPE-OPENPGP
 
32
 
 
33
 
 
34
# Zeroconf service name.  You need to change this if you for some
 
35
# reason want to run more than one server on the same *host*.
 
36
# If there are name collisions on the same *network*, the server will
 
37
# rename itself to "Mandos #2", etc.
 
38
;servicename = Mandos
 
39
 
 
40
# Whether to provide a D-Bus system bus interface or not
 
41
;use_dbus = True
 
42
 
 
43
# Whether to use IPv6.  (Changing this is NOT recommended.)
 
44
;use_ipv6 = True