/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.conf

More consistent terminology: Clients are no longer "invalid" - they
are "disabled".  All code and documentation changed to reflect this.

D=Bus API change: The "properties" argument was removed from the
"ClientAdded" signal on interface "se.bsnet.fukt.Mandos".  All code in
both "mandos" and "mandos-monitor" changed to reflect this.

* mandos: Replaced "with closing(F)" with simply "with F" in all
          places where F is a file object.
  (Client.still_valid): Removed.  All callers changed to look at
                        "Client.enabled" instead.
  (dbus_service_property): Check for unsupported signatures with the
                           "byte_arrays" option.
  (DBusObjectWithProperties.Set): - '' -
  (ClientHandler.handle): Use the reverse pipe to receive the
                          "Client.enabled" attribute instead of the
                          now-removed "Client.still_valid()" method.
  (ForkingMixInWithPipe): Renamed to "ForkingMixInWithPipes" (all
                          users changed).  Now also create a reverse
                          pipe for sending data to the child process.
  (ForkingMixInWithPipes.add_pipe): Now takes two pipe fd's as
                                    arguments.  All callers changed.
  (IPv6_TCPServer.handle_ipc): Take an additional "reply_fd" argument
                               (all callers changed).  Close the reply
                               pipe when the child data pipe is
                               closed.  New "GETATTR" IPC method; will
                               pickle client attribute and send it
                               over the reply pipe FD.
  (MandosDBusService.ClientAdded): Removed "properties" argument.  All
                                   emitters changed.
* mandos-clients.conf.xml (DESCRIPTION, OPTIONS): Use
                                                  "enabled/disabled"
                                                  terminology.
* mandos-ctl: Option "--is-valid" renamed to "--is-enabled".
* mandos-monitor: Enable user locale.  Try to log exceptions.
  (MandosClientPropertyCache.__init__): Removed "properties" argument.
                                        All callers changed.
  (UserInterface.add_new_client): Remove "properties" argument.  All
                                  callers changed.  Supply "logger"
                                  argument to MandosClientWidget().
  (UserInterface.add_client): New "logger" argument.  All callers
                              changed.
* mandos.xml (BUGS, SECURITY/CLIENTS): Use "enabled/disabled"
                                       terminology.

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