Wireshark使用报错: The capture session could not be initiated on interface

Posted 永远不要矫情

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Wireshark使用报错: The capture session could not be initiated on interface相关的知识,希望对你有一定的参考价值。

Wireshark是个不错的抓包工具,可以捕获HTTP,TCP和UDP的包,对于前后端开发非常有用。在Mac上安装完Wireshark之后提示如下错误:The capture session could not be initiated on interface 'en0' (You don't have permission to capture on that device).

查了一圈资料,发现是没有权限查看/dev/bfp*这些文件夹造成的。于是修改文件夹解决了问题。

sudo chmod o+r /dev/bpf*

参考地址:https://ask.wireshark.org/question/2023/how-to-fix-the-capture-session-could-not-be-initiated-on-interface-you-dont-have-permission-to-capture-on-that-device/

以上是关于Wireshark使用报错: The capture session could not be initiated on interface的主要内容,如果未能解决你的问题,请参考以下文章

Wireshark使用报错: The capture session could not be initiated on interface

Wireshark使用报错: The capture session could not be initiated on interface

Wireshark使用报错: The capture session could not be initiated on interface

Wireshark The capture session could not be initiated on interface报错解决

wireshark The temporary file to which the capture would be saved解决方案

use wireshark captureing http delays