码迷,mamicode.com
首页 > 其他好文 > 详细

wireshark使用

时间:2018-04-22 20:07:58      阅读:238      评论:0      收藏:0      [点我收藏+]

标签:not found   col   python   com   color   image   gen   lib64   splay   

 

 yum install -y wireshark

  

[root@lb01 ~]# wireshark
-bash: wireshark: command not found

  

[root@lb01 ~]# whereis wireshark
wireshark: /usr/lib64/wireshark /usr/share/wireshark

  

[root@lb01 ~]# cd /usr/lib64/wireshark/
[root@lb01 wireshark]# ls
plugins  python

  

[root@lb01 wireshark]# cd /usr/share/wireshark/;ls
AUTHORS-SHORT  diameter      mergecap.html    smi_modules
capinfos.html  dtd_gen.lua   pdml2html.xsl    text2pcap.html
cfilters       dtds          profiles         tpncp
colorfilters   dumpcap.html  radius           tshark.html
console.lua    editcap.html  randpkt.html     wimaxasncp
COPYING        help          rawshark.html    wireshark-filter.html
dfilters       ipmap.html    reordercap.html  wireshark.html
dftest.html    manuf         services         ws.css

  解决方法:
http://forums.fedoraforum.org/showthread.php?p=1307301

yum search wireshark   #(搜索匹配特定字符的rpm包)

  技术分享图片

 yum install wireshark-gnome.x86_64 -y    #(wireshark的图形界面)

  

[root@lb01 wireshark]# whereis wireshark
wireshark: /usr/sbin/wireshark /usr/lib64/wireshark /usr/share/wireshark /usr/share/man/man1/wireshark.1.gz

不能显示:

[root@lb01 wireshark]# wireshark

(wireshark:4539): Gtk-WARNING **: cannot open display: 

1、SDL安装问题,开发机与本机环境必须都支持SDL,在两台机器上正确安装或更新SDL程序

http://blog.sina.com.cn/s/blog_12dc39be90102vn3j.html

https://www.cnblogs.com/luruiyuan/p/5627282.html

技术分享图片

技术分享图片

 

2、检查已开启

# vim /etc/ssh/sshd_confi

X11Forwarding yes

3、开启xshell客户端功能

技术分享图片

 

 

 

 

 

参考:

 1   https://www.linuxidc.com/Linux/2014-09/106522.htm

2  https://blog.csdn.net/lux_veritas/article/details/19244349

wireshark使用

标签:not found   col   python   com   color   image   gen   lib64   splay   

原文地址:https://www.cnblogs.com/machangwei-8/p/8908448.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!