Add a plugin helper directory, available to all plugins.
* Makefile (PLUGIN_HELPERS): New; list of plugin helpers. (CPROGS): Appended "$(PLUGIN_HELPERS)". * initramfs-tools-hook: Create new plugin helper directory, and copy plugin helpers provided by the system and/or by the local administrator. (PLUGINHELPERDIR): New. * plugin-runner.c: Take new --plugin-helper-dir option and provide environment variable to all plugins. (PHDIR): New; set to "/lib/mandos/plugin-helpers". (main/pluginhelperdir): New. (main/options): New option "--plugin-helper-dir". (main/parse_opt, main/parse_opt_config_file): Accept new option. (main): Use new option to set MANDOSPLUGINHELPERDIR environment variable as if using --global-env MANDOSPLUGINHELPERDIR=... * plugin-runner.xml: Document new --plugin-helper-dir option. (SYNOPSIS, OPTIONS): Add "--plugin-helper-dir" option. (PLUGINS/WRITING PLUGINS): Document new environment variable available to plugins. (ENVIRONMENT): Document new environment variable "MANDOSPLUGINHELPERDIR" affected by the new --plugin-helper-dir option.
Watch this directory and add/remove/update clients?
70
65
+ Approve(False) -> Close client connection immediately
71
66
** TODO [#C] python-parsedatetime
72
67
** TODO Separate logging logic to own object
73
** TODO [#B] Limit approval_delay to max gnutls/tls timeout value
68
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
74
69
** TODO [#B] break the wait on approval_delay if connection dies
75
70
** TODO Generate Client.runtime_expansions from client options + extra
76
71
** TODO Allow %%(checker)s as a runtime expansion
77
72
** TODO Use python-tlslite?
78
73
** TODO D-Bus AddClient() method on server object
79
74
** TODO Use org.freedesktop.DBus.Method.NoReply annotation on async methods. :2:
75
** TODO Support [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager][org.freedesktop.DBus.ObjectManager]] interface on server object :2: