wireshark catch a local package

# Wireshark catch a local package

1. wireshark catch a local package

windows system does not provide an interface local loopback network, using wireshark to monitor network traffic, then only see through the network card, can not see the traffic access localhost, because wireshark default on windows system uses WinPcap task package can now be with Npcap replace in WinPcap, Npcap is developed based on WinPcap 4.1.3, api compatible with WinPcap.

2. Install npcap

2.1 software download

Npcap project home page, it uses the MIT open source license, Npcap download
https://github.com/nmap/npcap
https://github.com/nmap/npcap/releases

2.2 Installation

After downloading an exe file.
To check the Use DLT_NULL protocol sa Loopback ... and install npcap in winpcap api-compat mode during installation.

Note: If wireshark already installed, please uninstall before installing WinPcap.

2.3 Run

The installation is complete start wireshark, network interface can be seen in the list, more than a Npcap Loopback adapter, this task is the local loopback network interface of the package.

It not only can grab the URL is localhost, can also be 127.0.0.1.
Of course, catch the local IP is totally acceptable.

Guess you like

Origin www.cnblogs.com/wodeboke-y/p/11600868.html