/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Teddy Hogeborn
  • Date: 2018-02-18 01:14:23 UTC
  • Revision ID: teddy@recompile.se-20180218011423-twxv4clb7wvm9fof
Remove dead code.

* plugins.d/mandos-client.d (main/clean_dir_at): Remove dead code.

Show diffs side-by-side

added added

removed removed

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