centOS 编译tcpflow
来源:互联网 发布:单片机检测高低电平 编辑:程序博客网 时间:2024/04/30 07:25
本次是在10.9.18.110上做实验:
1 下载源码包到/data/aiquan.yuan目录:
wget http://www.circlemud.org/pub/jelson/tcpflow/tcpflow-0.21.tar.gz
2 解压:
gzip -d tcpflow-0.21.tar.gz
tar xvf tcpflow-0.21.tar
3 编译:
cd tcpflow-0.21:
./configure
make
make install
4 注意,3中./configure有可能出错:
configure: error:
Can't find the pcap library (libpcap.a); install the pcap library (from
ftp://ftp.ee.lbl.gov/libpcap.tar.Z ) and/or use
--with-pcap to specify the path to it on your system
When installing libpcap do both 'make install' and 'make install-incl'
此时说明需要安装libpcap,安装过程如下:
wget http://www.tcpdump.org/release/libpcap-1.3.0.tar.gz
解压进入目录,./configure make make install
5 tcpflow编译完毕,执行tcpflow命令时出错:
error while loading shared libraries: libpcap.so.1: cannot open shared object file: No such file or directory
在/usr/local/lib目录下, libpcap.so.1文件就躺在这里,为什么找不到呢。
解决方法:打开 /etc目录下的文件ld.so.conf ,添加两行
/usr/local/lib
/usr/lib
然后在终端下执行从新加载配置的命令:
ldconfig
6 最后,执行 tcpflow -cp 命令查看
抓包工具wireshark:
1 sudo apt-get install wireshark-common
2 sudo wireshark
- centOS 编译tcpflow
- CentOS tcpflow抓包
- tcpflow
- tcpflow 安装
- tcpflow命令使用总结
- tcpflow 抓包
- CentOS 编译内核
- CentOS 5.3 内核编译
- CentOS aMule 编译
- 编译CentOS 5.3内核
- centos 3 编译condor
- CentOS编译安装lamp
- centos 编译安装glib
- centos编译linux内核
- centos编译内核
- CentOS内核编译
- centos 6.0编译filezilla
- CentOS 编译 rebar出错
- 反射机制剖析(二): 利用抽象工厂实现BeanFactory
- jqplot的DateAxisRenderer使用min、max时用到的问题
- kmalloc和vmalloc的区别
- Memcached与Redis区别
- apt-get remove openjdk*
- centOS 编译tcpflow
- Win7无法识别U盘
- Ubuntu 下编译 openJDK7
- Linux动态连接原理 GOT PLT表详解
- ICE Manual(Documentation for Ice 3.5)---Connection Management(Bidirectional Connections)
- 如何进入系统调用
- SSH-KeyGen 的用法
- linux磁盘配额设定
- “万能makefile”写法详解,一步一步写一个实用的makefile,详解 sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \