Fourteenth-Day Adventist

  • 首页
  • 随笔
  • 隐私政策
  • RNGesus
  • 摄影画廊
ובחדש הראשון בארבעה עשר יום לחדש פסח ליהוה
ἐάν τι αἰτήσητέ με ἐν τῷ ὀνόματί μου ἐγὼ ποιήσω
  1. 首页
  2. 编程
  3. 正文

MacOS 14 Sonoma Wireshark 无法运行

2023/12/03 0人点赞 0条评论

用Homebrew安装Wireshark正常,但是无法抓包,安装需要的ChmodBPF出错

 ~ ▓▒░   brew install --cask wireshark   ░▒▓ ✔ | 19s | anaconda3 Py | 01:33:08 

==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-cask/05bc9bc
######################################################################### 100.0%
==> Downloading https://2.na.dl.wireshark.org/osx/Wireshark%204.2.0%20Arm%2064.d
######################################################################### 100.0%
==> Installing Cask wireshark
==> Running installer for wireshark with sudo; the password may be necessary.
Password:
installer: Package name is Add Wireshark to the system PATH
installer: Installing at base path /
installer: The install was successful.
==> Running installer for wireshark with sudo; the password may be necessary.
installer: Package name is ChmodBPF
installer: Installing at base path /
installer: The install failed. (安装器遇到了一个错误,导致安装失败。请联系软件生产企业以获得帮助。 运行软件包“Install ChmodBPF.pkg”的脚本时出错。)
==> Purging files for version 4.2.0 of Cask wireshark
Error: Failure while executing; `/usr/bin/sudo -u root -E LOGNAME=14 USER=14 USERNAME=14 -- /usr/sbin/installer -pkg /opt/homebrew/Caskroom/wireshark/4.2.0/Install\ ChmodBPF.pkg -target /` exited with 1. Here's the output:
installer: Package name is ChmodBPF
installer: Installing at base path /
installer: The install failed. (安装器遇到了一个错误,导致安装失败。请联系软件生产企业以获得帮助。 运行软件包“Install ChmodBPF.pkg”的脚本时出错。)

去官网下了个ARM的dmg,还是无法安装,添加了个启动项到设置里,但是安装最后还是提示出错,运行UninstallChmodBPF.pkg也出错

应该是我装了个Little Snitch的问题?但是这个防火墙软件没主动提示我要放行任何软件

解决方法是

sudo /Library/Application\ Support/Wireshark/ChmodBPF/ChmodBPF

运行这行代码之后再打开Wireshark就可以正常工作了

有安装Little Snitch的话也会提示你允许packet filter

标签: Mac Wireshark
最后更新:2023/12/03

Fourteenth-Day Adventist

Two more weeks, trust the plan!

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

Fourteenth-Day Adventist

Two more weeks, trust the plan!

标签聚合
Linux 编程 服务器 Dugin Global South 随笔 Duginism bug

COPYRIGHT © 2022 Fourteenth-Day Adventist. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang