[Snort-users] New user question(s)

Chris cpollock at ...741...
Wed Sep 22 15:18:13 EDT 2004


On Wednesday 22 September 2004 01:25 pm, Harper, Patrick wrote:
> When you say snortd are you talking about the init script?
>
A snortd script was installed in my /etc/rc.d/init.d folder.  When running 
./snortd from the cli as root I get "snortd start|stop|restart|status, 
below is a portion of the script that starts snort:

# See how we were called.
case "$1" in
  start)
	if [ -x /usr/sbin/snort -a ! -e /var/lock/subsys/snort ]; then
		gprintf "Starting snort: "
        	cd /var/log/snort
		daemon /usr/sbin/snort -u snort -g snort -s -d -D \
			 -i ${INTERFACE} -l /var/log/snort -c /etc/snort/snort.conf
		touch /var/lock/subsys/snort
		echo
	else
		gprintf "Snort already running.\n"

I'm going to have to search to see what the -u -g -s -d -D mean.

I'm running Mandrake 9.0 with snort 1.8.7-3mdk.

-- 
Chris
Registered Linux User 283774 http://counter.li.org
5:07pm up 14 days, 21:47, 1 user, load average: 0.26, 0.10, 0.08
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please forgive me if, in the heat of battle, I sometimes forget which
side I'm on.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





More information about the Snort-users mailing list