1
 
This NEWS file records noteworthy changes, very tersely.
 
2
 
See the manual for detailed information.
 
4
 
Version 1.7.7 (2016-03-19)
 
6
 
** Fix bug in Plymouth client, broken since 1.7.2
 
8
 
Version 1.7.6 (2016-03-13)
 
10
 
** Fix bug where stopping server would time out
 
11
 
** Make server runnable with Python 3
 
13
 
Version 1.7.5 (2016-03-08)
 
15
 
** Fix security restrictions in systemd service file.
 
16
 
** Work around bug where stopping server would time out
 
18
 
Version 1.7.4 (2016-03-05)
 
20
 
** Bug fix: Tolerate errors from configure_networking (Debian Bug
 
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.
 
26
 
** Add extra security restrictions in systemd service file.
 
28
 
Version 1.7.3 (2016-02-29)
 
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.
 
34
 
Version 1.7.2 (2016-02-28)
 
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.
 
40
 
** Compile with various sanitizing flags.
 
42
 
Version 1.7.1 (2015-10-24)
 
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
 
48
 
Version 1.7.0 (2015-08-10)
 
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.
 
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
 
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.
 
72
 
Version 1.6.9 (2014-10-05)
 
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.)
 
77
 
Version 1.6.8 (2014-08-06)
 
79
 
** Bug fix: mandos-keygen now generates working SSH checker commands.
 
81
 
** Bug fix: "mandos-monitor" now really redraws screen on Ctrl-L.
 
82
 
** Now requires Python 2.7.
 
84
 
Version 1.6.7 (2014-07-17)
 
86
 
** Bug fix: Now compatible with GPGME 1.5.0.
 
87
 
** Bug fix: Fixed minor memory leaks.
 
89
 
** "mandos-monitor" now has verbose logging, toggleable with "v".
 
91
 
Version 1.6.6 (2014-07-13)
 
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.
 
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.
 
103
 
Version 1.6.5 (2014-05-11)
 
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.
 
110
 
Version 1.6.4 (2014-02-16)
 
112
 
** Very minor fix to self-test code.
 
114
 
Version 1.6.3 (2014-01-21)
 
116
 
** Add systemd support.
 
117
 
** For PID file, fall back to /var/run if /run does not exist.
 
119
 
** Moved files from /usr/lib/mandos to whatever the architecture
 
120
 
   specifies, like /usr/lib/x86_64-linux-gnu/mandos or
 
123
 
Version 1.6.2 (2013-10-24)
 
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.
 
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.
 
134
 
Version 1.6.1 (2013-10-13)
 
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
 
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.
 
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.
 
154
 
Version 1.6.0 (2012-06-18)
 
156
 
** Takes new --foreground option
 
157
 
** Init script supports new "status" action.
 
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.
 
164
 
Version 1.5.5 (2012-06-01)
 
166
 
** Server takes new --socket option
 
168
 
Version 1.5.4 (2012-05-20)
 
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
 
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.
 
180
 
Version 1.5.3 (2012-01-15)
 
182
 
** Add D-Bus property se.recompile.Client.LastCheckerStatus and use it
 
185
 
** Fix bugs in the example "bridge" network hook.
 
187
 
Version 1.5.2 (2012-01-08)
 
189
 
** Removed D-Bus signal se.recompile.Mandos.NewRequest() added in
 
190
 
   1.5.0.  It was buggy and was of questionable utility.
 
192
 
Version 1.5.1 (2012-01-01)
 
194
 
** Include intro(8mandos) manual page, missing since migration from
 
195
 
   README file in version 1.4.0.
 
197
 
Version 1.5.0 (2012-01-01)
 
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.
 
205
 
** Persistent state.  Client state is now saved between server
 
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
 
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).
 
216
 
Version 1.4.1 (2011-10-15)
 
218
 
** Make D-Bus properties settable again, and handle checkers
 
219
 
   for disabled clients correctly.
 
220
 
* Miscellaneous fixes to "pedantic" Lintian warnings
 
222
 
Version 1.4.0 (2011-10-09)
 
223
 
* README file migrated to manual page intro(8mandos).
 
225
 
** Fixed warning about "rmdir: Directory not empty".
 
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.
 
236
 
Version 1.3.1 (2011-07-27)
 
238
 
** Client now retries all Mandos servers periodically.
 
239
 
** Work around Debian bug #633582 - fixes "Permission denied" problem.
 
241
 
Version 1.3.0 (2011-03-08)
 
243
 
** Updated for Python 2.6.
 
245
 
** Bug fix: Make the password-prompt plugin not conflict with
 
247
 
** Bug fix: Bug fix: update initramfs also when purging package.
 
249
 
Version 1.2.3 (2010-10-11)
 
251
 
** Bug fix: Expose D-Bus API also in non-debug mode.
 
253
 
Version 1.2.2 (2010-10-07)
 
255
 
** splashy: Minor fix to compile with non-Linux kernels.
 
257
 
Version 1.2.1 (2010-10-02)
 
259
 
** mandos-monitor(8): Documentation bug fix: Key for removing client
 
262
 
Version 1.2 (2010-09-28)
 
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.
 
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
 
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
 
286
 
** Bug fix: Don't try to bind to a network interface when none is
 
289
 
Version 1.0.14 (2009-10-25)
 
290
 
Enable building without -pie and -fPIE if BROKEN_PIE is set.
 
292
 
Version 1.0.13 (2009-10-22)
 
294
 
** Security bug fix: If Mandos server is also installed, do not copy
 
295
 
   its config files (with encrypted passwords) into the initrd.img-*
 
298
 
Version 1.0.12 (2009-09-17)
 
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.
 
309
 
** Bug fix: Fix the LSB header in the init.d script to make dependency
 
311
 
** A client receiving its password now also counts as if a checker was
 
312
 
   run successfully (i.e. the timeout timer is reset).
 
314
 
Version 1.0.11 (2009-05-23)
 
316
 
** Bug fix: Use "pkg-config" instead of old "libgnutls-config".
 
318
 
Version 1.0.10 (2009-05-17)
 
320
 
** Security bug fix: Fix permissions on initrd.img-*.bak files when
 
321
 
   upgrading from older versions.
 
323
 
Version 1.0.9 (2009-05-17)
 
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).
 
329
 
Version 1.0.8 (2009-02-25)
 
331
 
** Bug fix: Fix missing quote characters in initramfs-tools-hook.
 
333
 
Version 1.0.7 (2009-02-24)
 
335
 
** Bug fix: Do not depend on GNU awk.
 
337
 
Version 1.0.6 (2009-02-13)
 
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
 
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
 
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
 
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
 
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".
 
365
 
Version 1.0.5 (2009-01-17)
 
367
 
** Fix small memory leak in plugin-runner.
 
369
 
Version 1.0.4 (2009-01-15)
 
371
 
** Only find matched user/group pairs when searching for suitable
 
372
 
   nonprivileged user/group to switch to.
 
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.
 
381
 
Version 1.0.3 (2009-01-06)
 
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
 
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.
 
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
 
398
 
Version 1.0.1 (2008-10-07)
 
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.
 
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.
 
411
 
* There is now a "NEWS" file (this one), giving a history of