kali 安装snort
时间: 2023-11-21 11:55:36 浏览: 168
以下是在Kali Linux中安装Snort的步骤:
1.更新Kali Linux的软件包列表和已安装的软件包:
```
sudo apt-get update
sudo apt-get upgrade
```
2.安装Snort的依赖项:
```
sudo apt-get install -y build-essential libpcap-dev libpcre3-dev libdumbnet-dev bison flex zlib1g-dev liblzma-dev openssl libssl-dev ethtool
```
3.下载和安装DAQ(Data Acquisition library):
```
wget https://www.snort.org/downloads/snort/daq-2.0.7.tar.gz
tar -xvzf daq-2.0.7.tar.gz
cd daq-2.0.7
./configure && make && sudo make install
```
4.下载和安装Snort:
```
wget https://www.snort.org/downloads/snort/snort-2.9.17.tar.gz
tar -xvzf snort-2.9.17.tar.gz
cd snort-2.9.17
./configure --enable-sourcefire --disable-open-appid && make && sudo make install
```
5.测试Snort是否安装成功:
```
snort -V
```
如果成功安装,将显示Snort的版本信息。
阅读全文