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