/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-09-21 21:39:25 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090921213925-jbpt6tzu99otseng
Use D-Bus properties instead of our own methods.

* mandos (Client._datetime_to_milliseconds): Renamed to
                                             "_timedelta_to_milliseconds".
                                             All callers changed.
  (dbus_service_property): New decorator for D-Bus properties.
  (DBusPropertyException, DBusPropertyAccessException,
  DBusPropertyNotFound): New D-Bus exception classes.
  (DBusObjectWithProperties): New; extends "dbus.service.Object" with
                              support for properties.
  (ClientDBus): Inherit from, and call up to, "DBusObjectWithProperties".
  (ClientDBus.CheckedOK, ClientDBus.GetAllProperties,
  ClientDBus.SetChecker, ClientDBus.SetHost, ClientDBus.SetInterval,
  ClientDBus.SetSecret, ClientDBus.SetTimeout, ClientDBus.Enable,
  ClientDBus.StartChecker, ClientDBus.Disable,
  ClientDBus.StopChecker): Removed, replaced with properties.
  (ClientDBus.IsStillValid): Removed, superfluous.
  (ClientDBus.name_dbus_property,
  ClientDBus.fingerprint_dbus_property, ClientDBus.host_dbus_property,
  ClientDBus.created_dbus_property,
  ClientDBus.last_enabled_dbus_property,
  ClientDBus.enabled_dbus_property,
  ClientDBus.last_checked_ok_dbus_property,
  ClientDBus.timeout_dbus_property, ClientDBus.interval_dbus_property,
  ClientDBus.checker_dbus_property,
  ClientDBus.checker_running_dbus_property,
  ClientDBus.object_path_dbus_property,
  ClientDBus.secret_dbus_property): New D-Bus properties.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
# These are the default values for the server, uncomment and change
5
5
# them if needed.
6
6
 
 
7
 
7
8
# If "interface" is set, the server will only listen to a specific
8
9
# network interface.
9
10
;interface = 
10
11
 
 
12
 
11
13
# If "address" is set, the server will only listen to a specific
12
14
# address.  This must currently be an IPv6 address; an IPv4 address
13
15
# can be specified using the "::FFFF:192.0.2.3" syntax.  Also, if this
14
16
# is a link-local address, an interface should be set above.
15
17
;address =
16
18
 
 
19
 
17
20
# If "port" is set, the server to bind to that port. By default, the
18
21
# server will listen to an arbitrary port.
19
22
;port = 
20
23
 
 
24
 
21
25
# If "debug" is true, the server will run in the foreground and print
22
26
# a lot of debugging information.
23
27
;debug = False
24
28
 
 
29
 
25
30
# GnuTLS priority for the TLS handshake.  See gnutls_priority_init(3).
26
 
;priority = SECURE256:!CTYPE-X.509:+CTYPE-OPENPGP:+SIGN-RSA-SHA224
 
31
;priority = SECURE256:!CTYPE-X.509:+CTYPE-OPENPGP
 
32
 
27
33
 
28
34
# Zeroconf service name.  You need to change this if you for some
29
35
# reason want to run more than one server on the same *host*.
36
42
 
37
43
# Whether to use IPv6.  (Changing this is NOT recommended.)
38
44
;use_ipv6 = True
39
 
 
40
 
# Whether to restore saved state on startup
41
 
;restore = True
42
 
 
43
 
# The directory where state is saved
44
 
;statedir = /var/lib/mandos
45
 
 
46
 
# Whether to run in the foreground
47
 
;foreground = False