Created
September 12, 2018 15:15
-
-
Save jeffgeiger/c11fd13073d9c9a18ae5958626928203 to your computer and use it in GitHub Desktop.
RockNSM 2.1 - Add suricata rules on an offline install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add the offline rules file as a source: | |
sudo suricata-update add-source "Local Rules" "file:///srv/rocknsm/support/emerging.rules-suricata.tar.gz" | |
# Check that we're not going to go screaming at the internet for an update | |
sudo suricata-update list-enabled-sources | |
# You should see this: | |
# Enabled sources: | |
# - Local Rules | |
# Run your update: | |
sudo suricata-update update -v | |
# This should complete successfully. | |
# Bump Suricata so it loads the new rules: | |
sudo /usr/bin/systemctl kill -s USR2 suricata |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment