/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: 2009-10-24 19:17:52 UTC
  • Revision ID: teddy@fukt.bsnet.se-20091024191752-7g6xlf6wpp2pdexb
Convert some programs to use the exit codes from <sysexits.h>.  Change
all programs using the "argp" parsing functions to use them correctly;
checking return value, using argp_error() to report parse errors etc.

* plugin-runner.c: Use <sysexits.h> exit codes.  Always use fallback,
                   even on option errors, except for "--help", etc.
  (getplugin): Make sure "errno" is set correctly on return.
  (main): Declare our own "--help", "--usage", and "--version"
          options which do not cause the fallback to be invoked.
          In all other options, use fallback on any error.
  (parse_opt, parse_opt_config_file): Reset errno at start and return
                                      errno.  No need to check "arg"
                                      for NULL.  New "--help",
                                      "--usage", and "--version"
                                      options.
  (parse_opt): Accept empty string as global option.  Do not print
               errors which will be detected and reported later.  Do
               "argp_error()" on parse error or empty plugin names.
* plugins.d/mandos-client.c: Use <sysexits.h> exit codes.  Do not
                             return successful exit code on "--help",
                             etc. since this would give the wrong
                             message to "plugin-runner".
  (main): Declare our own "--help", "--usage", and "--version"
          options which do not return a successful exit code.
  (parse_opt): Reset errno at start and return errno.  Do
               "argp_error()" on parse errors.  New "--help",
               "--usage", and "--version" options.
* plugins.d/password-prompt.c: Use exit codes from <sysexits.h>.  Do
                               not return successful exit code on
                               "--help", etc. since this would give
                               the wrong message to "plugin-runner".
  (main): Declare our own "--help", "--usage", and "--version" options
          which do not return a successful exit code.  Do
          close(STDOUT_FILENO) after writing to check its return code.
  (parse_opt): Reset errno at start and return errno.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
This NEWS file records noteworthy changes, very tersely.
2
2
See the manual for detailed information.
3
3
 
4
 
Version 1.2.3 (2010-10-11)
5
 
* Server:
6
 
** Bug fix: Expose D-Bus API also in non-debug mode.
7
 
 
8
 
Version 1.2.2 (2010-10-07)
9
 
* Client:
10
 
** splashy: Minor fix to compile with non-Linux kernels.
11
 
 
12
 
Version 1.2.1 (2010-10-02)
13
 
* Server:
14
 
** mandos-monitor(8): Documentation bug fix: Key for removing client
15
 
   is "R", not "r".
16
 
 
17
 
Version 1.2 (2010-09-28)
18
 
* Client:
19
 
** New "plymouth" plugin to ask for a password using the Plymouth
20
 
   graphical boot system.
21
 
** The Mandos client now automatically chooses a network interface if
22
 
   the DEVICE setting in /etc/initramfs-tools/initramfs.conf is set to
23
 
   the empty string.  This is also the new default instead of "eth0".
24
 
** The Mandos client --connect option now loops indefinitely until a
25
 
   password is received from the specified server.
26
 
** Bug fix: Quote directory correctly in mandos-keygen with --password
27
 
** Bug fix: don't use "echo -e" in mandos-keygen; unsupported by dash.
28
 
* Server:
29
 
** Terminology change: clients are now "ENABLED" or "DISABLED", not
30
 
   "valid" or "invalid".
31
 
** New D-Bus API; see the file "DBUS-API".
32
 
** New control utilities using the new D-Bus API:
33
 
   + mandos-ctl                A command-line based utility
34
 
   + mandos-monitor            A text-based GUI interface
35
 
** New feature: manual interactive approval or denying of clients on a
36
 
   case-by-case basis.
37
 
** New --debuglevel option to control logging
38
 
** Will not write PID file if --debug is passed
39
 
** Bug fix: Avoid race conditions with short "interval" values or
40
 
   fast checkers.
41
 
** Bug fix: Don't try to bind to a network interface when none is
42
 
   specified
43
 
 
44
 
Version 1.0.14 (2009-10-25)
45
 
Enable building without -pie and -fPIE if BROKEN_PIE is set.
46
 
 
47
4
Version 1.0.13 (2009-10-22)
48
5
* Client
49
6
** Security bug fix: If Mandos server is also installed, do not copy