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?
68
65
+ Approve(False) -> Close client connection immediately
69
66
** TODO [#C] python-parsedatetime
70
67
** TODO Separate logging logic to own object
71
** TODO [#B] Limit approval_delay to max gnutls/tls timeout value
68
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
72
69
** TODO [#B] break the wait on approval_delay if connection dies
73
70
** TODO Generate Client.runtime_expansions from client options + extra
74
71
** TODO Allow %%(checker)s as a runtime expansion
75
72
** TODO Use python-tlslite?
76
73
** TODO D-Bus AddClient() method on server object
77
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: