From: Michael Tremer Date: Wed, 6 Aug 2025 16:20:22 +0000 (+0100) Subject: suricata: Rename this to an IPS at boot time X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=67534d62a913e046cc6d6740d568feeeca0e968a;p=ipfire-2.x.git suricata: Rename this to an IPS at boot time Signed-off-by: Michael Tremer --- diff --git a/src/initscripts/system/suricata b/src/initscripts/system/suricata index ee952e336..f199931b8 100644 --- a/src/initscripts/system/suricata +++ b/src/initscripts/system/suricata @@ -185,14 +185,14 @@ case "$1" in NFQUEUES+=":$(($cpu_count-1))" fi - # Check if the IDS should be started. + # Check if suricata should be started if [ "$ENABLE_IDS" == "on" ]; then # Start the reporter boot_mesg "Starting Intrusion Prevention Reporter..." loadproc -f -p /var/run/suricata/reporter.pid -b /usr/bin/suricata-reporter - # Start the IDS. - boot_mesg "Starting Intrusion Detection System..." + # Start suricata + boot_mesg "Starting Intrusion Prevention System..." loadproc -b /usr/bin/suricata-watcher -c /etc/suricata/suricata.yaml $NFQUEUES # Flush the firewall chain @@ -204,7 +204,7 @@ case "$1" in ;; stop) - boot_mesg "Stopping Intrusion Detection System..." + boot_mesg "Stopping Intrusion Prevention System..." killproc -p /var/run/suricata.pid /usr/bin/suricata boot_mesg "Stopping Intrusion Prevention Reporter..."