1.安装libpcap与libpcap-devel
yum install libpacp*
2. 安装libpcre
yum install pcre*
3. 安装libnet
下载libnet (http://libdnet.sourceforge.net/)
wget http://prdownloads.sourceforge.net/libdnet/libdnet-1.11.tar.gz?download
tar xvf libdnet-1.12.tgz
cd libdnet-1.12
./configure && make && make install
4. 安装daq
源码安装:
wget https://www.snort.org/downloads/snort/daq-2.0.6.tar.gz
tar -zxvf daq-2.0.6.tar.gz
cd daq-2.0.6
./configure && make && make install
5. 安装snort
wget https://www.snort.org/downloads/snort/snort-2.9.8.2.tar.gz
tar xvfz snort-2.9.8.2.tar.gz cd snort-2.9.8.2 ./configure --enable-sourcefire && make && sudo make install