Wireshark(不久以前叫Ethereal)是著名的网络协议分析工具,支持多种协议报文解析……(此处省略若干字),下面是来自官方的说明:“Wireshark is the world's foremost network protocol analyzer, and is the de facto (and often de jure) standard across many industries and educational institutions”。
Wireshark支持Uinx和Windows等多平台,按照官方的Developer's Guide在Windows下编译一个版本(0.99.8),以下是编译步骤:(和Developer's Guide的Win32 Step-by-Step Guide一样)。
1.安装VC编译器和Platform SDK。
在Windows用VC6到VC9之间的任个编译器(VS2003 Toolkit除外)都可以编译Wireshark。“Don't use cygwin's gcc!.”GCC(当然是Windows的)是不能正确编译或者需要花一定的力气才能正确编译,所以手册中没有不推荐使用GCC。
至于Platform SDK在安装 Visual Studio的时候都默认安装的有,所以额外安装。没有安装Visual Studio?不是吧?到街上按照5 RMB/张光盘买个版本回来按照安装说明安装。到网下载?加上MSDN体积有点大,还是到街上买个D版的方便。
注意:安装时要设置vcvars32.bat作为系统变量或者在编译前调用vcvars32.bat。
2.安装
Wireshark编译环境设置和编译
最新推荐文章于 2024-05-29 21:01:35 发布