How does wireshark capture local data packets?

零下一度
Release: 2017-06-25 09:46:38
Original
2514 people have browsed it

In the windows system, the data packets sent to itself locally do not go through the real network interface, but are sent through the loopback interface, so it cannot be captured using winpcap which can only capture data from the real network interface. For local data packets, you need to use npcap. npcap is developed based on winpcap 4.1.3. The API is compatible with WinPcap and provides "npcap loopback adapter" to capture the data packets sent locally to itself.

Usage:

1. Download and installWireShark, the version number must be higher than1.12.8 and1.99.9, there is no need to install them if they are already installed. Please close them before installing npcap.

#wireshark download

# #2. Download and install npcap. If there is winpcap on this machine, please uninstall it first.

npcap下载

3. After the installation is complete, enter wireshark, open the menu "Capture->Options", and in the input interface of the pop-up dialog box, You can see the "npcap loopback adapter" interface, select the interface and start capturing.

End

The above is the detailed content of How does wireshark capture local data packets?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!