Snort mailing list archives

RE: autostart


From: Mcclure Gammon <gammon.mcclure () volvo com>
Date: Tue, 26 Feb 2002 13:34:08 +0100

If I remember the docs, you need to provide the full path to snort (/usr/local/bin/snort or whatever) and to the conf 
file when starting snort in daemon mode (-D)

HTH
Gammon

-----Original Message-----
From: counter.spy () gmx de [mailto:counter.spy () gmx de]
Sent: Monday, February 25, 2002 4:57 PM
To: skill2die4 () yahoo com
Cc: snort-users () lists sourceforge net
Subject: RE:[Snort-users] autostart


I am using linux7.1 

What's this? Do you mean Readhat 7.1 or SuSE 7.1 or...

and i am trying to start 
snort automatically on bootup. 

i have added following line to the rc.local, however
snort does not starts and there are no error logs in the
/var/log/messages


##################################

-->bring eth's up
-->bring the routing table up

cd   /var/local/snort
snort -A full -D  -c /var/local/snort/snort.conf   
# just to be double sure that it finds the conf file
##################################
any help ??

skill2die4

For such things (e.g. starting Iptables) I am using  startup-scripts that
are located in a directory that will not be "cleaned" when updating my system,
e.g. /root/snort/startids, with the appropriate options.
The script is started by a symlink that is located in /etc/init.d (I am
using SuSE, you may find init.d in /sbin/init.d if you have another
distribution).
EXAMPLE for setting a symlink:

-ln -s /root/snort/startids    /etc/init.d/rc2.d/S04startids
-ln -s /root/snort/startids    /etc/init.d/rc3.d/S04startids

that means snort will be started in runlevels 2 and 3.

Note that I am a Newbie to snort and linux and there may be better ways to
achieve the autostart stuff, but this works fine with many other things I
wanted to start automagically in different runlevels :-)

Greetings,
D.Liesen

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


_______________________________________________
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

_______________________________________________
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: