Lighter, more convenient clutch software than Wireshark: Charles

Source: Internet
Author: User

Ext.: http://blog.csdn.net/lixing333/article/details/42776187

Previously wrote a packet capture through Wireshark, analysis of the Internet connection of the article "Crawl iOS network data instance analysis by Wireshark": http://blog.csdn.net/lixing333/article/details/7782539

Recently some jobs need to grab the bag, after installing the Wireshark on my Mac, I find it can't run. Explore, find Wireshark interface with x Window, so need to run in X11 environment. After the installation of the X11, still flashback, after exploring no results, and then turned to find other software. After trying several grasping package software, discover that Charles this software is most convenient, even than wireshark this old-style grasping packet analysis tool also to use more.

Wireshark Although the function is very powerful, can grasp each package, carries on various types of filtering, but this also causes it the study cost is very high, is not easy to get started; Moreover, Wireshark by default is to monitor all devices, including the various software on the computer, the browser, and the network connection on the device connected to the computer hotspot, More clutter, trying to find the network connection we need is more troublesome. Like this picture below, can you read it? Anyway, I don't understand. Need to filter and so on operation, anyway the trouble is very.

Charles had no such trouble. Charles is a very lightweight software that does not monitor all network connections on the NIC, but only monitors the network connection for a specific port (the default is Port 8888), so that other unrelated data is first masked. As follows:

How to use: pre-preparation still like "Crawl iOS networked data instance analysis via Wireshark": http://blog.csdn.net/lixing333/article/details/7782539 This article says, the network cable, Hotspot sharing must have. Charles is monitoring 8888-port data, so we need to set up 8888 ports on our mobile devices as proxies. In the computer terminal with "ifconfig" command to view the LAN IP address of their computer network card, note that the cable network card en0 IP address, not the wireless network card EN1. Such as:

Take the iphone, for example, after we connect to the computer, open "settings"-"Network" and edit the WiFi that is already connected:

After this set up, we open the browser, open the Baidu home page, then Charles will prompt: There is a new device request connection, to allow it? Select Allow.

After opening Baidu, Charles interface will appear a URL, and the new network request will be marked out, very convenient. The Request and response are clear and easy to see:

OK, later can get rid of wireshark this huge and difficult to use things, mother no longer worry I won't catch bag!

Lighter, more convenient clutch software than Wireshark: Charles

Related Article

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.