Wireshark mailing list archives

Re: BUG: infinite loop in "dumpcap -L" with rpcap:// interface since 2.2.0


From: Jeff Morriss <jeff.morriss.ws () gmail com>
Date: Wed, 21 Sep 2016 16:31:46 -0400

On Fri, Sep 16, 2016 at 10:40 AM, Lukas Tribus <luky-37 () hotmail com> wrote:

Hello,


dumpcap (and wireshark, if using that dumpcap feature) hangs using a full
CPU core since 2.2.0 in the following conditions:

- OS is Windows (other OS'es unknown)
- interface is remote ("rpcap://...")
- dumpcap is trying to read the link type (-L)


For example, old stable 2.0.6 works fine:
Wireshark206Portable\App\Wireshark>dumpcap -i rpcap://[172.22.0.12]/eth0
-L
Data link types of interface rpcap://[172.22.0.12]/eth0 (use option -y to
set):
  EN10MB (Ethernet)



\Wireshark220Portable\App\Wireshark>dumpcap -i rpcap://
[172.22.0.12]/eth0 -L
<<--- hangs using a full CPU core


Wireshark, if using this dumpcap feature hangs as well (when adding remote
interfaces).

Wireshark 2.0.6 and previous releases work fine.


For the record it looks like you did the right thing :-) and submitted a
bug report for this:

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

Current thread: