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