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