/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.5.2 (2012-01-08)
5
 
* Server
6
 
** Removed D-Bus signal se.recompile.Mandos.NewRequest() added in
7
 
   1.5.0.  It was buggy and was of questionable utility.
8
 
 
9
 
Version 1.5.1 (2012-01-01)
10
 
* Server
11
 
** Include intro(8mandos) manual page, missing since migration from
12
 
   README file in version 1.4.0.
13
 
 
14
 
Version 1.5.0 (2012-01-01)
15
 
* Client
16
 
** Network hooks.  The Mandos client can now run custom scripts to take
17
 
   up a network interface before the client is run.  Three example
18
 
   scripts are provided: "wireless", "openvpn", and "bridge".
19
 
   To facilitate this, the client now prefers network interfaces which
20
 
   are up (if any) over all other interfaces.
21
 
* Server
22
 
** Persistent state.  Client state is now saved between server
23
 
   restarts.
24
 
** clients.conf file can now contain "enabled" setting for clients.
25
 
** Bug fix: Fix rare crash bug.
26
 
** Bug fix: Send corrent D-Bus type in PropertyChanged for
27
 
   "ApprovalDelay", "ApprovalDuration", "Timeout", and
28
 
   "ExtendedTimeout".
29
 
** mandos-ctl: Bare numbers as arguments are taken to be milliseconds.
30
 
** Bug fix: mandos-ctl --secret option now works.
31
 
** New D-Bus signal: se.recompile.Mandos.NewRequest(s).
32
 
 
33
 
Version 1.4.1 (2011-10-15)
34
 
* Server
35
 
** Make D-Bus properties settable again, and handle checkers
36
 
   for disabled clients correctly.
37
 
* Miscellaneous fixes to "pedantic" Lintian warnings
38
 
 
39
 
Version 1.4.0 (2011-10-09)
40
 
* README file migrated to manual page intro(8mandos).
41
 
* Client:
42
 
** Fixed warning about "rmdir: Directory not empty".
43
 
* Server:
44
 
** Default values changed: timeout 5 minutes, interval 2 minutes.
45
 
** Clients gets an expiration extension when receiving a password,
46
 
   controlled by new "extended_timeout" setting.
47
 
** New domain name: "fukt.bsnet.se" changes to "recompile.se".  This
48
 
   also affects the D-Bus bus and interface names (old names still
49
 
   work).  Users should start using the new names immediately.
50
 
** New D-Bus Client object properties "Expires" and "ExtendedTimeout";
51
 
   see DBUS-API for details.
52
 
 
53
 
Version 1.3.1 (2011-07-27)
54
 
* Client:
55
 
** Client now retries all Mandos servers periodically.
56
 
** Work around Debian bug #633582 - fixes "Permission denied" problem.
57
 
 
58
 
Version 1.3.0 (2011-03-08)
59
 
* Server:
60
 
** Updated for Python 2.6.
61
 
* Client:
62
 
** Bug fix: Make the password-prompt plugin not conflict with
63
 
   Plymouth.
64
 
** Bug fix: Bug fix: update initramfs also when purging package.
65
 
 
66
 
Version 1.2.3 (2010-10-11)
67
 
* Server:
68
 
** Bug fix: Expose D-Bus API also in non-debug mode.
69
 
 
70
 
Version 1.2.2 (2010-10-07)
71
 
* Client:
72
 
** splashy: Minor fix to compile with non-Linux kernels.
73
 
 
74
 
Version 1.2.1 (2010-10-02)
75
 
* Server:
76
 
** mandos-monitor(8): Documentation bug fix: Key for removing client
77
 
   is "R", not "r".
78
 
 
79
 
Version 1.2 (2010-09-28)
80
 
* Client:
81
 
** New "plymouth" plugin to ask for a password using the Plymouth
82
 
   graphical boot system.
83
 
** The Mandos client now automatically chooses a network interface if
84
 
   the DEVICE setting in /etc/initramfs-tools/initramfs.conf is set to
85
 
   the empty string.  This is also the new default instead of "eth0".
86
 
** The Mandos client --connect option now loops indefinitely until a
87
 
   password is received from the specified server.
88
 
** Bug fix: Quote directory correctly in mandos-keygen with --password
89
 
** Bug fix: don't use "echo -e" in mandos-keygen; unsupported by dash.
90
 
* Server:
91
 
** Terminology change: clients are now "ENABLED" or "DISABLED", not
92
 
   "valid" or "invalid".
93
 
** New D-Bus API; see the file "DBUS-API".
94
 
** New control utilities using the new D-Bus API:
95
 
   + mandos-ctl                A command-line based utility
96
 
   + mandos-monitor            A text-based GUI interface
97
 
** New feature: manual interactive approval or denying of clients on a
98
 
   case-by-case basis.
99
 
** New --debuglevel option to control logging
100
 
** Will not write PID file if --debug is passed
101
 
** Bug fix: Avoid race conditions with short "interval" values or
102
 
   fast checkers.
103
 
** Bug fix: Don't try to bind to a network interface when none is
104
 
   specified
105
 
 
106
 
Version 1.0.14 (2009-10-25)
107
 
Enable building without -pie and -fPIE if BROKEN_PIE is set.
108
 
 
109
4
Version 1.0.13 (2009-10-22)
110
5
* Client
111
6
** Security bug fix: If Mandos server is also installed, do not copy