欢迎来到天天文库
浏览记录
ID:16287863
大小:687.00 KB
页数:15页
时间:2018-08-09
《wireshark(ethereal)安装使用》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、wireshark的安装和使用Wireshark是世界上最流行的网络分析工具。这个强大的工具可以捕捉网络中的数据,并为用户提供关于网络和上层协议的各种信息。与很多其他网络工具一样,Wireshark也使用pcapnetworklibrary来进行封包捕捉。Wireshark的优势:-安装方便。-简单易用的界面。-提供丰富的功能。Wireshark的原名是Ethereal,新名字是2006年起用的。当时Ethereal的主要开发者决定离开他原来供职的公司,并继续开发这个软件。但由于Ethereal这个名称的使用权已经被原来那个公司注册,Wireshark这个新名字也就应运而生了
2、。系统要求:libpcap库对于Ethereal和Wireshark都非常重要,它们需要使用这个库的功能进行封包捕捉工作。如果您的系统中没有安装libpcap或者其它必要的组件,当您使用"apt-get"安装Ethereal或Wireshark时,它们都会被自动添加。请参考Wiresharktutorial。使用如下命令,可以得到Ethereal或Wireshark的详细依赖关系列表。#apt-cachedependswireshark#apt-cachedependsethereal这是在我们的系统上得到的结果:#apt-cachedependsetherealethere
3、al Dépend:libadns1 Dépend:libatk1.0-0 Dépend:libc6 Dépend:libcairo2 Dépend:libcap1 Dépend:libfontconfig1 Dépend:libglib2.0-0 Dépend:libgnutls12 Dépend:libgtk2.0-0 Dépend:libpango1.0-0 Dépend:libpcap0.8 Dépend:libpcre3 Dépend:libx11-6 Dépend:libxcursor1 Dépend:libxext6 Dépend
4、:libxfixes3 Dépend:libxi6 Dépend:libxinerama1 Dépend:libxrandr2 Dépend:libxrender1 Dépend:zlib1g Dépend:ethereal-common Recommande:gksu安装:1.使用安装包安装L2.手动安装3.安装TSHARK使用安装包安装:需要强调的是,Wireshark并没有提供针对Ubuntuedgy(6.10)之前版本的安装包,也没有直接提供能在Debian上稳定运行的版本。在这些情况下,您需要下载Ethereal的包,或者直接下载Wireshark的源
5、代码然后自行编译。UbuntuUbuntuEdgy(6.10)之前的版本:#apt-getinstalletherealUbuntuEdgy(6.10)之后的版本(包括Edgy):#apt-getinstallwiresharkDebian截止到2007年3月,还没有一个版本的Wireshark能在Debian上稳定运行。因此您可以选择下载EtherealEthereal#apt-getinstallethereal或者从debianpackagewebsite下载和使用不稳定版本的Wireshark。若要在Debian或者Ubuntu下运行Wireshark或者Ethere
6、al:#ethereal#wireshark手动安装:安装编译工具:#apt-getinstallbuild-essantial为了成功编译Wireshark,您需要安装GTK+的开发文件和GLib库(libraries)。#apt-getinstalllibgtk2.0-devlibglib2.0-dev安装Checkinstall以便管理您系统中直接由源代码编译安装的软件。#apt-getinstallcheckinstall下载并解压缩Wireshark的源代码:#tar-xvfwireshark-0.99.5.tar.gz检查Wireshark的依赖关系:#cdwir
7、eshark-0.99.5#./configure如果出现如下错误信息,说明您需要安装GTK+和GLib库(请参照前述步骤):checkingforGTK+-version>=2.0.0...no***CouldnotrunGTK+testprogram,checkingwhy...***Thetestprogramfailedtocompileorlink.Seethefileconfig.logforthe***exacterrorthatoccured.ThisusuallymeansGTK+is
此文档下载收益归作者所有