CentOS6.5snort安装
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
相关设定将持续更新[避免开启过程中的漏报和误报,是重点]
当前文章:CentOS6.5snort安装
文章位置:http://scyanting.com/article/jejphd.html