Mohamadou

Failed to install completly Winsnort and Base

35 posts in this topic

Attach you barnyard.conf file.

 

 

I can log in mysql and check database

# mysql -u snort -p
mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| archive            |
| mysql              |
| performance_schema |
| snort              |
| test               |
+--------------------+

 

 

Attach you barnyard.conf file.

Share this post


Link to post
Share on other sites

This is your line 349

output database: log, mysql, user=base password=123456 dbname=snort host=localhost sensor_name=WinIDS-Home

This is what the line 349 should look like if the tutorial was followed

output database: log, mysql, user=snort password=l0gg3r dbname=snort host=winids sensor_name=WinIDS-Home

Not sure what you have done as it appears you have changed critical switches. Correcting these should allow a connection to the MySQL database?

Share this post


Link to post
Share on other sites

snort does not writing file log (file log "merged.log.1417671245" 0kb)

file config snort 

PC install snort  IP (192.168.2.120/24 ) (network 192.168.2.xx)

OS: Windows XP sp3

can you help me

snort.conf

Share this post


Link to post
Share on other sites
Thank you for help my
I connect Mysql
C:>mysql -u root -p
Enter password: *******
mysql> connect snort;
Connection id:    6
Current database: snort
mysql> select * from event limit 10;
Empty set (0.03 sec)
mysql>
and in snort file log merged.log.1417778600 (7MB) :(
i don't know database snort empty
help my

Share this post


Link to post
Share on other sites
+ I add rules in local.rules and sonrt in run  file log 
+ Barnyard2 exiting 
database: Closing connection to database "snort" 

(barnyard2.exe not run)

+ runing start.bat

database mysql_error: Can't connect to local MySQL server through socket '/tmp/m
ysql.sock' (2)

Share this post


Link to post
Share on other sites

Go back to the tutorial and complete the section labled 'Testing the Snort configuration file'. Post the results.

Share this post


Link to post
Share on other sites

Failed install  snort on Windows XP. Snort error cannot write mysql.

Check file log snort data but mysql  -> empty

run d:winidsactivatorsby2-test

database mysql_error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
:(

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now