kali 下snort安装软件包,配置环境
实验环境:
kali-linux-2020.1 debian8
安装snort及其依赖包
在官网上下载snort, daq
https://www.snort.org/downloads
1 2 3 4 5 6 7 8 9 10 11
| snort-2.9.17.tar.gz
daq-2.0.7.tar.gz
进行安装包解压:
tar -zxvf snort-2.9.17.tar.gz
tar -zxvf daq-2.0.7.tar.gz
|
安装daq所依赖的开发包
1 2 3 4 5
| Apt-get install flex
Apt-get install bison
Apt-get install libpcap-dev
|
对dag包进行编译
1 2 3
| cd daq-2.0.7
./configure && make && make install
|
安装snort所依赖的软件包
1 2 3 4 5 6
| Apt-get isnatll libpcre3-dev
Apt-get install libdumbnet-dev
Apt-get install zlib1g-dev
|
对snort包进行编译
1 2 3
| cd snort-2.9.17
./configure --enable-sourcefire --disable-open-appid && make && sudo make install
|