unknown data link type -1

asked 2020-06-26 03:23:20 +0000

jayashanker gravatar image

Using Wireshark and when trying to configure capture filter from ther the initial interface screen i am getting "unknown data link type -1" error.. The interface i am choosing is wireless and my capture filter is just "tcp" (i tried other filters as well all same errors)... When i choose the interface as loopback all is fine (no errors)

edit retag flag offensive close merge delete


Can you provide output from wireshark -v ?

Chuckc gravatar imageChuckc ( 2020-06-26 03:26:19 +0000 )edit

Are you able to capture on that interface anyway, without capture filter?

Jaap gravatar imageJaap ( 2020-06-26 05:24:08 +0000 )edit

yes i am able to capture without capture filter

jayashanker gravatar imagejayashanker ( 2020-06-26 09:52:49 +0000 )edit

here is the output of wireshark -v

C:\Program Files\Wireshark>Wireshark.exe -v

C:\Program Files\Wireshark>

Wireshark 3.2.3 (v3.2.3-0-gf39b50865a13)

Copyright 1998-2020 Gerald Combs <[email protected]> and contributors.
License GPLv2+: GNU GPL version 2 or later <https://www.gnu.org/licenses/gpl-2.0.html>
This is free software; see the source for copying conditions. There is NO

Compiled (64-bit) with Qt 5.12.6, with WinPcap SDK (WpdPack) 4.1.2, with GLib
2.52.3, with zlib 1.2.11, with SMI 0.4.8, with c-ares 1.15.0, with Lua 5.2.4,
with GnuTLS 3.6.3 and PKCS #11 support, with Gcrypt 1.8.3, with MIT Kerberos,
with MaxMind DB resolver, with nghttp2 1.39.2, with brotli, with LZ4, with
Zstandard, with Snappy, with libxml2 2.9 ...
jayashanker gravatar imagejayashanker ( 2020-06-26 09:57:05 +0000 )edit

You may be running into an issue with this npcap version. You may want to consider updating to the latest one, found here.

Jaap gravatar imageJaap ( 2020-06-26 12:26:22 +0000 )edit