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