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