RE: [Snort-users] Snort 2.0.0 logging to MySQL, but nothing in

This is a discussion on RE: [Snort-users] Snort 2.0.0 logging to MySQL, but nothing in within the Snort forums, part of the System Security and Security Related category; Running both consoles in SQL trace mode lead me to look at the sensor table. On the console that isn'...


Go Back   Usenet Forums > System Security and Security Related > Snort

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-20-2004
Williams Jon
 
Posts: n/a
Default RE: [Snort-users] Snort 2.0.0 logging to MySQL, but nothing in

Running both consoles in SQL trace mode lead me to look at the sensor
table. On the console that isn't working, there are no entries in the
sensor table, but there are entries in it on the working console.

I had an "A Ha!" moment. The sensor table on the broken box was missing
the last_cid column. Don't know how that happened, as I know that I
didn't do anything related to that in the timeframe of the problem.
Putting the field back has corrected the issue.

Thanks.

Jon

-----Original Message-----
From: Kevin Johnson [mailto:kjohnson@secureideas.net]=20
Sent: Tuesday, October 19, 2004 6:09 PM
To: Williams Jon
Cc: Snort Users
Subject: Re: [Snort-users] Snort 2.0.0 logging to MySQL, but nothing in
ACID???

On Tue, 2004-10-19 at 16:29, Williams Jon wrote:
> I'm having a pretty bad brain fart. Some time this morning, one of=20
> our ACID consoles stopped working. We've confirmed that all of our=20
> sensors are seeing data and generating alerts, that the MySQL port is=20
> open between all of the sensors and the DB server, that MySQL is=20
> running and accepting connections on the port the sensors are=20
> connecting to, and that the sensors are writing data to the database.
>=20
> When I go into ACID, it shows no alerts and no sensors, but if I click


> on the "Application cache and status" link, the Alert Information=20
> Cache section shows the correct number of alerts under "Total Events".
> Clicking on "Repair Tables" and "Update Alert Cache" have no effect on


> the problem, nor did restarting the web server, MySQL server, and=20
> rebooting the box.
>=20
> Fortunately, we've got a second DB server. When we repointed the=20
> sensors to the second server, everything works fine there.
>=20
> While I was logged into the box around the time that the problem=20
> occurred, and there were no other users logged in at all since before=20
> the problem, I have no clear recollection of any actions that had=20
> anything to do with PHP, the web server, ACID, or MySQL.
>=20
> Any suggestions? Any idea how I shot myself in the foot?
>=20
> Thanks.
>=20
> Jon


Hi-

If you access the original database server directly, are the alerts
still there? Is there anything in the logs? I would set the two below
variables in acid_conf.php if you can't find anything else....
=20
$sql_trace_mode =3D 0;
$sql_trace_file =3D "";

Feel free to respond with any more information and I can try to help.
Kevin
-------------------
BASE Project Lead
http://sourceforge.net/projects/secureideas
The next step in IDS analysis!




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjourna...uidepromo.tmpl
_______________________________________________
Snort-users mailing list
Snort-users@lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/...fo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.p...st=snort-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:40 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0