Snort mailing list archives

Re: Can't set logdir in 1.9.0


From: Chris Green <cmg () snort org>
Date: Mon, 14 Oct 2002 09:21:24 -0400

Serge Leschinsky <fish () artlife tomsknet ru> writes:

Dear colleagues.

Until recent times I've used snort 1.8.7. Now I'm trying to update it to 1.9.0
I've built it and tried to start snort with my old init script. A part
of it is below: 
# Specify your network interface here
INTERFACE=eth0
# Specify snort home
SNORTHOME=/var/chroot/snort
# See how we were called.
case "$1" in
  start)
        echo -n "               Snort Intrusion Detection System"
        daemon $SNORTHOME/sbin/snort -u snort -g snort -s -d -D \
                -i $INTERFACE -l /var/chroot/snort/log \
                -t $SNORTHOME -c /etc/snort.conf
        touch /var/lock/subsys/snort

for the time being, pass the -s option a fake argument.  The getopt
for unix systems incorrectly specified that the syslog option takes an
argument
-- 
Chris Green <cmg () sourcefire com>
Don't use a big word where a diminutive one will suffice.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: