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