/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 at recompile
  • Date: 2020-02-09 03:38:33 UTC
  • Revision ID: teddy@recompile.se-20200209033833-2la1pujrnv2m0so4
Use reallocarray() if available, or check for overflow

* dracut-module/password-agent.c (add_to_queue): Check for overflow.
  (test_add_to_queue_overflow): New test.
* plugin-runner.c (add_to_char_array, main): Use reallocarray().
* plugins.d/plymouth.c (exec_and_wait): - '' -

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