Because I found that many people want to capture packets, but they don’t know what tools are available. Today I recommend several packet capture tools for you, hoping to help you.
Uses of network capture tools
The main function of the network packet capture tool is to record the process of network execution in detail. If you are a programmer, you must have a certain understanding of network capture. When there is a problem with the network communication part of the program written by myself, grab the package, and generally you can quickly locate the cause of the program problem. Of course, crackers and network security practitioners will also use network capture.
Commonly used packet capture tools
Fiddler
Fiddler is a very useful packet capture tool, which can be used to capture http/https data packets. It is often used for capturing packets in Windows systems. It has the advantage that it is free
Charles
Charles is developed by JAVA and can run on window Linux MacOS, but it is charged, and it is very similar to the Fiddler tool. Many MacOS users like to use this software
Proxyman
Proxyman is a very good packet capture software under MacOS system, it is free to use, and the interface is very nice, highly recommended
Wireshark
Wiresark is a super powerful packet capture tool. It is a must-use tool for network engineers. It is also a cross-platform tool that can be used on Windows, Linux, and macOS. It can not only analyze the data of http/https, but also analyze the data above the second layer of the network, such as the three-way handshake of tcp, etc., but if you only analyze the http protocol, you don’t need such a professional tool, so as not to increase the cost of screening requests and learning costs
HttpCanary
HttpCanary is a packet capture software for Android. It does not require root. The free version can basically meet the daily packet capture needs. If you want to directly capture packets with your mobile phone, you can try it
tcpdump
Tcpdump is a commonly used packet capture tool under Linux. It is a command line tool that can capture data similar to Wireshark, and the saved data packets can be analyzed in Wireshark. If your Linux server needs to capture packets and analyze problems, it is a very good choice.
The "Developer Tools" that come with your browser
All browsers on the computer side have developer tools. If the demand is not particularly high, using the developer tools that come with the browser can basically meet the daily needs of packet capture.
The above is some of my understanding of the packet capture tool, which can be selected according to different systems and different needs. I hope it will be helpful to everyone.