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