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