/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

* network-hooks.d: New directory.
* network-hooks.d/bridge: New example hook.
* network-hooks.d/bridge.conf: Config file for bridge example hook.

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