/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-16 01:00:35 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090416010035-y7ta6ra2da4gf6mp
Minor code cleanup; one minor bug fix.

* initramfs-tools-hook: Bug fix: Use the primary group of the first
                        suitable user found, do not look for a
                        group separately.
* mandos: Unconditionally import "struct" and "fcntl".  Use unicode
          strings everywhere possible.
  (Client._datetime_to_milliseconds): New static method.
  (Client.timeout_milliseconds, Client.interval_milliseconds): Use
                                                               above
                                                               method.
  (ClientDBus.CheckedOK,
  ClientDBus.Enable, ClientDBus.StopChecker): Define normally.
  (if_nametoindex): Document non-acceptance of unicode strings.  All
                    callers adjusted.  Do not import "struct" or
                    "fcntl".  Log warning message if if_nametoindex
                    cannot be found using ctypes modules.
  (main): Bug fix: Do not look for user named "nogroup".

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
[server]
2
 
#interface = 
3
 
#address =
4
 
#port = 
5
 
#debug = 
6
 
#priority = SECURE256:!CTYPE-X.509:+CTYPE-OPENPGP
7
 
#servicename = Mandos
 
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