/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 NEWS

  • Committer: Teddy Hogeborn
  • Date: 2019-03-30 07:03:04 UTC
  • Revision ID: teddy@recompile.se-20190330070304-dqgch62lsaaygg46
mandos-ctl: Refactor D-Bus operations

* mandos-ctl (dbus): Rename imported module to "dbus_python".
  (main): Only create a bus object and do everything via that object.
  (get_mandos_dbus_object): Remove and move code into dbus or
                            dbus_python_adapter namespaces.
  (if_dbus_exception_log_with_exception_and_exit): - '' -
  (SilenceLogger): - '' -
  (dbus): New; move everything dbus-specific into this module-like
          namespace.
  (dbus_python_adapter): New; move everything specific to the
                         dbus-python D-Bus module into this
                         module-like namespace.
  (command.Base.run): Take only a bus argument; use only that.  Pass
                      "client" argument as a D-Bus object path string,
                      not a dbus-python proxy object.  All derivatives
                      adjusted.
  (command.IsEnabled.is_enabled): Remove.
  (command.Approve, command.Deny, command.Remove,
  command.PropertySetter): Do no logging of D-Bus commands, and use
  only bus, not client, to do D-Bus calls.
  (command.DumpJSON.dbus_boolean_to_bool): Remove; move filtering to
                                           dbus_python_adapter.
  (command.Enable, command.Disable, command.StopChecker,
  command.ApproveByDefault): Use normal Python booleans instead of
  dbus-python's special Boolean types.
  (Unique): New; move here out from inside TestPropertySetterCmd.
  (Test_get_mandos_dbus_object): Remove.
  (Test_get_managed_objects): - '' -
  (Test_dbus_exceptions): New.
  (Test_dbus_MandosBus): - '' -
  (Test_dbus_python_adapter_SystemBus): - '' -
  (Test_dbus_python_adapter_CachingBus): - '' -
  (Test_commands_from_options): Don't create mock client proxy
  objects, define dict of client properties and use a mock dbus to
  verify that the correct D-Bus calls are made.  Also remove any types
  specific to dbus-python.
  (TestEnableCmd, TestDisableCmd, TestStartCheckerCmd,
  TestStopCheckerCmd, TestApproveByDefaultCmd, TestDenyByDefaultCmd):
  Use normal Python booleans instead of dbus-python's special Boolean
  types.
  (TestPropertySetterValueCmd.runTest): Remove; unnecessary.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
This NEWS file records noteworthy changes, very tersely.
2
2
See the manual for detailed information.
3
3
 
4
 
Version 1.8.11
5
 
* Client
6
 
** Fix file descriptor leak when adding or removing local routes to
7
 
   unreachable hosts on the local network.
8
 
 
9
 
Version 1.8.10 (2020-03-21)
10
 
* Server
11
 
** Fix bug when setting a client's D-Bus "Secret" property
12
 
** Start client checkers after a random delay
13
 
** When using systemd, allow easier modification of server options
14
 
** Better log messages in mandos-monitor
15
 
* Client
16
 
** When using dracut & systemd, allow easier modification of options
17
 
 
18
 
Version 1.8.9 (2019-09-03)
19
 
* No user-visible changes
20
 
 
21
 
Version 1.8.8 (2019-08-18)
22
 
* No user-visible changes
23
 
 
24
 
Version 1.8.7 (2019-08-05)
25
 
* Client:
26
 
** Always compile with LFS (Large File Support) enabled.
27
 
* Server
28
 
** Improve intro(8mandos) manual page to cover dracut(8) support.
29
 
 
30
 
Version 1.8.6 (2019-08-03)
31
 
* Client:
32
 
** dracut support: In password-agent, properly ignore deleted and
33
 
   renamed question files, and also fix memory alignment issue.
34
 
 
35
 
Version 1.8.5 (2019-07-30)
36
 
* Client
37
 
** Support dracut(8) as well as initramfs-tools(7).
38
 
** Minor bug fix: Allow the mandos-keygen --passfile option to use
39
 
   passfiles with names starting with "-".
40
 
** Document known limitation of mandos-keygen --password; it strips
41
 
   white space from start and end of the password.
42
 
* Server
43
 
** Bug fix: The server used to fail to restart if the "port" setting
44
 
   was used.  This has been fixed.
45
 
** Minor bug fix: Reap zombies left over from checker runs.  (Debian
46
 
   bug #933387)
47
 
 
48
 
Version 1.8.4 (2019-04-09)
49
 
* Client
50
 
** Fix minor memory leak in plugin-runner.
51
 
* Server
52
 
** mandos-ctl now has a --debug option to show D-Bus calls.
53
 
 
54
4
Version 1.8.3 (2019-02-11)
55
5
* No user-visible changes.
56
6