wireshark:no interface can be used for capturing in this system with the current configuration


通过./wireshark启动会出现no interface can be used for capturing in this system with the current configuration错误!!!

 

原因:是当前用户的权限问题

 

解决方法:

1.可以通过执行下面的命令来服务于/usr/bin/dumpcap权限

sudo setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap

2.可以通过sudo ./wireshark启动wireshark


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM