Wireshark mailing list archives

Re: Problems with capturing on multiple interfaces


From: Michael Tüxen <Michael.Tuexen () lurchi franken de>
Date: Thu, 19 May 2011 22:50:25 +0200

On May 19, 2011, at 6:57 PM, Joerg Mayer wrote:

iHello Michael,

I just tried to do capture on multiple interfaces. dumpcap is suid root.

jmayer@egg:~/work/wireshark/svn/build> dumpcap -i ppp0  -t
File: /tmp/wireshark_ppp0_20110519185613_vsDXd7
Packets: 2 ^CPackets captured/dropped on interface ppp0: 2/0
jmayer@egg:~/work/wireshark/svn/build> dumpcap -i lo  -t
File: /tmp/wireshark_lo_20110519185621_GFHuue
Packets: 2 ^CPackets captured/dropped on interface lo: 4/0
jmayer@egg:~/work/wireshark/svn/build> dumpcap -i lo -i ppp0  -t
The capture session could not be initiated (ppp0: You don't have permission to capture on that device (socket: 
Operation not permitted)).
Please check to make sure you have sufficient permissions, and that you have the proper interface or pipe specified.

Why do I run into a permission problem once I specify more than
one interface?
Hi Jörg,

it was a bug. I did not move the code for given up the permissions
to a place where all interfaces were opened. I checked in a fix
in r37311. Please retest and let me know if this fixes your issue.

Best regards
Michael

Ciao
Jörg
-- 
Joerg Mayer                                           <jmayer () loplof de>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: