From 6983a96efff73babf144a4dda3e3aba68fd460e9 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Fri, 3 Dec 2021 15:52:19 +0100 Subject: [PATCH] ids-functions.pl: Adjust classification file for new path. Signed-off-by: Stefan Schantl --- config/cfgroot/ids-functions.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/cfgroot/ids-functions.pl b/config/cfgroot/ids-functions.pl index fc2625920b..fffb0a265d 100644 --- a/config/cfgroot/ids-functions.pl +++ b/config/cfgroot/ids-functions.pl @@ -74,8 +74,11 @@ our $ids_page_lock_file = "/tmp/ids_page_locked"; # Location where the rulefiles are stored. our $rulespath = "/var/lib/suricata"; +# Location where the addition config files are stored. +our $configspath = "/usr/share/suricata"; + # Location of the classification file. -our $classification_file = "$rulespath/classification.config"; +our $classification_file = "$configspath/classification.config"; # Location of the sid to msg mappings file. our $sid_msg_file = "$rulespath/sid-msg.map"; -- 2.39.5