mac安装WireShark2.0新手教程

在你开始之前

此版本的Wireshark需要macOS 10.12或更高版本。如果您运行的是macOS的早期版本,则可以使用其他打包系统(例如Homebrew或MacPorts)进行安装。

快速设置

要安装Wireshark,请将Wireshark应用程序捆绑包拖到Applications文件夹中。

为了能够捕获数据包,请安装 Install ChmodBPF 软件包。

如果要将 Wireshark, TShark, capinfos, editcap和 其他命令行实用程序 的路径添加到系统PATH,请安装 Add Wireshark到系统路径 包。

软件包安装详细信息

ChmodBPF安装程序将写入以下位置:

/Library/LaunchDaemons/org.wireshark.ChmodBPF.plist。启动守护程序,用于在系统启动时调整系统的数据包捕获设备(/ dev / bpf *)的权限。

/Library/Application Support/Wireshark/ChmodBPF. 启动守护程序属性列表的副本,以及启动守护程序运行的脚本。

创建名为“ access_bpf”的安装程序组。打开包的用户将添加到组中。

系统路径安装程序将写入以下位置:

/etc/paths.d/Wireshark。此文件中的文件夹名称会自动添加到PATH中

/etc/manpaths.d/Wireshark。此文件中的文件夹名称由man命令使用。

假定Wireshark安装在/ Applications中。

解除安装

要卸载Wireshark,请执行以下操作:

  • 1.Remove /Applications/Wireshark.app

  • 2.Remove /Library/Application Support/Wireshark

您可以通过 此磁盘上的卸载ChmodBPF软件包或通过Wireshark › 关于Wireshark › 文件夹 › macOS Extras来卸载ChmodBPF 。您还可以通过执行以下操作手动将其卸载:

  • 1.Unload the “org.wireshark.ChmodBPF.plist” launchd job

  • 2.Remove /Library/LaunchDaemons/org.wireshark.ChmodBPF.plist

  • 3.Remove the “access_bpf” group.

您可以通过从系统路径 包中删除Remove Wireshark来卸载系统路径组件,该软件包位于此磁盘上,也可以通过Wireshark › About Wireshark › Folders › macOS Extras来卸载。您还可以通过执行以下操作手动将其卸载:

1.Remove /etc/paths.d/Wireshark

2.Remove /etc/manpaths.d/Wireshark

Res

官网地址
mac最新版本下载地址
后续配置
Uninstall ChmodBPF

原文地址:https://www.cnblogs.com/spider008/p/mac-an-zhuangwireshark-xin-shou-jiao-cheng.html