/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk
229 by Teddy Hogeborn
* Makefile (version): Changed to "1.0.1".
1
This NEWS file records noteworthy changes, very tersely.
2
See the manual for detailed information.
3
237.4.92 by Teddy Hogeborn
* Makefile (version): Change to 1.7.16.
4
Version 1.7.16 (2017-08-20)
5
* Client
6
** Bug fix: ignore "resumedev" entries in initramfs' cryptroot file
7
** Bug fix in plymouth plugin: fix memory leak, avoid warning output
8

237.4.90 by Teddy Hogeborn
* Makefile (version): Change to 1.7.15.
9
Version 1.7.15 (2017-02-23)
10
* Server
11
** Bug fix: Respect the mandos.conf "zeroconf" and "restore" options
12
* Client
13
** Bug fix in mandos-keygen: Handle backslashes in passphrases
14

237.4.88 by Teddy Hogeborn
* Makefile (version): Change to 1.7.14.
15
Version 1.7.14 (2017-01-25)
16
* Server
17
** Use "Requisite" instead of "RequisiteOverridable" in systemd
18
   service file.
19

237.4.86 by Teddy Hogeborn
* Makefile (version): Change to 1.7.13.
20
Version 1.7.13 (2016-10-08)
21
* Client
22
** Minor bug fix: Don't ask for passphrase or fail when generating
23
   keys using GnuPG 2.1 in a chrooted environment.
24

237.4.84 by Teddy Hogeborn
* Makefile (version): Change to 1.7.12.
25
Version 1.7.12 (2016-10-05)
26
* Client
27
** Bug fix: Don't crash after exit() when using DH parameters file
28

237.4.82 by Teddy Hogeborn
* Makefile (version): Change to 1.7.11.
29
Version 1.7.11 (2016-10-01)
30
* Client
31
** Security fix: Don't compile with AddressSanitizer
32
* Server
33
** Bug fix: Find GnuTLS library when gnutls28-dev is not installed
34
** Bug fix: Include "Expires" and "Last Checker Status" in mandos-ctl
35
   verbose output
36
** New option for mandos-ctl: --dump-json
37

237.4.80 by Teddy Hogeborn
* Makefile (version): Change to 1.7.10.
38
Version 1.7.10 (2016-06-23)
39
* Client
40
** Security fix: restrict permissions of /etc/mandos/plugin-helpers
41
* Server
42
** Bug fix: Make the --interface flag work with Python 2.7 when "cc"
43
   is not installed
44

237.4.78 by Teddy Hogeborn
* Makefile (version): Change to 1.7.9.
45
Version 1.7.9 (2016-06-22)
46
* Client
47
** Do not include intro(8mandos) man page
48

