码迷,mamicode.com
首页 > 其他好文 > 详细

CentOS 6.5 snort安装

时间:2015-04-21 18:32:14      阅读:135      评论:0      收藏:0      [点我收藏+]

标签:centos 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


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


本文出自 “WoSec” 博客,请务必保留此出处http://pathyon.blog.51cto.com/9465112/1636600

CentOS 6.5 snort安装

标签:centos snort

原文地址:http://pathyon.blog.51cto.com/9465112/1636600

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!