#!/usr/local/bin/bash # # snort rule updater # # # Zoidial, Inc. # Eric Thern eric@zoidial.com # March 2002 # # November, 2002 - updated to snortrules-stable.tar.gz link # January, 2003 - updated the classification.conf stuff # this needs to be copied over every time # June, 2003 - updated this to snortrules-current.tar.gz # considering we aren't using 1.9 anymore # cd /usr/local/snort/ mkdir /usr/local/snort/rules wget http://www.snort.org/dl/rules/snortrules-current.tar.gz tar -xzvf snortrules-current.tar.gz rm -Rf snortrules-current.tar.gz echo "============================================" echo "Updated rules and extracted them into rules/" echo "============================================"