Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: [Snort-users] snort script |
|---|---|
| Date: | Wed, 16 Aug 2006 10:52:11 +1000 |
Thanks Nigel, that did the trick. Cheers On 15/08/06, Nigel Houghton <nigel@sourcefire.com> wrote:
On 0, "paul.johnson8@gmail.com" <paul.johnson8@gmail.com> wrote:I have a script for Solaris which is used to stopping and starting snort. Unfortuantly, the script keeps coming up with a syntax errror. Could some kind person shed some light on this. Thanks for your help. #!/sbin/sh SnortBin=/usr/local/bin ConfDir=/usr/local/snort/etc RuleDir=/usr/local/snort/rules case "$1" in 'start') [ -f $ConfDir/snort.conf ] && $SnortBin/snort -u snort -g snort -d -D -i eri0 -c $ConfDir/snort.conf echo "snort starting." ;; 'stop') kill `cat /var/run/snort_eri0.pid` echo "snort stopping." ;; *) echo "Usage: $0 { start | stop }"You don't say what the error is, but I'm guessing it's here:exit 1)Which should look like this: exit 1 ;;esac exit 0+--------------------------------------------------------------------+ Nigel Houghton Research Engineer Sourcefire Inc. Vulnerability Research Team There is no theory of evolution, just a list of creatures Vin Diesel allows to live.
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ 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
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [Snort-users] testmyids, Jason |
|---|---|
| Next by Date: | [Snort-users] HOME_NET, EXTERNAL_NET, var negatation and unwanted triggered rules, Denis Sacchet |
| Previous by Thread: | Re: [Snort-users] snort script, Nigel Houghton |
| Next by Thread: | [Snort-users] testmyids, Chas Tomlin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |