Granting Wireshark capture privileges does not allow USB capture
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wireshark (Ubuntu) |
Opinion
|
Undecided
|
Unassigned |
Bug Description
Mentioned this at
https:/
Moved it here at Evan Huus's request. Two relevant posts from that thread:
Paul Robinson (funwithlibelium wrote 3 hours ago: #16
Hello,
I'm running Ubuntu 10.11 on a single user Lenovo laptop. Wireshark is 1.6.2., libpcap is 1.1.1-8.
To the best of my ability, I set up Wireshark according to 1./b. in /usr/share/
I'm on this Linux/Wireshark journey because I need to look at USB packets on this computer, and Wireshark has that ability.
When I start Wireshark from the Ubuntu GUI, the following four choices show up under the capture Interface List: eth0, wlan0, Pseudo-device..., lo. I can start a capture on wlan or Pseudo... and see all kinds of gobbledegook. But no USB choices appear.
After tearing my hair out for a good long time, I mean learning a lot, I asked a person with more Linux experience than I have to take a look. After a while, he tried opening a terminal and typing
sudo wireshark
Voila, there were the USB interfaces, and they work.
So, it seems in my case, to get one of Wireshark's advertised features, I must run it as root, and receive the mentioned warning and the error in the title of this thread.
Or, I'm doing something wrong, and I hope one of you will gently point me in the right direction.
Paul
Evan Huus (eapache) wrote 2 hours ago: #17
The way I understand it is that you've run across a different bug: namely that granting Wireshark capture privileges (which it sounds like you did correctly, given that you can capture on the network interfaces), does not grant it USB capture privileges.
I'm not on an Ubuntu machine right now, but I'll do some digging when I get home this evening and see if I can figure out what's going on. In the meantime, I would appreciate it if you could file a new bug for this issue by running the command 'ubuntu-bug wireshark'. I'd rather not clutter up the comments thread on this one if it can be helped.
Thanks,
Evan
---
Ubuntu Bug Squad Volunteer
https:/
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: wireshark 1.6.2-1
ProcVersionSign
Uname: Linux 3.0.0-13-
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Tue Nov 22 16:17:48 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: wireshark
UpgradeStatus: No upgrade log present (probably fresh install)
With a little testing I have been able to confirm this bug. I'll have to do further work to figure out the why, but it is definitely reproducible.