#!/usr/local/bin/bash # # startsnort # quick snort starter - with options # # Zoidial, Inc. # Eric Thern eric@zoidial.com # March 2002 # # added logdir -l stuff May 2003 for snort 2.0 # # # starts snort # -D === runs in deamon mode # -u nobody === runs as user nobody # -g nobody === runs as group nobody # -c snort.conf === what config file to use # -t /usr/local/snort === the chrooted directory structure # -l logs === log port scans and other things to directory "logs" # -N don't log packet traces # cd /usr/local/snort snort -D -u nobody -g nobody -c snort.conf -t /usr/local/snort -l logs -N