=== modified file 'DBUS-API'
--- DBUS-API 2011-12-31 23:05:34 +0000
+++ DBUS-API 2012-01-01 04:02:00 +0000
@@ -152,8 +152,8 @@
*** Rejected(s: Reason)
This client was not given its secret for a specified Reason.
-*** NewRequest(s: IP address)
- A client at IP adress has asked for its password.
+*** NewRequest(s: IPAddress)
+ A client at IPAdress has requested its secret.
* Copyright
=== modified file 'TODO'
--- TODO 2011-12-27 14:15:40 +0000
+++ TODO 2012-01-01 04:02:00 +0000
@@ -76,6 +76,7 @@
** TODO Support [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager][org.freedesktop.DBus.ObjectManager]] interface on server object
Deprecate methods GetAllClients(), GetAllClientsWithProperties()
and signals ClientAdded and ClientRemoved.
+** TODO Save state periodically to recover better from hard shutdowns
* mandos.xml
** Add mandos contact info in manual pages
=== modified file 'debian/rules'
--- debian/rules 2011-11-27 14:44:28 +0000
+++ debian/rules 2012-01-01 04:02:00 +0000
@@ -86,7 +86,7 @@
--exclude etc/mandos/clients.conf \
--exclude etc/mandos/plugins.d \
--exclude usr/lib/mandos/plugins.d \
- --exclude /usr/share/doc/mandos-client/network-hooks.d
+ --exclude usr/share/doc/mandos-client/network-hooks.d
dh_installdeb
dh_shlibdeps
dh_gencontrol
=== modified file 'mandos'
--- mandos 2011-12-31 23:05:34 +0000
+++ mandos 2012-01-01 04:02:00 +0000
@@ -850,8 +850,8 @@
# signatures other than "ay".
if prop._dbus_signature != "ay":
raise ValueError
- value = dbus.ByteArray(''.join(unichr(byte)
- for byte in value))
+ value = dbus.ByteArray(b''.join(chr(byte)
+ for byte in value))
prop(value)
@dbus.service.method(dbus.PROPERTIES_IFACE, in_signature="s",
=== modified file 'mandos-clients.conf.xml'
--- mandos-clients.conf.xml 2011-12-31 23:05:34 +0000
+++ mandos-clients.conf.xml 2012-01-01 04:02:00 +0000
@@ -66,8 +66,13 @@
>mandos8, read by it at startup.
The file needs to list all clients that should be able to use
- the service. All clients listed will be regarded as enabled,
- even if a client was disabled in a previous run of the server.
+ the service. The settings in this file can be overridden by
+ runtime changes to the server, which it saves across restarts.
+ (See the section called PERSISTENT STATE in
+ mandos8.) However, any changes to this file (including adding and removing
+ clients) will, at startup, override changes done during runtime.
The format starts with a [section
=== modified file 'mandos-options.xml'
--- mandos-options.xml 2011-11-26 22:22:20 +0000
+++ mandos-options.xml 2012-01-01 04:02:00 +0000
@@ -87,8 +87,8 @@
- This option controls whether the server will restore any state from
- last time it ran. Default is to try restore last state.
+ This option controls whether the server will restore its state
+ from the last time it ran. Default is to restore last state.
=== modified file 'mandos.xml'
--- mandos.xml 2011-12-31 23:05:34 +0000
+++ mandos.xml 2012-01-01 04:02:00 +0000
@@ -286,6 +286,9 @@
+
+ See also .
+
@@ -414,6 +417,18 @@
+
+ PERSISTENT STATE
+
+ Client settings, initially read from
+ clients.conf, are persistent across
+ restarts, and run-time changes will override settings in
+ clients.conf. However, if a setting is
+ changed (or a client added, or removed) in
+ clients.conf, this will take precedence.
+
+
+
D-BUS INTERFACE