Wireshark fetching local loopback packets and fetching data

Source: Internet
Author: User
Tags command line

This article mainly introduced the Wireshark to crawl the local loop data packet and the method which takes out the data, needs the friend may refer to under

One: The NPF driver isn ' t running this error is caused by not opening the NPF service. NPF, the network packet filter (Netgroup Packet FILTER,NPF), is the core part of WinPcap, which is the component of WinPcap to complete the difficult work.   It handles packets transmitted over the network and provides a capture, send (injection) and analytical performance (analysis capabilities) to the user level. It not only provides basic features (such as grasping packages), but also has more advanced features (such as programmable filter system).   The former can be used to constrain a grab session to only a subset of network traffic, which provides a powerful and simple mechanism for statistical network traffic. The solution is as follows: (1) Ensure that you have installed the WinPcap (this will be prompted to install Wireshark) can also be downloaded from the official website: Address: http://www.winpcap.org/(2) at the command prompt, enter: net start NPF Prompts to open the drive service successfully.     As shown in the following figure: If you want to turn off the service, enter: net stop NPF. Second: Crawl The local loop data under Windows, enter the following statement on the command line: The code is as follows: Route add 192.168.1.106 Mask 255.255.255.255 192.168.1.1metric 1 of which, 192.168.1 .106 is a native IP, 192.168.1.1 is a routing gateway.   Nothing else will change. Note: The connection requires the use of native 192.168.1.106 IP, can not use 127.0.0.1, such as: The Code is as follows: socket. Connect ("192.168.1.106", 4530);

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.