2018-03-05

Making rainerscript functions loadable

Right now i am working on making rsyslog script functions loadable instead of statically built in at compile time. Currently, them being built in is not a problem as they do not have many dependenies. But as more functions get added, the bulk of dependencies required for script functions grows.

One recent example is the newly added function HTTP_request(), which requires libcurl to work. This will be a problem in the future, since there are plans to expand script functions. For example, if cryptographic functions were to be implemented, they would create many new dependencies and thereby inflate rsyslog.

To counteract this, we have decided to enable the script functions to be loaded when needed instead of being built in when compiled. This process will happen in partial steps.

No comments:

Post a Comment