1
1
This NEWS file records noteworthy changes, very tersely.
2
2
See the manual for detailed information.
4
Version 1.8.12 (2020-07-04)
6
** Fix compatibility with the GNU C Library version 2.31.
7
** In initramfs-tools boots, only use setsid(1) when available.
9
Version 1.8.11 (2020-04-08)
11
** Fix file descriptor leak when adding or removing local routes to
12
unreachable hosts on the local network.
14
Version 1.8.10 (2020-03-21)
16
** Fix bug when setting a client's D-Bus "Secret" property
17
** Start client checkers after a random delay
18
** When using systemd, allow easier modification of server options
19
** Better log messages in mandos-monitor
21
** When using dracut & systemd, allow easier modification of options
23
Version 1.8.9 (2019-09-03)
24
* No user-visible changes
26
Version 1.8.8 (2019-08-18)
27
* No user-visible changes
29
Version 1.8.7 (2019-08-05)
31
** Always compile with LFS (Large File Support) enabled.
33
** Improve intro(8mandos) manual page to cover dracut(8) support.
35
Version 1.8.6 (2019-08-03)
37
** dracut support: In password-agent, properly ignore deleted and
38
renamed question files, and also fix memory alignment issue.
40
Version 1.8.5 (2019-07-30)
42
** Support dracut(8) as well as initramfs-tools(7).
43
** Minor bug fix: Allow the mandos-keygen --passfile option to use
44
passfiles with names starting with "-".
45
** Document known limitation of mandos-keygen --password; it strips
46
white space from start and end of the password.
48
** Bug fix: The server used to fail to restart if the "port" setting
49
was used. This has been fixed.
50
** Minor bug fix: Reap zombies left over from checker runs. (Debian
53
Version 1.8.4 (2019-04-09)
55
** Fix minor memory leak in plugin-runner.
57
** mandos-ctl now has a --debug option to show D-Bus calls.
59
Version 1.8.3 (2019-02-11)
60
* No user-visible changes.
62
Version 1.8.2 (2019-02-10)
64
** In mandos-keygen, ignore failures to remove files in some cases.
66
Version 1.8.1 (2019-02-10)
68
** Only generate TLS keys using GnuTLS' certtool, of sufficient
69
version. Key generation of TLS keys will not happen until a
70
version of GnuTLS is installed with support for raw public keys.
71
** Remove any bad keys created by 1.8.0 and openssl.
73
** On installation, edit clients.conf and remove the same bad key ID
74
which was erroneously reported by all 1.8.0 clients. Also do not
75
trust this key ID in the server.
77
Version 1.8.0 (2019-02-10)
79
** Use new TLS keys for server communication and identification.
80
With GnuTLS 3.6 or later, OpenPGP keys are no longer supported.
81
The client can now use the new "raw public keys" (RFC 7250) API
82
instead, using GnuTLS 3.6.6. Please note: This *requires* new key
83
IDs to be added to server's client.conf file.
84
** New --tls-privkey and --tls-pubkey options to load TLS key files.
85
If GnuTLS is too old, these options do nothing.
87
** Supports either old or new GnuTLS.
88
The server now supports using GnuTLS 3.6.6 and clients connecting
89
with "raw public keys" as identification. The server will read
90
both fingerprints and key IDs from clients.conf file, and will use
91
either one or the other, depending on what is supported by GnuTLS
92
on the system. Please note: both are *not* supported at once; if
93
one type is supported by GnuTLS, all values of the other type from
94
clients.conf are ignored.
96
Version 1.7.20 (2018-08-19)
98
** Fix: Adapt to the Debian cryptsetup package 2.0.3 or later.
99
Important: in that version or later, the plugins "askpass-fifo",
100
"password-prompt", and "plymouth" will no longer be run, since they
101
would conflict with what cryptsetup is doing. Other plugins, such
102
as mandos-client and any user-supplied plugins, will still run.
103
** Better error message if failing to decrypt secret data
104
** Check for (and report) any key import failure from GPGME
105
** Better error message if self-signature verification fails
106
** Set system clock if not set; required by GnuPG for key import
107
** When debugging plugin-runner, it will now show starting plugins
109
Version 1.7.19 (2018-02-22)
111
** Do not print "unlink(...): No such file or directory".
112
** Bug fixes: Fix file descriptor leaks.
113
** Bug fix: Don't use leak sanitizer with leaking libraries.
115
Version 1.7.18 (2018-02-12)
117
** Bug fix: Revert faulty fix for a nonexistent bug in the
120
Version 1.7.17 (2018-02-10)
122
** Bug fix: Fix a memory leak in the plugin-runner
123
** Bug fix: Fix memory leaks in the plymouth plugin
125
Version 1.7.16 (2017-08-20)
127
** Bug fix: ignore "resumedev" entries in initramfs' cryptroot file
128
** Bug fix in plymouth plugin: fix memory leak, avoid warning output
130
Version 1.7.15 (2017-02-23)
132
** Bug fix: Respect the mandos.conf "zeroconf" and "restore" options
134
** Bug fix in mandos-keygen: Handle backslashes in passphrases
136
Version 1.7.14 (2017-01-25)
138
** Use "Requisite" instead of "RequisiteOverridable" in systemd
141
Version 1.7.13 (2016-10-08)
143
** Minor bug fix: Don't ask for passphrase or fail when generating
144
keys using GnuPG 2.1 in a chrooted environment.
146
Version 1.7.12 (2016-10-05)
148
** Bug fix: Don't crash after exit() when using DH parameters file
150
Version 1.7.11 (2016-10-01)
152
** Security fix: Don't compile with AddressSanitizer
154
** Bug fix: Find GnuTLS library when gnutls28-dev is not installed
155
** Bug fix: Include "Expires" and "Last Checker Status" in mandos-ctl
157
** New option for mandos-ctl: --dump-json
159
Version 1.7.10 (2016-06-23)
161
** Security fix: restrict permissions of /etc/mandos/plugin-helpers
163
** Bug fix: Make the --interface flag work with Python 2.7 when "cc"
166
Version 1.7.9 (2016-06-22)
168
** Do not include intro(8mandos) man page
170
Version 1.7.8 (2016-06-21)
172
** Include intro(8mandos) man page
173
** mandos-keygen: Use ECDSA SSH keys by default
174
** Bug fix: Work with GnuPG 2 when booting (Debian bug #819982)
175
by copying /usr/bin/gpg-agent into initramfs
177
** Bug fix: Work with GnuPG 2 (don't use --no-use-agent option)
178
** Bug fix: Make the --interface option work when using Python 2.7
179
by trying harder to find SO_BINDTODEVICE
181
Version 1.7.7 (2016-03-19)
183
** Fix bug in Plymouth client, broken since 1.7.2
185
Version 1.7.6 (2016-03-13)
187
** Fix bug where stopping server would time out
188
** Make server runnable with Python 3
190
Version 1.7.5 (2016-03-08)
192
** Fix security restrictions in systemd service file.
193
** Work around bug where stopping server would time out
195
Version 1.7.4 (2016-03-05)
197
** Bug fix: Tolerate errors from configure_networking (Debian Bug
199
** Compilation: Only use sanitizing options which work with the
200
compiler used when building. This should fix compilation with GCC
201
4.9 on mips, mipsel, and s390x.
203
** Add extra security restrictions in systemd service file.
205
Version 1.7.3 (2016-02-29)
207
** Bug fix: Remove new type of keyring directory user by GnuPG 2.1.
208
** Bug fix: Remove "nonnull" attribute from a function argument, which
209
would otherwise generate a spurious runtime warning.
211
Version 1.7.2 (2016-02-28)
213
** Stop using python-gnutls library; it was not updated to GnuTLS 3.3.
214
** Bug fix: Only send D-Bus signal ClientRemoved if using D-Bus.
215
** Use GnuPG 2 if available.
217
** Compile with various sanitizing flags.
219
Version 1.7.1 (2015-10-24)
221
** Bug fix: Can now really find Mandos server even if the server has
222
an IPv6 address on a network other than the one which the Mandos
225
Version 1.7.0 (2015-08-10)
227
** Bug fix: Handle local Zeroconf service name collisions better.
228
** Bug fix: Finally fix "ERROR: Child process vanished" bug.
229
** Bug fix: Fix systemd service file to start server correctly.
230
** Bug fix: Be compatible with old 2048-bit DSA keys.
231
** The D-Bus API now provides the standard D-Bus ObjectManager
232
interface, and deprecates older functionality. See the DBUS-API
233
file for the currently recommended API. Note: the original API
234
still works, but is deprecated.
236
** Can now find Mandos server even if the server has an IPv6 address
237
on a network without IPv6 Router Advertisment (like if the Mandos
238
client itself is the router, or there is an IPv6 router advertising
239
a network other than the one which the Mandos server is on.)
240
** Use a better value than 1024 for the default number of DH bits.
241
This better value is either provided by a DH parameters file (see
242
below) or an appropriate number of DH bits is determined based on
244
** Bug fix: mandos-keygen now generates correct output for the
245
"Checker" variable even if the SSH server on the Mandos client has
246
multiple SSH key types.
247
** Can now use pre-generated Diffie-Hellman parameters from a file.
249
Version 1.6.9 (2014-10-05)
251
** Changed to emit standard D-Bus signal when D-Bus properties change.
252
(The old signal is still emitted too, but marked as deprecated.)
254
Version 1.6.8 (2014-08-06)
256
** Bug fix: mandos-keygen now generates working SSH checker commands.
258
** Bug fix: "mandos-monitor" now really redraws screen on Ctrl-L.
259
** Now requires Python 2.7.
261
Version 1.6.7 (2014-07-17)
263
** Bug fix: Now compatible with GPGME 1.5.0.
264
** Bug fix: Fixed minor memory leaks.
266
** "mandos-monitor" now has verbose logging, toggleable with "v".
268
Version 1.6.6 (2014-07-13)
270
** If client host has an SSH server, "mandos-keygen --password" now
271
outputs "checker" option which uses "ssh-keyscan"; this is more
272
secure than the default "fping" checker.
273
** Bug fix: allow "." in network hook names, to match documentation.
274
** Better error messages.
276
** New --no-zeroconf option.
277
** Bug fix: Fix --servicename option, broken since 1.6.4.
278
** Bug fix: Fix --socket option work for --socket=0.
280
Version 1.6.5 (2014-05-11)
282
** Work around bug in GnuPG <http://bugs.g10code.com/gnupg/issue1622>
283
** Give better error messages when run without sufficient privileges
284
** Only warn if workaround for Debian bug #633582 was necessary and
285
failed, not if it failed and was unnecessary.
287
Version 1.6.4 (2014-02-16)
289
** Very minor fix to self-test code.
291
Version 1.6.3 (2014-01-21)
293
** Add systemd support.
294
** For PID file, fall back to /var/run if /run does not exist.
296
** Moved files from /usr/lib/mandos to whatever the architecture
297
specifies, like /usr/lib/x86_64-linux-gnu/mandos or
300
Version 1.6.2 (2013-10-24)
302
** PID file moved from /var/run to /run.
303
** Bug fix: Handle long secrets when saving client state.
304
** Bug fix: Use more magic in the GnuTLS priority string to handle
305
both old DSA/ELG 2048-bit keys and new RSA/RSA 4096-bit keys.
307
** mandos-keygen: Bug fix: now generate RSA keys which GnuTLS can use.
308
Bug fix: Output passphrase prompts even when
309
redirecting standard output.
311
Version 1.6.1 (2013-10-13)
313
** All client options for time intervals now also take an RFC 3339
314
duration. The same for all options to mandos-ctl.
315
** Bug fix: Handle fast checkers (like ":") correctly.
316
** Bug fix: Don't print output from checkers when running in
318
** Bug fix: Do not fail when client is removed from clients.conf but
319
saved settings remain.
320
** Bug fix: mandos-monitor now displays standout (reverse video) again
321
using new version of Urwid.
322
** Bug fix: Make boolean options work from the config file again.
323
** Bug fix: Make --no-ipv6 work again.
324
** New default priority string to be slightly more compatible with
325
older versions of GnuTLS.
327
** Bug fix: Fix bashism in mandos-keygen.
328
** Default key and subkey types are now RSA and RSA, respectively.
329
Also, new default key size is 4096 bits.
331
Version 1.6.0 (2012-06-18)
333
** Takes new --foreground option
334
** Init script supports new "status" action.
336
** Now uses all interfaces by default; the --interface option can
337
still be used to restrict it, and the argument to --interface (as
338
well as the $DEVICE environment variable for the network hooks) is
339
now a comma-separated list of interfaces to use.
341
Version 1.5.5 (2012-06-01)
343
** Server takes new --socket option
345
Version 1.5.4 (2012-05-20)
347
** Bug fix: Regression fix: Make non-zero approval timeout values work.
348
** Bug fix: Regression fix: Allow changing the Timeout D-Bus property.
349
** Fall back to not bind to an interface if an invalid interface name
351
** Removed support for undocumented feature of using plain "%%s" in
352
"checker" client option.
353
** Old D-Bus interface are now marked as deprecated.
354
** mandos-monitor: Bug fix: show approval timers correctly.
355
** mandos-ctl: Show "Extended Timeout" correctly, not as milliseconds.
357
Version 1.5.3 (2012-01-15)
359
** Add D-Bus property se.recompile.Client.LastCheckerStatus and use it
362
** Fix bugs in the example "bridge" network hook.
364
Version 1.5.2 (2012-01-08)
366
** Removed D-Bus signal se.recompile.Mandos.NewRequest() added in
367
1.5.0. It was buggy and was of questionable utility.
369
Version 1.5.1 (2012-01-01)
371
** Include intro(8mandos) manual page, missing since migration from
372
README file in version 1.4.0.
374
Version 1.5.0 (2012-01-01)
376
** Network hooks. The Mandos client can now run custom scripts to take
377
up a network interface before the client is run. Three example
378
scripts are provided: "wireless", "openvpn", and "bridge".
379
To facilitate this, the client now prefers network interfaces which
380
are up (if any) over all other interfaces.
382
** Persistent state. Client state is now saved between server
384
** clients.conf file can now contain "enabled" setting for clients.
385
** Bug fix: Fix rare crash bug.
386
** Bug fix: Send corrent D-Bus type in PropertyChanged for
387
"ApprovalDelay", "ApprovalDuration", "Timeout", and
389
** mandos-ctl: Bare numbers as arguments are taken to be milliseconds.
390
** Bug fix: mandos-ctl --secret option now works.
391
** New D-Bus signal: se.recompile.Mandos.NewRequest(s).
393
Version 1.4.1 (2011-10-15)
395
** Make D-Bus properties settable again, and handle checkers
396
for disabled clients correctly.
397
* Miscellaneous fixes to "pedantic" Lintian warnings
399
Version 1.4.0 (2011-10-09)
400
* README file migrated to manual page intro(8mandos).
402
** Fixed warning about "rmdir: Directory not empty".
404
** Default values changed: timeout 5 minutes, interval 2 minutes.
405
** Clients gets an expiration extension when receiving a password,
406
controlled by new "extended_timeout" setting.
407
** New domain name: "fukt.bsnet.se" changes to "recompile.se". This
408
also affects the D-Bus bus and interface names (old names still
409
work). Users should start using the new names immediately.
410
** New D-Bus Client object properties "Expires" and "ExtendedTimeout";
411
see DBUS-API for details.
413
Version 1.3.1 (2011-07-27)
415
** Client now retries all Mandos servers periodically.
416
** Work around Debian bug #633582 - fixes "Permission denied" problem.
418
Version 1.3.0 (2011-03-08)
420
** Updated for Python 2.6.
422
** Bug fix: Make the password-prompt plugin not conflict with
424
** Bug fix: Bug fix: update initramfs also when purging package.
426
Version 1.2.3 (2010-10-11)
428
** Bug fix: Expose D-Bus API also in non-debug mode.
430
Version 1.2.2 (2010-10-07)
432
** splashy: Minor fix to compile with non-Linux kernels.
434
Version 1.2.1 (2010-10-02)
436
** mandos-monitor(8): Documentation bug fix: Key for removing client
439
Version 1.2 (2010-09-28)
441
** New "plymouth" plugin to ask for a password using the Plymouth
442
graphical boot system.
443
** The Mandos client now automatically chooses a network interface if
444
the DEVICE setting in /etc/initramfs-tools/initramfs.conf is set to
445
the empty string. This is also the new default instead of "eth0".
446
** The Mandos client --connect option now loops indefinitely until a
447
password is received from the specified server.
448
** Bug fix: Quote directory correctly in mandos-keygen with --password
449
** Bug fix: don't use "echo -e" in mandos-keygen; unsupported by dash.
451
** Terminology change: clients are now "ENABLED" or "DISABLED", not
452
"valid" or "invalid".
453
** New D-Bus API; see the file "DBUS-API".
454
** New control utilities using the new D-Bus API:
455
+ mandos-ctl A command-line based utility
456
+ mandos-monitor A text-based GUI interface
457
** New feature: manual interactive approval or denying of clients on a
459
** New --debuglevel option to control logging
460
** Will not write PID file if --debug is passed
461
** Bug fix: Avoid race conditions with short "interval" values or
463
** Bug fix: Don't try to bind to a network interface when none is
466
Version 1.0.14 (2009-10-25)
467
Enable building without -pie and -fPIE if BROKEN_PIE is set.
469
Version 1.0.13 (2009-10-22)
471
** Security bug fix: If Mandos server is also installed, do not copy
472
its config files (with encrypted passwords) into the initrd.img-*
475
Version 1.0.12 (2009-09-17)
477
** Bug fix: Allow network interface renaming by "udev" by taking down
478
the network interface after using it.
479
** Bug fix: User-supplied plugins are now installed correctly.
480
** Bug fix: If usplash was used but the password was instead provided
481
by the Mandos server, the usplash daemon used to ignore the first
482
command passed to it. This has been fixed.
483
** Bug fix: Make the "--userid" and "--groupid" options in
484
"plugin-runner.conf" work.
486
** Bug fix: Fix the LSB header in the init.d script to make dependency
488
** A client receiving its password now also counts as if a checker was
489
run successfully (i.e. the timeout timer is reset).
491
Version 1.0.11 (2009-05-23)
493
** Bug fix: Use "pkg-config" instead of old "libgnutls-config".
495
Version 1.0.10 (2009-05-17)
497
** Security bug fix: Fix permissions on initrd.img-*.bak files when
498
upgrading from older versions.
500
Version 1.0.9 (2009-05-17)
502
** Security bug fix: Fix permissions on initrd.img file when
503
installing new linux-image-* packages calling mkinitramfs-kpkg (all
504
version lower than 2.6.28-1-* does this).
506
Version 1.0.8 (2009-02-25)
508
** Bug fix: Fix missing quote characters in initramfs-tools-hook.
4
510
Version 1.0.7 (2009-02-24)
6
512
** Bug fix: Do not depend on GNU awk.