Skip to content

Instantly share code, notes, and snippets.

@Sarverott
Created May 10, 2025 11:03
Show Gist options
  • Save Sarverott/2da20d9bf71a16140ae6d0a814be1dd8 to your computer and use it in GitHub Desktop.
Save Sarverott/2da20d9bf71a16140ae6d0a814be1dd8 to your computer and use it in GitHub Desktop.
simple basic Snort3 pre-install bash script: downloading, checksum checkouts and tar extracting. Upcomming installation presetting, adaptive behaviour on new release publishing and PoW morphability function as example of constructive playing around for fun and with results.
#!/bin/bash
#cd "$DOWNLOADS_DIR"
mkdir snort3download
cd snort3download
# SNORT3
echo "downloading snort3..."
wget https://github.com/snort3/snort3/archive/refs/tags/3.7.4.0.tar.gz -O snort-3.7.4.0.tar.gz
echo "snort3 DOWNLOADED! sizes compare:"
echo "3.4M ORGINAL_snort-3.7.4.0.tar.gz"
du -h snort-3.7.4.0.tar.gz
echo "checksum controll..."
echo "1f96b7e21e9d4c098e432276df934410 snort3-3.7.4.0.tar.gz" | md5sum --check
tar -xvzf snort3-3.7.4.0.tar.gz
# SNORT3 EXTRA
echo "downloading snort3-extra..."
wget https://github.com/snort3/snort3_extra/archive/refs/tags/3.7.4.0.tar.gz -O snort-extra-3.7.4.0.tar.gz
echo "snort3-extra DOWNLOADED! sizes compare:"
echo "60K ORGINAL_snort-extra-3.7.4.0.tar.gz"
du -h snort-extra-3.7.4.0.tar.gz
echo "checksum controll..."
echo "2db94bae8cd575cd4060176d89b127be snort-extra-3.7.4.0.tar.gz" | md5sum --check
tar -xvzf snort-extra-3.7.4.0.tar.gz
# SNORT3 RULES COLLECTION
echo "downloading snort3 community rules..."
wget https://www.snort.org/downloads/community/snort3-community-rules.tar.gz
echo "checksum controll..."
echo "e6de0e1d90544f2effc9625b6f00650e snort3-community-rules.tar.gz" | md5sum --check
tar -xvzf snort3-community-rules.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment