It is easy to install wireshark with UbuntuSoftwareCenter, and the speed of using ipv6 software source in CERNET is also good. However, wireshark cannot be used without any settings after installation. When wireshark is enabled, "therearenointerfacesonwhichacapturecanbedone" is displayed ". This is because by default, normal users do not have the permission to intercept network data.
Installing wireshark with Ubuntu Software Center is still very easy, and the speed of using ipv6 in CERNET is also very good.
However, wireshark cannot be used without any settings after installation. When wireshark is enabled, the system prompts "thereare no interfaces on which a capture can be done ".
This is because by default, normal users do not have the permission to intercept network data.
Of course, you can run sudowireshark to use wireshark normally, but this is not a good method, as wireshark prompts:
"Running as user" root "andgroup" root ".
This cocould be dangerous.
If you're running Wireshark this way inorder to perform live capture, you may be want to be aware that there isa better way too ented
/Usr/share/doc/wireshark-common/README. Debian"
For more information, see/usr/share/doc/wireshark-common/README. Debian and network:
Wireshark uses the privilegeseparation policy. Different processes have different priorities.
Role
PrivilegeLevel
Description
Capture
OS-dependent
Readslive capture data
Dissection
Non-privilegeduser, possibly chrooted
Dissectspacket data. The majority of Wireshark's security-related bugshave been in its dissection code.
Filesystem
Normaluser
Normalfile-handling, e.g. reading and writing capture files, preferences, etc.
The dumpcap process that captures real-time data requires the permissions of the Super User. To enable normal users to use wireshark normally, we recommend that you add users to the wireshark group so that when you run wireshark, The dumpcap process has a high priority, other related processes still have the permissions of common users.
Run sudo dpkg-reconfigurewireshark-common to create a wireshark user group.
Add users who need to run wireshark to the wireshark group:
Sudo usermod-a-G wireshark $ USER
Then, log on again as the user.