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