/mandos/release

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