&IDS::write_used_rulefiles_file(@enabled_providers);
# Lock the webpage and print message.
- &working_notice("$Lang::tr{'ids apply ruleset changes'}");
-
- # Call oinkmaster to alter the ruleset.
- &IDS::oinkmaster();
+ &oinkmaster_web();
# Check if the IDS is running.
if(&IDS::ids_is_running()) {
&reload();
} else {
# Call subfunction to launch oinkmaster.
- &IDS::oinkmaster();
+ &oinkmaster_web();
# Check if the IDS is running.
if(&IDS::ids_is_running()) {
&IDS::write_used_rulefiles_file(@enabled_providers);
# Regenerate ruleset.
- &IDS::oinkmaster();
+ &oinkmaster_web();
# Check if the IDS is running.
if(&IDS::ids_is_running()) {
# Check if oinkmaster has to be executed.
if ($oinkmaster eq "True") {
- # Lock the webpage and print message.
- &working_notice("$Lang::tr{'ids apply ruleset changes'}");
-
# Launch oinkmaster.
- &IDS::oinkmaster();
+ &oinkmaster_web();
}
# Check if the IDS is running.
}
# Regenerate ruleset.
- &IDS::oinkmaster();
+ &oinkmaster_web();
# Gather all enabled providers.
my @enabled_providers = &IDS::get_enabled_providers();