Snort mailing list archives
Re: Arrrghhh!!...help..me...
From: Jason Boykin <getmesecure () yahoo com>
Date: Thu, 29 May 2003 08:23:18 -0700 (PDT)
--- Erek Adams <erek () snort org> wrote:
On Wed, 28 May 2003, Tim wrote:Frustration has set in and the answer is problablyunder my nose andcan't see it. I really need for someone to pleasepoint it out for me.I'm not new to snort or configuring ACID, MySQLwith its accompanyingprograms in order to help view alerts inACID.....ie., gd, php,phplot..etc. JPgraph is new and I haven't had achance to play withit...yet.. First, I'm running RH 7.3 completely updatedthrough the RHN on twomachines...hardware is exactly the same on bothmachines....plenty ofprocessing power and memory......500mhz/256 MB anda 9GB IDE drive.Plenty for my little home-network-lab. Thefirewall is Iptables latestversion on a separate machine with the same (3NICs) hardware, totallysetup and functional. On the snort (Version 2.0) machine I have 4 NICsone for management andthe other three for the sensors.[...snip...]This should be enough for me to be able to startsnort and log alerts tothe database and view them with ACID or at least Ithought so. It seemsthat the sensors are being inserted to the mysqldatabase, however theyare not viewable through ACID and snort is notlogging alerts to thedatabase.....even though it does capture packetsand they viewable realtime through the output on screen...no errormessages from anywhere thatI have been able to see so far ("tail -100/var/log/messages"). I know,I know, switch from log to alert in the outputdatabase line, but I havedone that to no avail. Snort fires up correctlyand the fact that thesensors are being inserted into the database showsme that their isconnectivity with the MySQL snort database...I'mat a lost. Any helpwill be gratefully appreciated. I havere-installed the system twice nowand on the brink of sheer frustration ... Thefunny thing is that I haveinstalled the Snort/ACID IDS system prior to snort2.0 with not muchtrouble on numerous occassions.
I set up snort to log to postgres but I found that if I told set the "alert_port" in acid_conf.php to 5432 acid wouldnt connect to the database. If I left it blank it worked fine. Check your database to see if snort is logging to it. If not run snort from command line like you normally would minus -D (daemon mode) and put a -T at the end of it. This will have snort start up then stop and give you some diagnostic info. It will tell you if snort is able to connect or not. If it is connecting then thats good. Mine was connecting but not logging. It turned out it would not log using -A fast. Also check for a line that looks like this: output database: log, mysql, user=root password=test dbname=db host=localhost and set it up for your server. Heres what I used for postgres: output database: alert, postgresql, dbname=xxx user=xxx password=xxx host=localhost port=5432 Hope this helps. I spent a lot of time trying to get it working because of 2 small problems. Good luck. __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ 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:
- Arrrghhh!!...help..me... Tim (May 29)
- Re: Arrrghhh!!...help..me... Erek Adams (May 29)
- Re: Arrrghhh!!...help..me... Jason Boykin (May 29)
- Re: Arrrghhh!!...help..me... Erek Adams (May 29)
