|
|
| <prev next> |
Choosing A Webhost: |
Re: barnyard logging mysteries: msg#00000security.ids.snort.barnyard.user
Don't use 'sensor_id 1'. Use 'sensor_id 0'. Bammkkkk On Tue, 30 Nov 2004 17:39:54 -0600, Chris McClimans <barnyard-users@xxxxxxxxxxxxx> wrote: > I'm ccing snort-users and barnyard-users since barnyard-users looks to > be a bit quiet recently. > > Two questions... > > Should I be generating both a log and alert unified log and processing > each with it's own barnyard process or does log include the data in > alert? I've seen some posts on this, but nothing definitive or > documented. > > Secondly is there anyway to get more information on failures in > barnyard processing besides -v? I'm looking at a pretty simple > configuration in barnyard that should be shooting stuff over to a mysql > setup for acid. As the mysql session shows, there are events in the > database, but no sensors. With the limited data acid doesn't function > properly. > -chris > > cat /etc/snort/barnyard.conf > config daemon > config hostname:mynifty host > output log_acid_db: mysql, sensor_id 1, database snort, server > 127.0.0.1, user xxxxxx, password xxxxx, detail full > output alert_acid_db: mysql, sensor_id 1, database snort, server > 127.0.0.1, user xxxxxx, password xxxxx, detail full > > tail /var/log/daemon.log > Nov 30 17:15:54 localhost barnyard[14987]: Initializing daemon mode > Nov 30 17:15:54 localhost barnyard[14988]: Opened spool file > '/var/log/snort/snort.unified.log.1101856179' > Nov 30 17:15:54 localhost barnyard[14988]: Waiting for new data > > mysql snort > mysql> select COUNT(*) from event; > +----------+ > | COUNT(*) | > +----------+ > | 87 | > +----------+ > 1 row in set (0.00 sec) > > mysql> select COUNT(*) from sensor; > +----------+ > | COUNT(*) | > +----------+ > | 0 | > +----------+ > 1 row in set (0.00 sec) > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Barnyard-users mailing list > Barnyard-users@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/barnyard-users > -- sguil - The Analyst Console for NSM http://sguil.sf.net ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Next by Date: | Barnyard core dump, samgo_samgo SamGo |
|---|---|
| Next by Thread: | Barnyard core dump, samgo_samgo SamGo |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |