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