如何在OSX Catalina中使用Wireshark捕获USB流量(10.15) [英] How to capture USB traffic with Wireshark in OSX Catalina (10.15)
问题描述
我正在尝试使Wireshark USB捕获工作.显然,在Catalina之前的技巧是打开接口,以便Wireshark可以看到它.
I am trying to get Wireshark USB captures working. Apparently the trick prior to Catalina was to just bring the interface up so that Wireshark could see it.
https://forums.developer.apple.com/thread/95380
但是,这在Catalina中不起作用,因为USB集线器不再显示为接口.是否有另一种已知方法可以在OSX中生成"这些接口?也许是新的系统策略设置?如何找到这样的东西?
However, this does not work in Catalina because the USB hubs are not shown as interfaces any longer. Is there another known way to "bring up" these interfaces in OSX? Perhaps a new system policy setting? How would one go about finding such a thing?
现在可能已经坏了.我想象Wireshark和ifconfig使用相同的API来收集有关接口的信息.
It might just be broken now. I imagine Wireshark and ifconfig use the same API to gather info about the interfaces.
推荐答案
您需要先禁用SIP
- 重新启动您的Mac
- 按住Command-R重启进入恢复模式
- 单击实用程序"->终端",键入" csrutil disable ",然后单击Enter.
- 重新启动您的Mac
- Restart your Mac
- Hold down Command-R to reboot into Recovery Mode
- Click Utility->Terminal, type "csrutil disable", click Enter.
- Restart your Mac
然后你可以使用sudo ifconfig XHC20 up"命令
这篇关于如何在OSX Catalina中使用Wireshark捕获USB流量(10.15)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!