Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: [Snort-users] Re: [Snort-users] Can snort send alerts to the mysql database without writing an output file? |
|---|---|
| Date: | Thu, 09 Mar 2006 14:42:45 +0100 |
Hi Nerijus,
'-K none' does only affect logging, not the alerts...In my snort.conf I have only one output plugin configured. And that is database. On a command line I have: 'snort -K none -o -e -c <my_snort.conf_with_only_db_output_plugin> -X -d -y -D -i <interface_to_sniff>'. This combination works like charm. I have an empty /var/log/snort dir and alerts go right into the database. Isn't this what the OP wanted? (Can't figure it out now, cause the whole thread is messed all around my gmail.) Snort version is 2.4.3 (if that matters) running on linux.
ah, I guess I see the problem... If you use the database output for "log" only, then no alert output plugin is activated. In this case the alerts are written to /var/log/snort. (Stupid enough, most alerts are written to "alert" and "log"...) So probably your database output plugin is activated with the "alert" facility? So '-N' or '-K none' deactivates logging and the activated database alert plugin avoids the writing of the alert file... Change the database plugin to log and you will see the alert file again but then you can not use the database output plugin due to '-K none' ...
Your turn: http://www.theadamsfamily.net/~erek/snort/drinking_game.txtYou spent the drinks? Fine, when and where?Only for you, Dirk. And only if you come to my city. :) Deal? :)
That's a deal, but where is your city? Probably too far away for a drinking game... Best regards Dirk ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ 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
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [Snort-users] Re: [Snort-users] Can snort send alerts to the mysql database without writing an output file?, Nerijus Krukauskas |
|---|---|
| Next by Date: | Re: [Snort-users] HOW DOES ONE STOP an alert file from being Produced?, Dirk Geschke |
| Previous by Thread: | Re: [Snort-users] Re: [Snort-users] Can snort send alerts to the mysql database without writing an output file?, Nerijus Krukauskas |
| Next by Thread: | [Snort-users] Snort 2.4.4 and Snort 2.6 Beta Available, Jennifer Steffens |
| Indexes: | [Date] [Thread] [Top] [All Lists] |