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@xxxxxxxxx>
> 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@xxxxxxxxxxxxx>
> Archives: http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
> mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe