/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.12 (2020-07-04)
5
 
* Client
6
 
** Fix compatibility with the GNU C Library version 2.31.
7
 
** In initramfs-tools boots, only use setsid(1) when available.
8
 
 
9
 
Version 1.8.11 (2020-04-08)
10
 
* Client
11
 
** Fix file descriptor leak when adding or removing local routes to
12
 
   unreachable hosts on the local network.
13
 
 
14
 
Version 1.8.10 (2020-03-21)
15
 
* Server
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
20
 
* Client
21
 
** When using dracut & systemd, allow easier modification of options
22
 
 
23
 
Version 1.8.9 (2019-09-03)
24
 
* No user-visible changes
25
 
 
26
 
Version 1.8.8 (2019-08-18)
27
 
* No user-visible changes
28
 
 
29
 
Version 1.8.7 (2019-08-05)
30
 
* Client:
31
 
** Always compile with LFS (Large File Support) enabled.
32
 
* Server
33
 
** Improve intro(8mandos) manual page to cover dracut(8) support.
34
 
 
35
 
Version 1.8.6 (2019-08-03)
36
 
* Client:
37
 
** dracut support: In password-agent, properly ignore deleted and
38
 
   renamed question files, and also fix memory alignment issue.
39
 
 
40
 
Version 1.8.5 (2019-07-30)
41
 
* Client
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.
47
 
* Server
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
51
 
   bug #933387)
52
 
 
53
 
Version 1.8.4 (2019-04-09)
54
 
* Client
55
 
** Fix minor memory leak in plugin-runner.
56
 
* Server
57
 
** mandos-ctl now has a --debug option to show D-Bus calls.
58
 
 
59
 
Version 1.8.3 (2019-02-11)
60
 
* No user-visible changes.
61
 
 
62
 
Version 1.8.2 (2019-02-10)
63
 
* Client
64
 
** In mandos-keygen, ignore failures to remove files in some cases.
65
 
 
66
 
Version 1.8.1 (2019-02-10)
67
 
* Client
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.
72
 
* Server
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.
76
 
 
77
 
Version 1.8.0 (2019-02-10)
78
 
* Client
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.
86
 
* Server
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.
95
 
 
96
 
Version 1.7.20 (2018-08-19)
97
 
* Client
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
108
 
 
109
 
Version 1.7.19 (2018-02-22)
110
 
* Client
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.
114
 
 
115
 
Version 1.7.18 (2018-02-12)
116
 
* Client
117
 
** Bug fix: Revert faulty fix for a nonexistent bug in the
118
 
   plugin-runner
119
 
 
120
 
Version 1.7.17 (2018-02-10)
121
 
* Client
122
 
** Bug fix: Fix a memory leak in the plugin-runner
123
 
** Bug fix: Fix memory leaks in the plymouth plugin
124
 
 
125
 
Version 1.7.16 (2017-08-20)
126
 
* Client
127
 
** Bug fix: ignore "resumedev" entries in initramfs' cryptroot file
128
 
** Bug fix in plymouth plugin: fix memory leak, avoid warning output
129
 
 
130
 
Version 1.7.15 (2017-02-23)
131
 
* Server
132
 
** Bug fix: Respect the mandos.conf "zeroconf" and "restore" options
133
 
* Client
134
 
** Bug fix in mandos-keygen: Handle backslashes in passphrases
135
 
 
136
 
Version 1.7.14 (2017-01-25)
137
 
* Server
138
 
** Use "Requisite" instead of "RequisiteOverridable" in systemd
139
 
   service file.
140
 
 
141
 
Version 1.7.13 (2016-10-08)
142
 
* Client
143
 
** Minor bug fix: Don't ask for passphrase or fail when generating
144
 
   keys using GnuPG 2.1 in a chrooted environment.
145
 
 
146
 
Version 1.7.12 (2016-10-05)
147
 
* Client
148
 
** Bug fix: Don't crash after exit() when using DH parameters file
149
 
 
150
 
Version 1.7.11 (2016-10-01)
151
 
* Client
152
 
** Security fix: Don't compile with AddressSanitizer
153
 
* Server
154
 
** Bug fix: Find GnuTLS library when gnutls28-dev is not installed
155
 
** Bug fix: Include "Expires" and "Last Checker Status" in mandos-ctl
156
 
   verbose output
157
 
** New option for mandos-ctl: --dump-json
158
 
 
159
 
Version 1.7.10 (2016-06-23)
160
 
* Client
161
 
** Security fix: restrict permissions of /etc/mandos/plugin-helpers
162
 
* Server
163
 
** Bug fix: Make the --interface flag work with Python 2.7 when "cc"
164
 
   is not installed
165
 
 
166
 
Version 1.7.9 (2016-06-22)
167
 
* Client
168
 
** Do not include intro(8mandos) man page
169
 
 
170
 
Version 1.7.8 (2016-06-21)
171
 
* Client
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
176
 
* Server
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
180
 
 
181
 
Version 1.7.7 (2016-03-19)
182
 
* Client
183
 
** Fix bug in Plymouth client, broken since 1.7.2
184
 
 
185
 
Version 1.7.6 (2016-03-13)
186
 
* Server
187
 
** Fix bug where stopping server would time out
188
 
** Make server runnable with Python 3
189
 
 
190
 
Version 1.7.5 (2016-03-08)
191
 
* Server
192
 
** Fix security restrictions in systemd service file.
193
 
** Work around bug where stopping server would time out
194
 
 
195
 
Version 1.7.4 (2016-03-05)
196
 
* Client
197
 
** Bug fix: Tolerate errors from configure_networking (Debian Bug
198
 
   #816513)
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.
202
 
* Server
203
 
** Add extra security restrictions in systemd service file.
204
 
 
205
 
Version 1.7.3 (2016-02-29)
206
 
* Client
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.
210
 
 
211
 
Version 1.7.2 (2016-02-28)
212
 
* Server
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.
216
 
* Client
217
 
** Compile with various sanitizing flags.
218
 
 
219
 
Version 1.7.1 (2015-10-24)
220
 
* Client
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
223
 
   server is on.
224
 
 
225
 
Version 1.7.0 (2015-08-10)
226
 
* Server
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.
235
 
* Client
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
243
 
   the PGP key.
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.
248
 
 
249
 
Version 1.6.9 (2014-10-05)
250
 
* Server
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.)
253
 
 
254
 
Version 1.6.8 (2014-08-06)
255
 
* Client
256
 
** Bug fix: mandos-keygen now generates working SSH checker commands.
257
 
* Server
258
 
** Bug fix: "mandos-monitor" now really redraws screen on Ctrl-L.
259
 
** Now requires Python 2.7.
260
 
 
261
 
Version 1.6.7 (2014-07-17)
262
 
* Client
263
 
** Bug fix: Now compatible with GPGME 1.5.0.
264
 
** Bug fix: Fixed minor memory leaks.
265
 
* Server
266
 
** "mandos-monitor" now has verbose logging, toggleable with "v".
267
 
 
268
 
Version 1.6.6 (2014-07-13)
269
 
* Client
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.
275
 
* Server
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.
279
 
 
280
 
Version 1.6.5 (2014-05-11)
281
 
* Client
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.
286
 
 
287
 
Version 1.6.4 (2014-02-16)
288
 
* Server
289
 
** Very minor fix to self-test code.
290
 
 
291
 
Version 1.6.3 (2014-01-21)
292
 
* Server
293
 
** Add systemd support.
294
 
** For PID file, fall back to /var/run if /run does not exist.
295
 
* Client
296
 
** Moved files from /usr/lib/mandos to whatever the architecture
297
 
   specifies, like /usr/lib/x86_64-linux-gnu/mandos or
298
 
   /usr/lib64/mandos.
299
 
 
300
 
Version 1.6.2 (2013-10-24)
301
 
* Server
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.
306
 
* Client
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.
310
 
 
311
 
Version 1.6.1 (2013-10-13)
312
 
* Server
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
317
 
   foreground.
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.
326
 
* Client
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.
330
 
 
331
 
Version 1.6.0 (2012-06-18)
332
 
* Server
333
 
** Takes new --foreground option
334
 
** Init script supports new "status" action.
335
 
* Client
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.
340
 
 
341
 
Version 1.5.5 (2012-06-01)
342
 
* Server
343
 
** Server takes new --socket option
344
 
 
345
 
Version 1.5.4 (2012-05-20)
346
 
* Server
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
350
 
   is given.
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.
356
 
 
357
 
Version 1.5.3 (2012-01-15)
358
 
* Server
359
 
** Add D-Bus property se.recompile.Client.LastCheckerStatus and use it
360
 
   in mandos-monitor.
361
 
* Client
362
 
** Fix bugs in the example "bridge" network hook.
363
 
 
364
 
Version 1.5.2 (2012-01-08)
365
 
* Server
366
 
** Removed D-Bus signal se.recompile.Mandos.NewRequest() added in
367
 
   1.5.0.  It was buggy and was of questionable utility.
368
 
 
369
 
Version 1.5.1 (2012-01-01)
370
 
* Server
371
 
** Include intro(8mandos) manual page, missing since migration from
372
 
   README file in version 1.4.0.
373
 
 
374
 
Version 1.5.0 (2012-01-01)
375
 
* Client
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.
381
 
* Server
382
 
** Persistent state.  Client state is now saved between server
383
 
   restarts.
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
388
 
   "ExtendedTimeout".
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).
392
 
 
393
4
Version 1.4.1 (2011-10-15)
394
5
* Server
395
6
** Make D-Bus properties settable again, and handle checkers