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.




Network Security Snort-Users
[Top] [All Lists]

RE: [Snort-users] Response 1: Barnyard trouble acid_db

Subject: RE: [Snort-users] Response 1: Barnyard trouble acid_db
Date: Fri, 24 Feb 2006 11:26:31 -0500
Thanks for your help I am running cvsup now src then ports.
In reference to:
 Does each barnyard require its own unifed log/alert
file or can multiple barnyard processes share the same output file?

I don't believe they can share the same output file.  I'm not certain about 
that, though.  (I'm also not sure why you would want to do that.)

--- I would like to setup  BASE consoles for different groups of users.
--- For instance my group needs to look at all traffic entering the Border DMZ
--- and keep that traffic in one database for one week daily review and another 
database
--- for one month for monthly reports.
--- Each customer wants to review alerts generated by traffic to or from his 
DMZ behind the Border DMZ.
--- The amount of alerts I review is huge,as a result the mysql database is 
large and slow to load under ACID.
--- The amount of alerts this customer generates is miniscule in comparison to 
the number
--- of alerts I have to review. So what I was going to do was create a database 
named
--- snort_cust1 and a BASE installation for that customer so she can review her 
alerts whenever
--- she wants as opposed to once a month when I generate a report with a canned 
SQL query.
--- I am assuming that snort will allow me to create as many unified logs as I 
desire, say three(1):
--- One for the Border DMZ weekly, One for the Border DMZ archive monthly, One 
for the customer.
--- I was planning to use the berkley filter option in Barnyard to limit the 
scope of what traffic
--- is captured to the Customer's Network.
--- Thank you,
----Raymond
-----Original Message-----
From: Paul Schmehl [mailto:pauls@utdallas.edu]
Sent: Thursday, February 23, 2006 16:12
To: Jacob, Raymond A Jr; snort-users@lists.sourceforge.net
Subject: Re: [Snort-users] Response 1: Barnyard trouble acid_db


--On Thursday, February 23, 2006 15:34:55 -0500 "Jacob, Raymond A Jr" 
<raymond.jacob@navy.mil> wrote:

I believe I downloaded the packages from
ftp.bsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/All/barnyard-0.2.
0.tbz  48303 Oct 12 13:36 and
ftp.bsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/barnyard-0.2.0.t
bz     48329 Feb 12 11:43

I tried both packages and they could not find the acid_db plugin.

Thanks.  I'll d/l them and try to figure out what's going on.

Next I took your suggestion and cd to /usr/ports/security/barnyard/
and ran make install.

ports kept trying to fetch mysq-client-4.13.tar.gz from alot of strange
places.

The port Makefile assumes that bsd.ports.mk will make the decision about 
what version of mysql-client to use.

I am thinking because I have not run cvsup yet  that
the ports tree is out of date. I can not run cvsup until after hours and
I forgot to run it last night.

Definitely cvsup first.

Next:
I downloaded the package:
 ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/databases/my
sql-client-4.1.13.tbz

then ran pkg_add -f mysql-client-4.1.13.tbz. I had already installed
mysql-client-4.1.16_1 to get snort to send alerts to the mysql database
before I decided to try barnyard. so I had to force the install of
mysql-client-4.1.13.tbz.

I don't know why barnyard requires mysql-client-4.1.13 and did not use
mysql-client-4.1.16_1 in /var/db.

It most likely has to do with when the pkg was built.  That's why I never 
use packages.

I typed: cd
/usr/ports/security/barnyard,ran make, make install, and clean. I ran
barnyard.I did not get mysql errors anymore that I had with version that
I downloaded from www.snort.org/dl/barnyard and barnyard is attempting to
contact the mysql database.

A few questions if I may:
Question1: It is my understanding one can have more than one instance of
barnyard running.

Yes, this is true.

 Does each barnyard require its own unifed log/alert
file or can multiple barnyard processes share the same output file?

I don't believe they can share the same output file.  I'm not certain about 
that, though.  (I'm also not sure why you would want to do that.)

Question2: How do I turn the /doc/USAGE file into a man page?

You don't, unless you know a utility that will convert text files into man 
pages.

Question3: Where is the MASTER_SITE info kept for mysql? I would like to
speed up install when I do this on another box instead of typing
make MASTER_SITE_OVERIDE
=ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/databases/
in the /usr/ports/database/mysql41-client directory.

They're defined in /usr/ports/Mk/bsd.sites.mk.  Search for 
MASTER_SITE_MYSQL in the file.  The list is immediately below that.  If 
there's a site that's not working, please let the folks at FreeBSD know so 
they can fix or remove it.

Paul Schmehl (pauls@utdallas.edu)
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/


-------------------------------------------------------
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_______________________________________________
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

<Prev in Thread] Current Thread [Next in Thread>