Introduce priority level for snort alerts. Add the ability to skip snort alerts if their priority is lower than a config-able value. In this case guardian completely will ignore each reported alert with less priority than the configured one. Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
guardian: Log successfull launch of the programm. Log if the programm successfully has been launched. In case the log level was set to info, there was only a log entry after the programm has been stopped, but it was quite hard to see if it was successfully started before. Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Pause/Continue worker threads instead of restarting them. When reloading the configuration or recieving a logrotate event, the running workers now will be paused and afterwards continued. This will save system ressources, because they do not need get killed and restarted anymore. Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>