/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: 2008-12-29 02:44:54 UTC
  • Revision ID: teddy@fukt.bsnet.se-20081229024454-nbsei556dwy5azr1
* mandos (Client.timeout, Client.interval): Changed from being a
                                            property to be a normal
                                            attribute.
  (Client._timeout, Client._interval): Removed.
  (Client._timeout_milliseconds): Changed from being an attribute to
                                  be a method "timeout_milliseconds".
                                  All users changed.
  (Client._interval_milliseconds): Changed from being an attribute to
                                   be method "interval_milliseconds".
                                   All users changed.
  (Client.__init__): Take additional "use_dbus" keyword argument.
                     Only provide D-Bus interface if "use_dbus" is
                     True.
  (Client.use_dbus): New attribute.
  (Client.dbus_object_path): Changed to only be set if "self.use_dbus"
                             is True.
  (Client.enable, Client.disable, Client.checker_callback,
  Client.bump_timeout, Client.start_checker, Client.stop_checker):
  Only emit D-Bus signals if "self.use_dbus".
  (Client.SetChecker, Client.SetHost, Client.Enable): Bug fix: Emit
                                                      D-Bus signals.
  (Client.SetInterval, Client.SetTimeout): Changed to emit D-Bus
                                           signals.

  (main): Remove deprecated "default" keyword argument to "--check"
          option.  Added new "--no-dbus" option.  Added corresponding
          "use_dbus" server configuration option.  Only provide D-Bus
          interface and emit D-Bus signals if "use_dbus".  Pass
          "use_dbus" on to Client constructor.

* mandos-options.xml ([@id="dbus"]): New option.

* mandos.conf (use_dbus): New option.

* mandos.conf.xml (OPTIONS): New option "use_dbus".
  (EXAMPLE): - '' -

* mandos.xml (SYNOPSIS): New option "--no-dbus".
  (D-BUS INTERFACE): New section.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
[server]
2
 
#interface = 
3
 
#address =
4
 
#port = 
5
 
#debug = False
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