Ask Your Question
0

usbpcap cannot be found after the wireshark4.0.10 source code is compiled.

asked 2023-11-15 02:52:00 +0000

In the cmakelists.txt file of the wireshark4.0.10 source code, there is no relevant option for USBPCAP, indicating that USBPCAP is not enabled by default. If it needs to be enabled by default, how should it be implemented and how should the relevant compiled files be modified?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-11-15 03:44:48 +0000

Jim Young gravatar image

USBPcap is a seperate (Windows only) project. The USBPcap installer (like the NPCAP installer) is bundled with the Windows based Wireshark installers for the convenience of Windows users.

For more details on the USBPcap project please see: https://desowin.org/usbpcap/

edit flag offensive delete link more

Comments

Thank you for your reply. Under Windows10, USBPcap has been installed. If I want the compiled version of Wireshark4.0.10 to be able to load USBPcap, what should I do? What configuration items should I modify?

roy_dengli gravatar imageroy_dengli ( 2023-11-15 06:17:00 +0000 )edit

In the cmakelists.txt file of the wireshark4.0.10 source code, there is no relevant option for USBPCAP, indicating that USBPCAP is not enabled by default.

No, it indicates that USBPcap is a third-party product that is bundled with Wireshark's Windows installer, rather than being part of the Wireshark project.

Therefore, there is no way to enable it when building Wireshark.

If it needs to be enabled by default, how should it be implemented and how should the relevant compiled files be modified?

It cannot be enabled, and it's not compiled as part of the process of building Wireshark.

If I want the compiled version of Wireshark4.0.10 to be able to load USBPcap, what should I do?

At a minimum, the USBPcapCMD.exe file must be installed in the "extcap" subdirectory directory of whatever directory contains the Wireshark executable. You might be able to do ...(more)

Guy Harris gravatar imageGuy Harris ( 2023-11-16 08:27:20 +0000 )edit

Thank you very much for your reply, I understand.

roy_dengli gravatar imageroy_dengli ( 2023-11-16 11:54:35 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2023-11-15 02:52:00 +0000

Seen: 120 times

Last updated: Nov 15 '23