欢迎光临
我们一直在努力

CentOS 6.5 snort安装

yum install pcre*

yum install gcc-c++

wget https://libdnet.googlecode.com/files/libdnet-1.12.tgz

tar -xzvf libdnet-1.12.tgz

./configure;make;make install

wget https://www.snort.org/downloads/snort/daq-2.0.4.tar.gz

wget https://www.snort.org/downloads/snort/snort-2.9.7.2.tar.gz

tar xvfz daq-2.0.4.tar.gz

cd daq-2.0.4

./configure

make

make install

tar xvfz snort-2.9.7.2.tar.gz

cd snort-2.9.7.2

./configure –enable-sourcefire

make

make install

cp ./snort-2.9.7.2/etc/snort.conf /etc/snort/

cp ./snort-2.9.7.2/etc/threshold.conf /etc/snort/

https://www.snort.org/downloads/community/community-rules.tar.gz

tar -zxvf community-rules.tar.gz

cp community-rules/community.rules /etc/snort/rules/

#启动

snort -d -l /var/log/snort -c /etc/snort/snort.conf -D

相关设定将持续更新[避免开启过程中的漏报和误报,是重点]

赞(0)
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。