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