WiresharkはMacでパケットをキャプチャしてエラーを報告できません

忘れないように

問題

Macがwiresharkを開いてパケットをキャプチャし、エラーを報告して、アクセス許可が許可されていないことを示します

“The capture session could not be initiated on interface ‘en0’ (You don’t have permission to capture on that device).
Please check to make sure you have sufficient permissions.
If you installed Wireshark using the package from wireshark.org, Try re-installing it and checking the box for the “Set capture permissions on startup” item.”

ここに画像の説明を挿入

方法

1.端子入力

sudo chmod 777 /dev/bpf*

2.wiresharkを再度開くとOKになります

おすすめ

転載: blog.csdn.net/qq_32505207/article/details/112533998