Skip to content

Instantly share code, notes, and snippets.

@jeffgeiger
Created September 12, 2018 15:15
Show Gist options
  • Save jeffgeiger/c11fd13073d9c9a18ae5958626928203 to your computer and use it in GitHub Desktop.
Save jeffgeiger/c11fd13073d9c9a18ae5958626928203 to your computer and use it in GitHub Desktop.
RockNSM 2.1 - Add suricata rules on an offline install
# 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