Snort mailing list archives
Re: Typical barnyard compile problems
From: Richard Bejtlich <richard_bejtlich () yahoo com>
Date: Thu, 13 May 2004 13:19:08 -0700 (PDT)
Hello,
I wanted to share the steps I followed to install
Barnyard 0.2.0 on FreeBSD 5.2.1. The problems
reported so far involve proper recognition of SSL
libraries, which I address for FreeBSD.
I installed Barnyard to work with Sguil, but this has
no effect on other setups.
First, I installed the
/usr/ports/databases/mysql40-client port with this
command:
make --with-vio --with-openssl
make install
The make parameters are the same as might be used with
a source installation. This follows the instructions
in the MySQL manual [0].
Next I edited the Barnyard configure script, adding
'-lcrypto' as suggested here [1].
LIBS="${LIBS} -lz -lssl -lcrypto -lmysqlclient"
Then I ran configure, make, and make install:
./configure --enable-mysql
make
make install
Now I'm ready to run Barnyard:
sensor:/usr/local/etc/snort$ barnyard -c barnyard.conf
-d /nsm/snort -g gen-msg.map -s sid-msg.map -f
snort.log -w waldo.file
Barnyard Version 0.2.0 (Build 32)
Opened spool file '/nsm/snort/snort.log.1084404301'
OpSguil_Start
Waiting for new data
This setup doesn't use SSL yet as I use other
encrypted tunnels between the sensor and database, but
SSL remains an option.
Sincerely,
Richard
http://www.taosecurity.com
[0]
http://dev.mysql.com/doc/mysql/en/Secure_requirements.html
[1] http://lists.freebsd.org/pipermail/freebsd-net/2003-August/001201.html
__________________________________
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2'
http://movies.yahoo.com/showtimes/movie?mid=1808405861
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
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
Current thread:
- Typical barnyard compile problems Mike Cohen (May 04)
- Barnyard & SnortAlog Cédric BLIN (May 05)
- Re: Typical barnyard compile problems Bamm Visscher (May 05)
- Typical barnyard compile problems (mysql error) Thomas Bechtold (May 10)
- Re: [Barnyard-users] Typical barnyard compile problems (mysql error) Andreas (May 05)
- Typical barnyard compile problems (mysql error) Thomas Bechtold (May 10)
- <Possible follow-ups>
- RE: Typical barnyard compile problems Michael Shirk (May 05)
- RE: Typical barnyard compile problems Mike Cohen (May 10)
- Re: Typical barnyard compile problems Richard Bejtlich (May 13)
