/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: 2008-08-16 03:29:08 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080816032908-ihw7c05r2mnyk389
Add feature to specify custom environment variables for plugins.

* plugin-runner.c (plugin): New members "environ" and "envc" to
                            contain possible custom environment.
  (getplugin): Return NULL on failure instead of doing exit(); all
               callers changed.
  (add_to_char_array): New helper function for "add_argument" and
                       "add_environment".
  (addargument): Renamed to "add_argument".  Return bool.  Call
                 "add_to_char_array" to actually do things.
  (add_environment): New; analogous to "add_argument".
  (addcustomargument): Renamed to "add_to_argv" to avoid confusion
                       with "add_argument".
  (main): New options "--global-envs" and "--envs-for" to specify
          custom environment for plugins.  Print environment for
          plugins in debug mode.  Use asprintf instead of strcpy and
          strcat.  Use execve() for plugins with custom environments.
          Free environment for plugin when freeing plugin list.

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.0.3 (2009-01-06)
5
 
* Server
6
 
** Now tries to change to user and group "_mandos" before falling back
7
 
   to trying the old values "mandos", "nobody:nogroup", and "65534".
8
 
** Now does not abort on startup even if no clients are defined in
9
 
   clients.conf.
10
 
 
11
 
* Client
12
 
** Plugins named "*.dpkg-bak" are now ignored.
13
 
** Hopefully fixed compilation failure on some architectures where the
14
 
   C compiler does not recognize the "-z" option as a linker option.
15
 
 
16
 
Version 1.0.2 (2008-10-17)
17
 
* mandos-keygen now signs the encrypted key blobs.  This signature is
18
 
  not currently verified by mandos-client, but this may change in the
19
 
  future.
20
 
 
21
 
Version 1.0.1 (2008-10-07)
22
 
* Server
23
 
** Expand environment variables and ~user in clients.conf's "secfile"
24
 
   The "secfile" option in /etc/mandos/clients.conf now expands
25
 
   "~user/foo" and "$ENVVAR" strings.
26
 
 
27
 
* Client (plugin-runner, plugins, etc.)
28
 
** Manual pages for the usplash, splashy, and askpass-fifo plugins.
29
 
   All plugins now have man pages.
30
 
** More secure compilation and linking flags.
31
 
   All programs are now compiled with "-fstack-protector-all -fPIE
32
 
   -pie", and linked using "-z relro -pie" for additional security.
33
 
 
34
 
* There is now a "NEWS" file (this one), giving a history of
35
 
  noteworthy changes.