wireshark使用
1 | yum install -y wireshark |
1 2 | [root@lb01 ~]# wireshark -bash: wireshark: command not found |
1 2 | [root@lb01 ~]# whereis wireshark wireshark: /usr/lib64/wireshark /usr/share/wireshark |
1 2 3 | [root@lb01 ~]# cd /usr/lib64/wireshark/ [root@lb01 wireshark]# ls plugins python |
1 2 3 4 5 6 7 8 9 | [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
1 | yum search wireshark #(搜索匹配特定字符的rpm包) |
1 | 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
https://jingyan.baidu.com/article/67508eb4d7fffe9ccb1ce475.html
2、检查已开启
# vim /etc/ssh/sshd_confi
X11Forwarding yes
3、开启xshell客户端功能
https://www.cnblogs.com/52php/p/6262956.html
参考:
1 https://www.linuxidc.com/Linux/2014-09/106522.htm
2 https://blog.csdn.net/lux_veritas/article/details/19244349
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· C#/.NET/.NET Core优秀项目和框架2025年2月简报
· 什么是nginx的强缓存和协商缓存
· 一文读懂知识蒸馏
· Manus爆火,是硬核还是营销?