Compile snort on Centos 5.2 x86_64
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.
Posted in Linux
wondergul think))
Comment by Stone — January 18, 2009 @ 2:29 pm
what a wonderful think to read thjs post!
Comment by Torr — January 19, 2009 @ 5:16 am
where I may find more niformation?
Comment by Bird — January 19, 2009 @ 10:07 am
It was very useful!
Comment by Light — January 19, 2009 @ 2:30 pm
Where I may to find blogs on this topic?
Comment by Ola — January 20, 2009 @ 4:47 am
@ 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
Comment by bodhi.zazen — January 20, 2009 @ 3:13 pm
So nice!
Comment by Best — January 21, 2009 @ 4:09 am
Oh, it’s true, Ikno!w
Comment by Beddy — January 21, 2009 @ 8:58 am
Real story =)
Comment by Blues — January 21, 2009 @ 1:54 pm
such areap story..
Comment by Nice — January 22, 2009 @ 7:42 am