From 5edea25e5920251db234ede4f51dcc3143f567e9 Mon Sep 17 00:00:00 2001 From: Dylane Bengono Date: Wed, 11 Sep 2024 15:29:05 +0100 Subject: [PATCH] chore: Update Snort installation script for macOS --- scripts/install.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index c1b7945..80f0505 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -151,9 +151,9 @@ configure_snort_logging_macos() { update_ossec_conf_macos() { local content_to_add=" - snort-full<\/log_format> - \/var\/log\/snort\/alert_fast.txt<\/location> - <\/localfile>" + snort-full + /var/log/snort/alert_fast.txt + " info_message "Updating $OSSEC_CONF_PATH" if ! grep -q "$content_to_add" "$OSSEC_CONF_PATH"; then @@ -165,6 +165,7 @@ update_ossec_conf_macos() { fi } + # Function to start Snort on macOS start_snort_macos() { info_message "Starting Snort"