https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=16679

Gerald Combs <ger...@wireshark.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOTABUG
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #3 from Gerald Combs <ger...@wireshark.org> ---
As Alexis says, the static number you're looking for is the interface's device
ID or name. The interface list is built from the list returned by Npcap or
WinPcap on Windows and libpcap on other platforms along with the contents of
the system and user extcap directories on your system. As you've noticed the
list can change at any time. Trying to enforce some sort of consistency any
time you attached or detached from a dock, plugged in a USB network adapter,
etc. would be an exercise in insanity.

According to the `tshark -D` output you've posted, you should be able to
reliably capture from your LAN interface using its interface ID:

tshark -i \Device\NPF_{0B941252-9EF6-4DCE-B60D-764E77C57C54}

If you wanted to capture from both the LAN and WiFi interface you could use

tshark -i \Device\NPF_{0B941252-9EF6-4DCE-B60D-764E77C57C54} -i
\Device\NPF_{AF4C6311-0014-4DFE-A78E-EFFCDD900F40}

Linux provides an "any" pseudointerface that lets you capture on all
interfaces. It might be useful for Npcap to do something similar, e.g. via
"any" or "any_active", but you'd have to open an enhancement request on their
issue tracker at https://github.com/nmap/npcap/issues.

-- 
You are receiving this mail because:
You are watching all bug changes.
___________________________________________________________________________
Sent via:    Wireshark-bugs mailing list <wireshark-bugs@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
             mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

Reply via email to