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