ubuntu下snort的安装
来源:互联网 发布:java未来 编辑:程序博客网 时间:2024/05/18 02:18
1点击连接安装以下软件
点击打开链接
2.解压daq源码包,此时直接安装daq会有报错,缺少各种各样的依赖包,所以要先安装依赖包:bison、flex、libpcap(安装过程见我上一篇博文)
3.编译安装dap: 进入解压好的文件夹 ./configure
3.如果出现以下错误,点击(点击打开链接),安装pcre-8.40.tar.gz,并解压 编译 安装
#./configure
#make
#make check
#make install
错误原文:
checking pcre.h usability… no
checking pcre.h presence… no
checking for pcre.h… no
ERROR! Libpcre header not found.
Get it from http://www.pcre.org
4.再回到dap目录下继续 ./configure 如果出现如下,则配置成功
Build AFPacket DAQ module.. : yes Build Dump DAQ module...... : yes Build IPFW DAQ module...... : yes Build IPQ DAQ module....... : no Build NFQ DAQ module....... : no Build PCAP DAQ module...... : yes Build netmap DAQ module...... : no
5.编译:sudo autoreconf -ivf (如果没有autoreconf, 安装 sudo apt-get install autoconf automake libtool)
安装 : sudo make
sudo make install
6.进入snort目录,先安装下面的软件:libdumbnet-dev、zlib1g-dev
sudo apt-get install libdumbnet-dev zlib1g-dev
7.编译并安装snort
./configure --enable-sourcefire
sudo autoreconf -ivf
sudo make
sudo make install
snort会被安装到,如下目录:
snort: /usr/local/bin/snort /usr/local/lib/snort
8.启动snort
sudo snort时报错:
/usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
添加软链接:
sudo find / -type f -name *libpcre.so.*
sudo ln -s /lib/libpcre.so.0.0.1 /lib/libpcre.so.1
9.启动成功
Running in packet dump mode --== Initializing Snort ==-- Initializing Output Plugins! pcap DAQ configured to passive. Acquiring network traffic from "eno16777736". Decoding Ethernet --== Initialization Complete ==-- ,,_ -*> Snort! <*- o" )~ Version 2.9.8.0 GRE (Build 229) '''' By Martin Roesch & The Snort Team: http://www.snort.org/contact#team Copyright (C) 2014-2015 Cisco and/or its affiliates. All rights reserved. Copyright (C) 1998-2013 Sourcefire, Inc., et al. Using libpcap version 1.7.4 Using PCRE version: 8.35 2014-04-04 Using ZLIB version: 1.2.8 Commencing packet processing (pid=47760)
- ubuntu下snort的安装
- ubuntu下snort的安装
- ubuntu下安装snort
- ubuntu 下安装snort
- ubuntu 6.06下安装snort!
- Ubuntu 下安装snort-mysql
- windows下的snort安装
- Snort在Ubuntu上的安装总结
- Ubuntu安装snort
- Linux下Snort的安装配置
- WINDOWS下安装Snort
- Ubuntu下Snort从编译、安装到调试全过程
- Linux下安装snort(ubuntu为例)
- snort的安装
- README.WIN32:Snort在win32环境下的安装
- Windows 平台下基于 snort的入侵检测系统安装
- Windows 平台下基于 snort的入侵检测系统安装
- centos6.7的环境下安装snort、barnyard2和base
- 白痴理解的SOAP/Web Service/WSDL关系
- 读代码整洁之道
- Java复习之装饰者设计模式
- (转载)机器学习知识点(十二)坐标下降法(Coordinate descent)
- Android 自定义seekbar
- ubuntu下snort的安装
- cocos setPosition 之坑
- 深度学习:Imagenet Object Classification方法
- 深度解析gRPC以及京东分布式服务框架跨语言实战
- APP定制开发的完整流程
- $.each遍历对象、数组的属性值并进行处理
- 利用curator实现的zookeeper分布式锁服务
- PowerDesigner(四)-业务处理模型使用
- 将某列合并成字符串