前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Snort 基础14

Snort 基础14

作者头像
franket
发布2022-05-03 11:04:11
4370
发布2022-05-03 11:04:11
举报
文章被收录于专栏:技术杂记
包依赖总结

snort-2.9.7.6 依赖以下安装包

代码语言:javascript
复制
pcre.x86_64  pcre-devel.x86_64   libdnet.x86_64   libdnet-devel.x86_64   zlib.x86_64  zlib-devel.x86_64 daq-2.0.6

daq-2.0.6 依赖以下安装包

代码语言:javascript
复制
flex.x86_64  flex-devel.x86_64  bison.x86_64  bison-devel.x86_64  libpcap.x86_64  libpcap-devel.x86_64
汇总解决依赖
代码语言:javascript
复制
yum install flex.x86_64  flex-devel.x86_64  bison.x86_64  bison-devel.x86_64  libpcap.x86_64  libpcap-devel.x86_64  pcre.x86_64  pcre-devel.x86_64   libdnet.x86_64   libdnet-devel.x86_64   zlib.x86_64  zlib-devel.x86_64 

Tip: Make sure the following packages are installed in your CentOS 6.x system via System Administration Add/Remove Software (requires ‘root’ privileges): gcc version (4.4.6 including libraries), flex (2.5.35), bison (2.4.1), zlib (1.2.3 including zlib-devel ), libpcap (1.0.0 including libpcap-devel ), pcre (7.84 including pcre-devel ), libdnet (1.11 or 1.12 including libdnet-devel ) and tcpdump (4.1.0). Versions of these packages already installed may be newer than what is listed here, but should NOT cause any issues when compiling DAQ and/or SNORT.

下载源码包

代码语言:javascript
复制
wget https://www.snort.org/downloads/snort/daq-2.0.6.tar.gz
wget https://www.snort.org/downloads/snort/snort-2.9.7.6.tar.gz

安装daq-2.0.6

代码语言:javascript
复制
tar xvfz daq-2.0.6.tar.gz
cd daq-2.0.6
./configure; make; make install

安装snort-2.9.7.6

代码语言:javascript
复制
tar xvfz snort-2.9.7.6.tar.gz
cd snort-2.9.7.6
./configure --enable-sourcefire; make; make install

Tip: 可以使用 echo $? 来检验上一步是否成功返回


原文地址

本文系转载,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文系转载前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 包依赖总结
    • 汇总解决依赖
    领券
    问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档