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