This is a *brief* how to compile snort on Centos 5.2 x86_64 (64 bit).
First install dependencies (some of these dependencies are for base)
yum -y install mysql mysql-devel mysql-bench mysql-server mysql-devel php-mysql httpd gcc gcc-c++ pcre-devel php-gd gd libpcap-devel php php-pear
Then download snort and a set of rules. When you compile you need to specify the path to the libraries (all one line):
./configure –with-mysql –enable-dynamicplugin –with-libpcap-libraries=/usr/lib64/ –with-libpcre-libraries=/usr/lib64/ –with-libnet-libraries=/usr/lib64/ –enable-dynamicplugin LDFLAGS=’-L/usr/lib64 -L/usr/lib64 -L/usr/lib64/mysql’
That’s it, make and make install then configure snort.
wondergul think))
what a wonderful think to read thjs post!
where I may find more niformation?
It was very useful!
Where I may to find blogs on this topic?
@ Bird and Ola :
What kind of information are you looking for ?
I wrote a how-to on snort and ossec for the Ubuntu Forums here :
http://ubuntuforums.org/showthread.php?t=919472
So nice!
Oh, it’s true, Ikno!w
Real story =)
such areap story..