Skip to content

Commit

Permalink
Merge pull request #19 from ADORSYS-GIS/develop
Browse files Browse the repository at this point in the history
fix: obtain snort3 rules from the snort repo
  • Loading branch information
ArmandMeppa authored Jan 28, 2025
2 parents a1f79a0 + 7db6a68 commit 3db3a9f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,8 @@ install_snort_macos() {
fi

info_message "Downloading and configuring Snort rule files"
maybe_sudo curl -SL --progress-bar -o community-rules.tar.gz https://www.snort.org/downloads/community/snort3-community-rules.tar.gz
maybe_sudo tar -xvzf community-rules.tar.gz -C /usr/local/etc/rules --strip-components=1
maybe_sudo rm community-rules.tar.gz
maybe_sudo curl -SL --progress-bar -o snort3-community.rules https://raw.githubusercontent.com/ADORSYS-GIS/wazuh-snort/main/rules/snort3.rules
maybe_sudo mv snort3-community.rules /usr/local/etc/rules
info_message "Snort rule files downloaded and configured successfully"

info_message "Creating plist file..."
Expand Down

0 comments on commit 3db3a9f

Please sign in to comment.