https://github.com/snort3/snort3
https://github.com/snort3/libdaq
centos7.9
1、安装依赖文件
yum install wget libdnet-devel pcapy pcre-devel pcre libpcap-devel gcc cc flex flex-devel bison zlib-devel zlib luajit luajit-devel openssl-devel -y
2、安装daq
wget https://www.snort.org/downloads/snort/daq-2.0.7.tar.gz
tar zxvf daq-2.0.7.tar.gz
cd daq-2.0.7
./configure
make
make install
3.安装snort-2.9.20
wget https://www.snort.org/downloads/snort/snort-2.9.20.tar.gz
tar zxvf snort-2.9.20.tar.gz
cd snort-2.9.20
./configure
make
make install
4.部署完成-查看版本情况
snort -V