237.4.76 by Teddy Hogeborn
* Makefile (version): Change to 1.7.8.
49
Version 1.7.8 (2016-06-21)
50
* Client
51
** Include intro(8mandos) man page
52
** mandos-keygen: Use ECDSA SSH keys by default
53
** Bug fix: Work with GnuPG 2 when booting (Debian bug #819982)
54
   by copying /usr/bin/gpg-agent into initramfs
55
* Server
56
** Bug fix: Work with GnuPG 2 (don't use --no-use-agent option)
57
** Bug fix: Make the --interface option work when using Python 2.7
58
   by trying harder to find SO_BINDTODEVICE
59

237.4.73 by Teddy Hogeborn
* Makefile (version): Changed to "1.7.7".
60
Version 1.7.7 (2016-03-19)
61
* Client
62
** Fix bug in Plymouth client, broken since 1.7.2
63

237.4.71 by Teddy Hogeborn
Update version number to 1.7.6
64
Version 1.7.6 (2016-03-13)
65
* Server
66
** Fix bug where stopping server would time out
67
** Make server runnable with Python 3
68

237.4.69 by Teddy Hogeborn
Update version number to 1.7.5
69
Version 1.7.5 (2016-03-08)
70
* Server
71
** Fix security restrictions in systemd service file.
72
** Work around bug where stopping server would time out
73

237.4.67 by Teddy Hogeborn
* Makefile (version): Changed to "1.7.4".
74
Version 1.7.4 (2016-03-05)
75
* Client
76
** Bug fix: Tolerate errors from configure_networking (Debian Bug
77
   #816513)
78
** Compilation: Only use sanitizing options which work with the
79
   compiler used when building.  This should fix compilation with GCC
80
   4.9 on mips, mipsel, and s390x.
81
* Server
82
** Add extra security restrictions in systemd service file.
83

237.4.65 by Teddy Hogeborn
* Makefile (version): Changed to "1.7.3".
84
Version 1.7.3 (2016-02-29)
85
* Client
86
** Bug fix: Remove new type of keyring directory user by GnuPG 2.1.
87
** Bug fix: Remove "nonnull" attribute from a function argument, which
88
   would otherwise generate a spurious runtime warning.
89

237.4.63 by Teddy Hogeborn
* Makefile (version): Changed to "1.7.2".
90
Version 1.7.2 (2016-02-28)
91
* Server
92
** Stop using python-gnutls library; it was not updated to GnuTLS 3.3.
93
** Bug fix: Only send D-Bus signal ClientRemoved if using D-Bus.
94
** Use GnuPG 2 if available.
95
* Client
96
** Compile with various sanitizing flags.
97

237.4.59 by Teddy Hogeborn
* Makefile (version): Changed to "1.7.1".
98
Version 1.7.1 (2015-10-24)
99
* Client
100
** Bug fix: Can now really find Mandos server even if the server has
101
   an IPv6 address on a network other than the one which the Mandos
102
   server is on.
103

237.4.57 by Teddy Hogeborn
* Makefile (version): Changed to "1.7.0".
104
Version 1.7.0 (2015-08-10)
105
* Server
106
** Bug fix: Handle local Zeroconf service name collisions better.
107
** Bug fix: Finally fix "ERROR: Child process vanished" bug.
108
** Bug fix: Fix systemd service file to start server correctly.
109
** Bug fix: Be compatible with old 2048-bit DSA keys.
110
** The D-Bus API now provides the standard D-Bus ObjectManager
111
   interface, and deprecates older functionality.  See the DBUS-API
112
   file for the currently recommended API.  Note: the original API
113
   still works, but is deprecated.
114
* Client
115
** Can now find Mandos server even if the server has an IPv6 address
116
   on a network without IPv6 Router Advertisment (like if the Mandos
117
   client itself is the router, or there is an IPv6 router advertising
118
   a network other than the one which the Mandos server is on.)
119
** Use a better value than 1024 for the default number of DH bits.
120
   This better value is either provided by a DH parameters file (see
121
   below) or an appropriate number of DH bits is determined based on
122
   the PGP key.
123
** Bug fix: mandos-keygen now generates correct output for the
124
   "Checker" variable even if the SSH server on the Mandos client has
125
   multiple SSH key types.
126
** Can now use pre-generated Diffie-Hellman parameters from a file.
127

237.4.55 by Teddy Hogeborn
* Makefile (version): Changed to "1.6.9".
128
Version 1.6.9 (2014-10-05)
129
* Server
130
** Changed to emit standard D-Bus signal when D-Bus properties change.
131
   (The old signal is still emitted too, but marked as deprecated.)
132

237.4.53 by Teddy Hogeborn
* Makefile (version): Changed to "1.6.8".
133
Version 1.6.8 (2014-08-06)
134
* Client
135
** Bug fix: mandos-keygen now generates working SSH checker commands.
136
* Server
137
** Bug fix: "mandos-monitor" now really redraws screen on Ctrl-L.
138
** Now requires Python 2.7.
139

237.4.51 by Teddy Hogeborn
* Makefile (version): Changed to "1.6.7".
140
Version 1.6.7 (2014-07-17)
141
* Client
142
** Bug fix: Now compatible with GPGME 1.5.0.
143
** Bug fix: Fixed minor memory leaks.
144
* Server
145
** "mandos-monitor" now has verbose logging, toggleable with "v".
146

237.4.49 by Teddy Hogeborn
* Makefile (version): Changed to "1.6.6".
147
Version 1.6.6 (2014-07-13)
148
* Client
149
** If client host has an SSH server, "mandos-keygen --password" now
150
   outputs "checker" option which uses "ssh-keyscan"; this is more
151
   secure than the default "fping" checker.
152
** Bug fix: allow "." in network hook names, to match documentation.
153
** Better error messages.
154
* Server
155
** New --no-zeroconf option.
156
** Bug fix: Fix --servicename option, broken since 1.6.4.
157
** Bug fix: Fix --socket option work for --socket=0.
158

237.4.43 by Teddy Hogeborn
* Makefile (version): Changed to "1.6.5".
159
Version 1.6.5 (2014-05-11)
160
* Client
161
** Work around bug in GnuPG <http://bugs.g10code.com/gnupg/issue1622>
162
** Give better error messages when run without sufficient privileges
163
** Only warn if workaround for Debian bug #633582 was necessary and
164
   failed, not if it failed and was unnecessary.
165

237.4.41 by Teddy Hogeborn
* Makefile (version): Changed to "1.6.4".
166
Version 1.6.4 (2014-02-16)
167
* Server
168
** Very minor fix to self-test code.
169

237.4.39 by Teddy Hogeborn
* Makefile (version): Changed to "1.3.2".
170
Version 1.6.3 (2014-01-21)
171
* Server
172
** Add systemd support.
173
** For PID file, fall back to /var/run if /run does not exist.
174
* Client
175
** Moved files from /usr/lib/mandos to whatever the architecture
176
   specifies, like /usr/lib/x86_64-linux-gnu/mandos or
177
   /usr/lib64/mandos.
178

237.4.37 by Teddy Hogeborn
* Makefile (version): Changed to "1.6.2".
179
Version 1.6.2 (2013-10-24)
180
* Server
181
** PID file moved from /var/run to /run.
182
** Bug fix: Handle long secrets when saving client state.
183
** Bug fix: Use more magic in the GnuTLS priority string to handle
184
   both old DSA/ELG 2048-bit keys and new RSA/RSA 4096-bit keys.
185
* Client
186
** mandos-keygen: Bug fix: now generate RSA keys which GnuTLS can use.
187
   		  Bug fix: Output passphrase prompts even when
188
   		  redirecting standard output.
189

237.4.35 by Teddy Hogeborn
* Makefile (version): Changed to "1.6.1".
190
Version 1.6.1 (2013-10-13)
191
* Server
192
** All client options for time intervals now also take an RFC 3339
193
   duration.  The same for all options to mandos-ctl.
194
** Bug fix: Handle fast checkers (like ":") correctly.
195
** Bug fix: Don't print output from checkers when running in
196
   foreground.
197
** Bug fix: Do not fail when client is removed from clients.conf but
198
   saved settings remain.
199
** Bug fix: mandos-monitor now displays standout (reverse video) again
200
   using new version of Urwid.
201
** Bug fix: Make boolean options work from the config file again.
202
** Bug fix: Make --no-ipv6 work again.
203
** New default priority string to be slightly more compatible with
204
   older versions of GnuTLS.
205
* Client
206
** Bug fix: Fix bashism in mandos-keygen.
207
** Default key and subkey types are now RSA and RSA, respectively.
208
   Also, new default key size is 4096 bits.
209

237.4.33 by Teddy Hogeborn
* Makefile (version): Changed to "1.6.0".
210
Version 1.6.0 (2012-06-18)
211
* Server
212
** Takes new --foreground option
213
** Init script supports new "status" action.
214
* Client
215
** Now uses all interfaces by default; the --interface option can
216
   still be used to restrict it, and the argument to --interface (as
217
   well as the $DEVICE environment variable for the network hooks) is
218
   now a comma-separated list of interfaces to use.
219

237.4.32 by Teddy Hogeborn
* Makefile (version): Changed to "1.5.5".
220
Version 1.5.5 (2012-06-01)
221
* Server
222
** Server takes new --socket option
223

237.4.31 by Teddy Hogeborn
* Makefile (version): Changed to "1.5.4".
224
Version 1.5.4 (2012-05-20)
225
* Server
226
** Bug fix: Regression fix: Make non-zero approval timeout values work.
227
** Bug fix: Regression fix: Allow changing the Timeout D-Bus property.
228
** Fall back to not bind to an interface if an invalid interface name
229
   is given.
230
** Removed support for undocumented feature of using plain "%%s" in
231
   "checker" client option.
232
** Old D-Bus interface are now marked as deprecated.
233
** mandos-monitor: Bug fix: show approval timers correctly.
234
** mandos-ctl: Show "Extended Timeout" correctly, not as milliseconds.
235

237.4.28 by Teddy Hogeborn
* Makefile (version): Changed to "1.5.3".
236
Version 1.5.3 (2012-01-15)
237
* Server
238
** Add D-Bus property se.recompile.Client.LastCheckerStatus and use it
239
   in mandos-monitor.
240
* Client
241
** Fix bugs in the example "bridge" network hook.
242

237.4.26 by Teddy Hogeborn
* Makefile (version): Changed to "1.5.2".
243
Version 1.5.2 (2012-01-08)
244
* Server
245
** Removed D-Bus signal se.recompile.Mandos.NewRequest() added in
246
   1.5.0.  It was buggy and was of questionable utility.
247

237.4.24 by Teddy Hogeborn
* Makefile (version): Changed to "1.5.1".
248
Version 1.5.1 (2012-01-01)
249
* Server
250
** Include intro(8mandos) manual page, missing since migration from
251
   README file in version 1.4.0.
252

237.4.22 by Teddy Hogeborn
* Makefile (version): Changed to "1.5.0".
253
Version 1.5.0 (2012-01-01)
254
* Client
255
** Network hooks.  The Mandos client can now run custom scripts to take
256
   up a network interface before the client is run.  Three example
257
   scripts are provided: "wireless", "openvpn", and "bridge".
258
   To facilitate this, the client now prefers network interfaces which
259
   are up (if any) over all other interfaces.
260
* Server
261
** Persistent state.  Client state is now saved between server
262
   restarts.
263
** clients.conf file can now contain "enabled" setting for clients.
264
** Bug fix: Fix rare crash bug.
265
** Bug fix: Send corrent D-Bus type in PropertyChanged for
266
   "ApprovalDelay", "ApprovalDuration", "Timeout", and
267
   "ExtendedTimeout".
268
** mandos-ctl: Bare numbers as arguments are taken to be milliseconds.
269
** Bug fix: mandos-ctl --secret option now works.
270
** New D-Bus signal: se.recompile.Mandos.NewRequest(s).
271

237.4.20 by Björn Påhlsson
* Makefile (version): Changed to "1.4.1".
272
Version 1.4.1 (2011-10-15)
273
* Server
274
** Make D-Bus properties settable again, and handle checkers
275
   for disabled clients correctly.
276
* Miscellaneous fixes to "pedantic" Lintian warnings
277

237.4.18 by Teddy Hogeborn
* Makefile (version): Changed to "1.4.0".
278
Version 1.4.0 (2011-10-09)
279
* README file migrated to manual page intro(8mandos).
280
* Client:
281
** Fixed warning about "rmdir: Directory not empty".
282
* Server:
283
** Default values changed: timeout 5 minutes, interval 2 minutes.
284
** Clients gets an expiration extension when receiving a password,
285
   controlled by new "extended_timeout" setting.
286
** New domain name: "fukt.bsnet.se" changes to "recompile.se".  This
287
   also affects the D-Bus bus and interface names (old names still
288
   work).  Users should start using the new names immediately.
289
** New D-Bus Client object properties "Expires" and "ExtendedTimeout";
290
   see DBUS-API for details.
291

237.4.16 by Teddy Hogeborn
* Makefile (version): Changed to "1.3.1".
292
Version 1.3.1 (2011-07-27)
293
* Client:
294
** Client now retries all Mandos servers periodically.
295
** Work around Debian bug #633582 - fixes "Permission denied" problem.
296

237.4.14 by Teddy Hogeborn
* Makefile (version): Changed to "1.3.0".
297
Version 1.3.0 (2011-03-08)
298
* Server:
299
** Updated for Python 2.6.
300
* Client:
301
** Bug fix: Make the password-prompt plugin not conflict with
302
   Plymouth.
303
** Bug fix: Bug fix: update initramfs also when purging package.
304

237.4.12 by Teddy Hogeborn
* Makefile (version): Changed to "1.2.3".
305
Version 1.2.3 (2010-10-11)
306
* Server:
307
** Bug fix: Expose D-Bus API also in non-debug mode.
308

237.4.10 by Teddy Hogeborn
* Makefile (version): Changed to "1.2.2".
309
Version 1.2.2 (2010-10-07)
310
* Client:
311
** splashy: Minor fix to compile with non-Linux kernels.
312

237.4.4 by Björn Påhlsson
* Makefile (version): Changed to "1.2.1".
313
Version 1.2.1 (2010-10-02)
314
* Server:
315
** mandos-monitor(8): Documentation bug fix: Key for removing client
316
   is "R", not "r".
317

237.4.2 by Teddy Hogeborn
* Makefile (version): Changed to "1.2".
318
Version 1.2 (2010-09-28)
319
* Client:
320
** New "plymouth" plugin to ask for a password using the Plymouth
321
   graphical boot system.
322
** The Mandos client now automatically chooses a network interface if
323
   the DEVICE setting in /etc/initramfs-tools/initramfs.conf is set to
324
   the empty string.  This is also the new default instead of "eth0".
325
** The Mandos client --connect option now loops indefinitely until a
326
   password is received from the specified server.
327
** Bug fix: Quote directory correctly in mandos-keygen with --password
328
** Bug fix: don't use "echo -e" in mandos-keygen; unsupported by dash.
329
* Server:
330
** Terminology change: clients are now "ENABLED" or "DISABLED", not
331
   "valid" or "invalid".
332
** New D-Bus API; see the file "DBUS-API".
333
** New control utilities using the new D-Bus API:
334
   + mandos-ctl		       A command-line based utility
335
   + mandos-monitor	       A text-based GUI interface
336
** New feature: manual interactive approval or denying of clients on a
337
   case-by-case basis.
338
** New --debuglevel option to control logging
339
** Will not write PID file if --debug is passed
340
** Bug fix: Avoid race conditions with short "interval" values or
341
   fast checkers.
342
** Bug fix: Don't try to bind to a network interface when none is
343
   specified
344

237.2.32 by Teddy Hogeborn
* Makefile (version): Changed to "1.0.14".
345
Version 1.0.14 (2009-10-25)
346
Enable building without -pie and -fPIE if BROKEN_PIE is set.
347

237.2.30 by Teddy Hogeborn
* Makefile (version): Changed to "1.0.13".
348
Version 1.0.13 (2009-10-22)
349
* Client
350
** Security bug fix: If Mandos server is also installed, do not copy
351
   its config files (with encrypted passwords) into the initrd.img-*
352
   files.
353

237.2.28 by Teddy Hogeborn
* Makefile (version): Changed to "1.0.12".
354
Version 1.0.12 (2009-09-17)
355
* Client
356
** Bug fix: Allow network interface renaming by "udev" by taking down
357
   the network interface after using it.
358
** Bug fix: User-supplied plugins are now installed correctly.
359
** Bug fix: If usplash was used but the password was instead provided
360
   by the Mandos server, the usplash daemon used to ignore the first
361
   command passed to it.  This has been fixed.
362
** Bug fix: Make the "--userid" and "--groupid" options in
363
   "plugin-runner.conf" work.
364
* Server
365
** Bug fix: Fix the LSB header in the init.d script to make dependency
366
   based booting work.
367
** A client receiving its password now also counts as if a checker was
368
   run successfully (i.e. the timeout timer is reset).
369

237.2.26 by Teddy Hogeborn
* Makefile (version): Changed to "1.0.11".
370
Version 1.0.11 (2009-05-23)
371
* Client
372
** Bug fix: Use "pkg-config" instead of old "libgnutls-config".
373

237.2.23 by Teddy Hogeborn
* Makefile (version): Changed to "1.0.10".
374
Version 1.0.10 (2009-05-17)
375
* Client
376
** Security bug fix: Fix permissions on initrd.img-*.bak files when
377
   upgrading from older versions.
378

237.2.20 by Teddy Hogeborn
* Makefile (version): Changed to "1.0.9".
379
Version 1.0.9 (2009-05-17)
380
* Client
381
** Security bug fix: Fix permissions on initrd.img file when
382
   installing new linux-image-* packages calling mkinitramfs-kpkg (all
383
   version lower than 2.6.28-1-* does this).
384

237.2.18 by Teddy Hogeborn
* Makefile (version): Changed to "1.0.8".
385
Version 1.0.8 (2009-02-25)
386
* Client
387
** Bug fix: Fix missing quote characters in initramfs-tools-hook.
388

237.2.16 by Teddy Hogeborn
* Makefile (version): Changed to "1.0.7".
389
Version 1.0.7 (2009-02-24)
390
* Client
391
** Bug fix: Do not depend on GNU awk.
392

237.2.14 by Teddy Hogeborn
* Makefile (version): Changed to "1.0.6".
393
Version 1.0.6 (2009-02-13)
394
* Server
395
** Fix bug where server would stop responding, with a zombie checker
396
** Support for disabling IPv6 (only for advanced users)
397
** Fix bug which made server not change group ID
398
399
* Client
400
** Bug fix: Fix permission for /lib64 (on relevant architechtures).
401
** Add support for IPv4 addresses.
402
** Add support in mandos-client for not bringing up a network
403
   interface by specifying an empty string to "--interface".
404
** Make password prompt on boot not be mangled by kernel log messages
405
   about network interface.
406
** Get network interface from initramfs.conf and/or from kernel
407
   command line.
408
** If set by "ip=" kernel command line, configure network on boot.
409
** Support connecting directly using "mandos=connect" kernel command.
410
   line option, provided network is configured using "ip=".
411
** Fix bug which made plugin-runner and mandos-client not change group
412
   ID.
413
** Fix bug where the "--options-for" option of plugin-runner would
414
   truncate the value at the first colon character.
415
** Fix bug where plugin-runner would not go to fallback if all plugins
416
   failed.
417
** Fix bug where mandos-client would not clean temporary directory on
418
   a signal or on certain file systems.
419
** Bug fix: remove bashism in /bin/sh script "mandos-keygen".
420

237.2.11 by Teddy Hogeborn
* Makefile (version): Changed to "1.0.5".
421
Version 1.0.5 (2009-01-17)
422
* Client
423
** Fix small memory leak in plugin-runner.
424

237.2.9 by Teddy Hogeborn
* debian/changelog (1.0.4-1): New entry.
425
Version 1.0.4 (2009-01-15)
426
* Server
427
** Only find matched user/group pairs when searching for suitable
428
   nonprivileged user/group to switch to.
429
430
* Client
431
** New kernel parameter "mandos=off" makes client not run at boot.
432
** Fix linking errors and compilation warnings on AMD64.
433
** Parse numbers in command line options better.
434
** The splashy and usplash plugins are more robust while traversing
435
   /proc, and will not abort if a process suddenly disappears.
436

237.2.2 by Teddy Hogeborn
* Makefile (version): Changed to "1.0.3".
437
Version 1.0.3 (2009-01-06)
438
* Server
439
** Now tries to change to user and group "_mandos" before falling back
440
   to trying the old values "mandos", "nobody:nogroup", and "65534".
441
** Now does not abort on startup even if no clients are defined in
442
   clients.conf.
443
444
* Client
445
** Plugins named "*.dpkg-bak" are now ignored.
446
** Hopefully fixed compilation failure on some architectures where the
447
   C compiler does not recognize the "-z" option as a linker option.
448

232 by Teddy Hogeborn
* Makefile (version): Changed to "1.0.2".
449
Version 1.0.2 (2008-10-17)
450
* mandos-keygen now signs the encrypted key blobs.  This signature is
451
  not currently verified by mandos-client, but this may change in the
452
  future.
453

229 by Teddy Hogeborn
* Makefile (version): Changed to "1.0.1".
454
Version 1.0.1 (2008-10-07)
455
* Server
456
** Expand environment variables and ~user in clients.conf's "secfile"
457
   The "secfile" option in /etc/mandos/clients.conf now expands
458
   "~user/foo" and "$ENVVAR" strings.
459
460
* Client (plugin-runner, plugins, etc.)
461
** Manual pages for the usplash, splashy, and askpass-fifo plugins.
462
   All plugins now have man pages.
463
** More secure compilation and linking flags.
464
   All programs are now compiled with "-fstack-protector-all -fPIE
465
   -pie", and linked using "-z relro -pie" for additional security.
466
467
* There is now a "NEWS" file (this one), giving a history of
468
  noteworthy changes.