Snort mailing list archives
Re: logging directory
From: Cary Mathews <scattered () babel acu edu>
Date: Mon, 22 Jul 2002 15:03:12 -0500 (CDT)
Ok, I spoke too soon. John's solution looked to be the correct one, but I'm still getting errors. I have the following lines in my snort.conf: config logdir: /acu/var/log var RULE_PATH /acu/var/etc/rules (/acu is a seperate file-system with more space than /var currently has...) ========actual output=========== /acu/var> sudo bin/snort -c etc/snort.conf Log directory = /var/log/snort Initializing Network Interface eb0 --== Initializing Snort ==-- [!] ERROR: Can not get write access to logging directory "/var/log/snort". (directory doesn't exist or permissions are set incorrectly or it is not a directory at all) Fatal Error, Quitting.. =======end output=============== I could create a symlink from /var/log/snort -> /acu/var/log, but that's more of a hack than properly configuring the program... What else could I be missing from my conf file, if anything? TIA, Cary On Mon, 22 Jul 2002, John Sage wrote:
Date: Mon, 22 Jul 2002 11:16:50 -0700 From: John Sage <jsage () finchhaven com> To: Cary Mathews <scattered () babel acu edu> Cc: snort-users () lists sourceforge net Subject: Re: [Snort-users] logging directory Cary: On Mon, Jul 22, 2002 at 11:33:26AM -0500, Cary Mathews wrote:I looked through the FAQs and the archives and didn't see this address any where. I can specify the logging directory on the command line with the -l <dir> option, but how do I override the default logging directory within the snort.conf file? CaryYou might try this:From SnortUsersManual.pdf:"2.1.3 Config Many configuration and command line options of Snort can be specified in the configuration file. Format: config <directive>[: <value> ] <snip> logdir - Set the logdir (snort -l). Example: config logdir: /var/log/snort <snip> HTH.. - John -- "Cowardly refusing to create an empty archive." PGP key http://www.finchhaven.com/pages/gpg_pubkey.html Fingerprint FE 97 0C 57 08 43 F3 EB 49 A1 0C D0 8E 0C D0 BE C8 38 CC B5 ------------------------------------------------------- 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
------------------------------------------------------- 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:
- logging directory Cary Mathews (Jul 22)
- Re: logging directory Erek Adams (Jul 22)
- Re: logging directory John Sage (Jul 22)
- Re: logging directory Cary Mathews (Jul 22)
- Re: logging directory Cary Mathews (Jul 22)
- Re: logging directory John Sage (Jul 22)
- Re: logging directory Cary Mathews (Jul 23)
- <Possible follow-ups>
- RE: logging directory McCammon, Keith (Jul 22)