ubuntu下安装wireshark

Wireshark是一款非常流行的协议分析软件。

Wireshark on ubuntu 11.04

apt-get安装:

apt-get install wireshark

出于安全方面的考虑,普通用户不能够打开网卡设备进行抓包,wireshark不建议用户通过sudo在root权限下运行,wireshark为ubuntu(Debian)用户提供了一种在非root下的解决方法。(详细解释可以参考:/usr/share/doc/wireshark-common/README.Debian)

具体步骤:

dpkg-reconfigure wireshark-common

“Should non-superusers be able to capture packages?”

选择Yes (默认是no

在组策略中会出现wireshark组,默认没有任何用户属于这个组,只需把特定的用户加入组中(需要注销后重新登录来使设置生效)就可以以该用户来运行wireshark实时抓网络数据包。

发表评论?

0 条评论。

发表评论


注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Canonical URL by SEO No Duplicate WordPress Plugin