3 # snortd Start/Stop the snort IDS daemon.
5 # chkconfig: 2345 40 60
6 # description: snort is a lightweight network intrusion detection tool that
7 # currently detects more than 1100 host and network
8 # vulnerabilities, portscans, backdoors, and more.
10 # June 10, 2000 -- Dave Wreski <dave@linuxsecurity.com>
13 # July 08, 2000 Dave Wreski <dave@guardiandigital.com>
14 # - added snort user/group
17 # Source function library.
18 . /etc/rc.d/init.d/functions
20 # Specify your network interface here
23 # See how we were called.
26 echo -n "Starting snort: "
27 daemon /usr/sbin/snort -u snort -g snort -s -d -D \
28 -i $INTERFACE -l /var/log/snort -c /etc/snort/rules.base
29 touch /var/lock/subsys/snort
33 echo -n "Stopping snort: "
35 rm -f /var/lock/subsys/snort
46 echo "Usage: $0 {start|stop|restart|status}"