]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
suricata: Rename this to an IPS at boot time
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 6 Aug 2025 16:20:22 +0000 (17:20 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 3 Sep 2025 17:42:01 +0000 (18:42 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/system/suricata

index ee952e336cef1c34260067e1d1da58fb607558bf..f199931b8ff532b59ad476d11124dfd492a62b03 100644 (file)
@@ -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..."