error-notify plugin for
libcharon provides an interface to receive
notifications about errors that occur in the keying daemon via UNIX socket.
The plugin is disabled by default and can be enabled with the
If the plugin is enabled, it opens a UNIX socket and sends error notifications to connected listeners.
error-notify utility usually invoked by
demonstrates how error notifications can be received. It is currently very simple and takes no arguments and when invoked simply lists all received error messages to STDOUT.
error_notify socket interface definition can be found here:
error-notify tool demonstrating how the interface can be used: