[Snort-users] Can't set logdir in 1.9.0

Chris Green cmg at ...950...
Mon Oct 14 06:29:08 EDT 2002


Serge Leschinsky <fish at ...6175...> 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 at ...1935...>
Don't use a big word where a diminutive one will suffice.




More information about the Snort-users mailing list