1
1
This NEWS file records noteworthy changes, very tersely.
2
2
See the manual for detailed information.
4
Version 1.8.10 (2020-03-21)
6
** Fix bug when setting a client's D-Bus "Secret" property
7
** Start client checkers after a random delay
8
** When using systemd, allow easier modification of server options
9
** Better log messages in mandos-monitor
11
** When using dracut & systemd, allow easier modification of options
13
Version 1.8.9 (2019-09-03)
14
* No user-visible changes
16
Version 1.8.8 (2019-08-18)
17
* No user-visible changes
19
Version 1.8.7 (2019-08-05)
21
** Always compile with LFS (Large File Support) enabled.
23
** Improve intro(8mandos) manual page to cover dracut(8) support.
25
Version 1.8.6 (2019-08-03)
27
** dracut support: In password-agent, properly ignore deleted and
28
renamed question files, and also fix memory alignment issue.
30
Version 1.8.5 (2019-07-30)
32
** Support dracut(8) as well as initramfs-tools(7).
33
** Minor bug fix: Allow the mandos-keygen --passfile option to use
34
passfiles with names starting with "-".
35
** Document known limitation of mandos-keygen --password; it strips
36
white space from start and end of the password.
38
** Bug fix: The server used to fail to restart if the "port" setting
39
was used. This has been fixed.
40
** Minor bug fix: Reap zombies left over from checker runs. (Debian
43
Version 1.8.4 (2019-04-09)
45
** Fix minor memory leak in plugin-runner.
47
** mandos-ctl now has a --debug option to show D-Bus calls.
49
Version 1.8.3 (2019-02-11)
50
* No user-visible changes.
52
Version 1.8.2 (2019-02-10)
54
** In mandos-keygen, ignore failures to remove files in some cases.
56
Version 1.8.1 (2019-02-10)
58
** Only generate TLS keys using GnuTLS' certtool, of sufficient
59
version. Key generation of TLS keys will not happen until a
60
version of GnuTLS is installed with support for raw public keys.
61
** Remove any bad keys created by 1.8.0 and openssl.
63
** On installation, edit clients.conf and remove the same bad key ID
64
which was erroneously reported by all 1.8.0 clients. Also do not
65
trust this key ID in the server.
67
Version 1.8.0 (2019-02-10)
69
** Use new TLS keys for server communication and identification.
70
With GnuTLS 3.6 or later, OpenPGP keys are no longer supported.
71
The client can now use the new "raw public keys" (RFC 7250) API
72
instead, using GnuTLS 3.6.6. Please note: This *requires* new key
73
IDs to be added to server's client.conf file.
74
** New --tls-privkey and --tls-pubkey options to load TLS key files.
75
If GnuTLS is too old, these options do nothing.
77
** Supports either old or new GnuTLS.
78
The server now supports using GnuTLS 3.6.6 and clients connecting
79
with "raw public keys" as identification. The server will read
80
both fingerprints and key IDs from clients.conf file, and will use
81
either one or the other, depending on what is supported by GnuTLS
82
on the system. Please note: both are *not* supported at once; if
83
one type is supported by GnuTLS, all values of the other type from
84
clients.conf are ignored.
86
Version 1.7.20 (2018-08-19)
88
** Fix: Adapt to the Debian cryptsetup package 2.0.3 or later.
89
Important: in that version or later, the plugins "askpass-fifo",
90
"password-prompt", and "plymouth" will no longer be run, since they
91
would conflict with what cryptsetup is doing. Other plugins, such
92
as mandos-client and any user-supplied plugins, will still run.
93
** Better error message if failing to decrypt secret data
94
** Check for (and report) any key import failure from GPGME
95
** Better error message if self-signature verification fails
96
** Set system clock if not set; required by GnuPG for key import
97
** When debugging plugin-runner, it will now show starting plugins
99
Version 1.7.19 (2018-02-22)
101
** Do not print "unlink(...): No such file or directory".
102
** Bug fixes: Fix file descriptor leaks.
103
** Bug fix: Don't use leak sanitizer with leaking libraries.
105
Version 1.7.18 (2018-02-12)
107
** Bug fix: Revert faulty fix for a nonexistent bug in the
110
Version 1.7.17 (2018-02-10)
112
** Bug fix: Fix a memory leak in the plugin-runner
113
** Bug fix: Fix memory leaks in the plymouth plugin
115
Version 1.7.16 (2017-08-20)
117
** Bug fix: ignore "resumedev" entries in initramfs' cryptroot file
118
** Bug fix in plymouth plugin: fix memory leak, avoid warning output
120
Version 1.7.15 (2017-02-23)
122
** Bug fix: Respect the mandos.conf "zeroconf" and "restore" options
124
** Bug fix in mandos-keygen: Handle backslashes in passphrases
126
Version 1.7.14 (2017-01-25)
128
** Use "Requisite" instead of "RequisiteOverridable" in systemd
131
Version 1.7.13 (2016-10-08)
133
** Minor bug fix: Don't ask for passphrase or fail when generating
134
keys using GnuPG 2.1 in a chrooted environment.
136
Version 1.7.12 (2016-10-05)
138
** Bug fix: Don't crash after exit() when using DH parameters file
140
Version 1.7.11 (2016-10-01)
142
** Security fix: Don't compile with AddressSanitizer
144
** Bug fix: Find GnuTLS library when gnutls28-dev is not installed
145
** Bug fix: Include "Expires" and "Last Checker Status" in mandos-ctl
147
** New option for mandos-ctl: --dump-json
149
Version 1.7.10 (2016-06-23)
151
** Security fix: restrict permissions of /etc/mandos/plugin-helpers
153
** Bug fix: Make the --interface flag work with Python 2.7 when "cc"
156
Version 1.7.9 (2016-06-22)
158
** Do not include intro(8mandos) man page
160
Version 1.7.8 (2016-06-21)
162
** Include intro(8mandos) man page
163
** mandos-keygen: Use ECDSA SSH keys by default
164
** Bug fix: Work with GnuPG 2 when booting (Debian bug #819982)
165
by copying /usr/bin/gpg-agent into initramfs
167
** Bug fix: Work with GnuPG 2 (don't use --no-use-agent option)
168
** Bug fix: Make the --interface option work when using Python 2.7
169
by trying harder to find SO_BINDTODEVICE
171
Version 1.7.7 (2016-03-19)
173
** Fix bug in Plymouth client, broken since 1.7.2
175
Version 1.7.6 (2016-03-13)
177
** Fix bug where stopping server would time out
178
** Make server runnable with Python 3
180
Version 1.7.5 (2016-03-08)
182
** Fix security restrictions in systemd service file.
183
** Work around bug where stopping server would time out
185
Version 1.7.4 (2016-03-05)
187
** Bug fix: Tolerate errors from configure_networking (Debian Bug
189
** Compilation: Only use sanitizing options which work with the
190
compiler used when building. This should fix compilation with GCC
191
4.9 on mips, mipsel, and s390x.
193
** Add extra security restrictions in systemd service file.
195
Version 1.7.3 (2016-02-29)
197
** Bug fix: Remove new type of keyring directory user by GnuPG 2.1.
198
** Bug fix: Remove "nonnull" attribute from a function argument, which
199
would otherwise generate a spurious runtime warning.
201
Version 1.7.2 (2016-02-28)
203
** Stop using python-gnutls library; it was not updated to GnuTLS 3.3.
204
** Bug fix: Only send D-Bus signal ClientRemoved if using D-Bus.
205
** Use GnuPG 2 if available.
207
** Compile with various sanitizing flags.
209
Version 1.7.1 (2015-10-24)
211
** Bug fix: Can now really find Mandos server even if the server has
212
an IPv6 address on a network other than the one which the Mandos
215
Version 1.7.0 (2015-08-10)
217
** Bug fix: Handle local Zeroconf service name collisions better.
218
** Bug fix: Finally fix "ERROR: Child process vanished" bug.
219
** Bug fix: Fix systemd service file to start server correctly.
220
** Bug fix: Be compatible with old 2048-bit DSA keys.
221
** The D-Bus API now provides the standard D-Bus ObjectManager
222
interface, and deprecates older functionality. See the DBUS-API
223
file for the currently recommended API. Note: the original API
224
still works, but is deprecated.
226
** Can now find Mandos server even if the server has an IPv6 address
227
on a network without IPv6 Router Advertisment (like if the Mandos
228
client itself is the router, or there is an IPv6 router advertising
229
a network other than the one which the Mandos server is on.)
230
** Use a better value than 1024 for the default number of DH bits.
231
This better value is either provided by a DH parameters file (see
232
below) or an appropriate number of DH bits is determined based on
234
** Bug fix: mandos-keygen now generates correct output for the
235
"Checker" variable even if the SSH server on the Mandos client has
236
multiple SSH key types.
237
** Can now use pre-generated Diffie-Hellman parameters from a file.
239
Version 1.6.9 (2014-10-05)
241
** Changed to emit standard D-Bus signal when D-Bus properties change.
242
(The old signal is still emitted too, but marked as deprecated.)
244
Version 1.6.8 (2014-08-06)
246
** Bug fix: mandos-keygen now generates working SSH checker commands.
248
** Bug fix: "mandos-monitor" now really redraws screen on Ctrl-L.
249
** Now requires Python 2.7.
251
Version 1.6.7 (2014-07-17)
253
** Bug fix: Now compatible with GPGME 1.5.0.
254
** Bug fix: Fixed minor memory leaks.
256
** "mandos-monitor" now has verbose logging, toggleable with "v".
258
Version 1.6.6 (2014-07-13)
260
** If client host has an SSH server, "mandos-keygen --password" now
261
outputs "checker" option which uses "ssh-keyscan"; this is more
262
secure than the default "fping" checker.
263
** Bug fix: allow "." in network hook names, to match documentation.
264
** Better error messages.
266
** New --no-zeroconf option.
267
** Bug fix: Fix --servicename option, broken since 1.6.4.
268
** Bug fix: Fix --socket option work for --socket=0.
270
Version 1.6.5 (2014-05-11)
272
** Work around bug in GnuPG <http://bugs.g10code.com/gnupg/issue1622>
273
** Give better error messages when run without sufficient privileges
274
** Only warn if workaround for Debian bug #633582 was necessary and
275
failed, not if it failed and was unnecessary.
277
Version 1.6.4 (2014-02-16)
279
** Very minor fix to self-test code.
281
Version 1.6.3 (2014-01-21)
283
** Add systemd support.
284
** For PID file, fall back to /var/run if /run does not exist.
286
** Moved files from /usr/lib/mandos to whatever the architecture
287
specifies, like /usr/lib/x86_64-linux-gnu/mandos or
290
Version 1.6.2 (2013-10-24)
292
** PID file moved from /var/run to /run.
293
** Bug fix: Handle long secrets when saving client state.
294
** Bug fix: Use more magic in the GnuTLS priority string to handle
295
both old DSA/ELG 2048-bit keys and new RSA/RSA 4096-bit keys.
297
** mandos-keygen: Bug fix: now generate RSA keys which GnuTLS can use.
298
Bug fix: Output passphrase prompts even when
299
redirecting standard output.
301
Version 1.6.1 (2013-10-13)
303
** All client options for time intervals now also take an RFC 3339
304
duration. The same for all options to mandos-ctl.
305
** Bug fix: Handle fast checkers (like ":") correctly.
306
** Bug fix: Don't print output from checkers when running in
308
** Bug fix: Do not fail when client is removed from clients.conf but
309
saved settings remain.
310
** Bug fix: mandos-monitor now displays standout (reverse video) again
311
using new version of Urwid.
312
** Bug fix: Make boolean options work from the config file again.
313
** Bug fix: Make --no-ipv6 work again.
314
** New default priority string to be slightly more compatible with
315
older versions of GnuTLS.
317
** Bug fix: Fix bashism in mandos-keygen.
318
** Default key and subkey types are now RSA and RSA, respectively.
319
Also, new default key size is 4096 bits.
321
Version 1.6.0 (2012-06-18)
323
** Takes new --foreground option
324
** Init script supports new "status" action.
326
** Now uses all interfaces by default; the --interface option can
327
still be used to restrict it, and the argument to --interface (as
328
well as the $DEVICE environment variable for the network hooks) is
329
now a comma-separated list of interfaces to use.
331
Version 1.5.5 (2012-06-01)
333
** Server takes new --socket option
335
Version 1.5.4 (2012-05-20)
337
** Bug fix: Regression fix: Make non-zero approval timeout values work.
338
** Bug fix: Regression fix: Allow changing the Timeout D-Bus property.
339
** Fall back to not bind to an interface if an invalid interface name
341
** Removed support for undocumented feature of using plain "%%s" in
342
"checker" client option.
343
** Old D-Bus interface are now marked as deprecated.
344
** mandos-monitor: Bug fix: show approval timers correctly.
345
** mandos-ctl: Show "Extended Timeout" correctly, not as milliseconds.
347
Version 1.5.3 (2012-01-15)
349
** Add D-Bus property se.recompile.Client.LastCheckerStatus and use it
352
** Fix bugs in the example "bridge" network hook.
354
Version 1.5.2 (2012-01-08)
356
** Removed D-Bus signal se.recompile.Mandos.NewRequest() added in
357
1.5.0. It was buggy and was of questionable utility.
359
Version 1.5.1 (2012-01-01)
361
** Include intro(8mandos) manual page, missing since migration from
362
README file in version 1.4.0.
364
Version 1.5.0 (2012-01-01)
366
** Network hooks. The Mandos client can now run custom scripts to take
367
up a network interface before the client is run. Three example
368
scripts are provided: "wireless", "openvpn", and "bridge".
369
To facilitate this, the client now prefers network interfaces which
370
are up (if any) over all other interfaces.
372
** Persistent state. Client state is now saved between server
374
** clients.conf file can now contain "enabled" setting for clients.
375
** Bug fix: Fix rare crash bug.
376
** Bug fix: Send corrent D-Bus type in PropertyChanged for
377
"ApprovalDelay", "ApprovalDuration", "Timeout", and
379
** mandos-ctl: Bare numbers as arguments are taken to be milliseconds.
380
** Bug fix: mandos-ctl --secret option now works.
381
** New D-Bus signal: se.recompile.Mandos.NewRequest(s).
383
Version 1.4.1 (2011-10-15)
385
** Make D-Bus properties settable again, and handle checkers
386
for disabled clients correctly.
387
* Miscellaneous fixes to "pedantic" Lintian warnings
389
Version 1.4.0 (2011-10-09)
390
* README file migrated to manual page intro(8mandos).
392
** Fixed warning about "rmdir: Directory not empty".
394
** Default values changed: timeout 5 minutes, interval 2 minutes.
395
** Clients gets an expiration extension when receiving a password,
396
controlled by new "extended_timeout" setting.
397
** New domain name: "fukt.bsnet.se" changes to "recompile.se". This
398
also affects the D-Bus bus and interface names (old names still
399
work). Users should start using the new names immediately.
400
** New D-Bus Client object properties "Expires" and "ExtendedTimeout";
401
see DBUS-API for details.
403
Version 1.3.1 (2011-07-27)
405
** Client now retries all Mandos servers periodically.
406
** Work around Debian bug #633582 - fixes "Permission denied" problem.
408
Version 1.3.0 (2011-03-08)
410
** Updated for Python 2.6.
412
** Bug fix: Make the password-prompt plugin not conflict with
414
** Bug fix: Bug fix: update initramfs also when purging package.
416
Version 1.2.3 (2010-10-11)
418
** Bug fix: Expose D-Bus API also in non-debug mode.
420
Version 1.2.2 (2010-10-07)
422
** splashy: Minor fix to compile with non-Linux kernels.
424
Version 1.2.1 (2010-10-02)
426
** mandos-monitor(8): Documentation bug fix: Key for removing client
429
Version 1.2 (2010-09-28)
431
** New "plymouth" plugin to ask for a password using the Plymouth
432
graphical boot system.
433
** The Mandos client now automatically chooses a network interface if
434
the DEVICE setting in /etc/initramfs-tools/initramfs.conf is set to
435
the empty string. This is also the new default instead of "eth0".
436
** The Mandos client --connect option now loops indefinitely until a
437
password is received from the specified server.
438
** Bug fix: Quote directory correctly in mandos-keygen with --password
439
** Bug fix: don't use "echo -e" in mandos-keygen; unsupported by dash.
441
** Terminology change: clients are now "ENABLED" or "DISABLED", not
442
"valid" or "invalid".
443
** New D-Bus API; see the file "DBUS-API".
444
** New control utilities using the new D-Bus API:
445
+ mandos-ctl A command-line based utility
446
+ mandos-monitor A text-based GUI interface
447
** New feature: manual interactive approval or denying of clients on a
449
** New --debuglevel option to control logging
450
** Will not write PID file if --debug is passed
451
** Bug fix: Avoid race conditions with short "interval" values or
453
** Bug fix: Don't try to bind to a network interface when none is
456
Version 1.0.14 (2009-10-25)
457
Enable building without -pie and -fPIE if BROKEN_PIE is set.
459
Version 1.0.13 (2009-10-22)
461
** Security bug fix: If Mandos server is also installed, do not copy
462
its config files (with encrypted passwords) into the initrd.img-*
465
Version 1.0.12 (2009-09-17)
467
** Bug fix: Allow network interface renaming by "udev" by taking down
468
the network interface after using it.
469
** Bug fix: User-supplied plugins are now installed correctly.
470
** Bug fix: If usplash was used but the password was instead provided
471
by the Mandos server, the usplash daemon used to ignore the first
472
command passed to it. This has been fixed.
473
** Bug fix: Make the "--userid" and "--groupid" options in
474
"plugin-runner.conf" work.
476
** Bug fix: Fix the LSB header in the init.d script to make dependency
478
** A client receiving its password now also counts as if a checker was
479
run successfully (i.e. the timeout timer is reset).
481
Version 1.0.11 (2009-05-23)
483
** Bug fix: Use "pkg-config" instead of old "libgnutls-config".
485
Version 1.0.10 (2009-05-17)
487
** Security bug fix: Fix permissions on initrd.img-*.bak files when
488
upgrading from older versions.
490
Version 1.0.9 (2009-05-17)
492
** Security bug fix: Fix permissions on initrd.img file when
493
installing new linux-image-* packages calling mkinitramfs-kpkg (all
494
version lower than 2.6.28-1-* does this).
496
Version 1.0.8 (2009-02-25)
498
** Bug fix: Fix missing quote characters in initramfs-tools-hook.
500
Version 1.0.7 (2009-02-24)
502
** Bug fix: Do not depend on GNU awk.
504
Version 1.0.6 (2009-02-13)
506
** Fix bug where server would stop responding, with a zombie checker
507
** Support for disabling IPv6 (only for advanced users)
508
** Fix bug which made server not change group ID
511
** Bug fix: Fix permission for /lib64 (on relevant architechtures).
512
** Add support for IPv4 addresses.
513
** Add support in mandos-client for not bringing up a network
514
interface by specifying an empty string to "--interface".
515
** Make password prompt on boot not be mangled by kernel log messages
516
about network interface.
517
** Get network interface from initramfs.conf and/or from kernel
519
** If set by "ip=" kernel command line, configure network on boot.
520
** Support connecting directly using "mandos=connect" kernel command.
521
line option, provided network is configured using "ip=".
522
** Fix bug which made plugin-runner and mandos-client not change group
524
** Fix bug where the "--options-for" option of plugin-runner would
525
truncate the value at the first colon character.
526
** Fix bug where plugin-runner would not go to fallback if all plugins
528
** Fix bug where mandos-client would not clean temporary directory on
529
a signal or on certain file systems.
530
** Bug fix: remove bashism in /bin/sh script "mandos-keygen".
532
Version 1.0.5 (2009-01-17)
534
** Fix small memory leak in plugin-runner.
536
Version 1.0.4 (2009-01-15)
538
** Only find matched user/group pairs when searching for suitable
539
nonprivileged user/group to switch to.
542
** New kernel parameter "mandos=off" makes client not run at boot.
543
** Fix linking errors and compilation warnings on AMD64.
544
** Parse numbers in command line options better.
545
** The splashy and usplash plugins are more robust while traversing
546
/proc, and will not abort if a process suddenly disappears.
4
548
Version 1.0.3 (2009-01-06)
6
550
** Now tries to change to user and group "_mandos" before falling back