Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Snort ACID, output plugging to database
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
vibidoo
Guru
Guru


Joined: 27 Nov 2002
Posts: 409

PostPosted: Fri Feb 07, 2003 12:26 pm    Post subject: Snort ACID, output plugging to database Reply with quote

Hello

After 4 days headache to get apache + PHP4 + Mysql working well now I am beating with snort output database pluging to ACID .

I created the database snort_log and snort_archive .
And use acid_db_setup.php to create the table .

now in snort_log I have the following table : acid_ag ; acid_ag_alert ; acid_event ; acid_ip_cache .

I created the snort table in snort_log database .
Grant permission for my snort pc to connect to the mysql database .

my acid_main.php page is fine I have no errors when open it .


So I configured the snort.conf

Code:


output log_tcdump: tcp_snort.log   # alert on localhost machine

output database : log, mysql , user=root password=rootpass \
                          dbname=snort_log host=mysql_pc.mydomain.com


and when I run snort I get the following error
Code:

Warning : command line overrides rules file alert plugin!


If I comment the output database line , the warning disapear .

So do I have to re-compile snort with the database options ?
but how to specify the directory , because my database is on the lan ??

Code:

snort-1.9.0 # ./configure --with-mysql=/mysql_pc.mydomain.com/usr/mysql
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum