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