Use Feddler to grab packets under Mac

Source: Internet
Author: User

The previous article has been introduced in the actual debugging with Fiddler, today, the use of Fiddler under the Mac system to grab the packet operation.

Version 1.MAC of fiddler

The previous fiddler can only be used on Windows, mainly because Fiddler is developed in C # and you need to install the. NET Framework framework in your system. Although now the Mac is out of the OS version, but you want to install Mono Fiddler (), and before you install Mono MRE (). Very cumbersome, the main reason is that now Mac Fiddler still have a lot of flaws, need to carry out a practical debugging to be like we use weindows version of the same handy. Fortunately, we have another solution.

2. Virtual machine proxy using fiddler

  In order to be able to use fiddler properly, we finally chose to grab the packet by means of a virtual machine proxy.

I am here to install Parallels Desktop 11, a cracked version of the Internet, directly installed immediately, using other virtual machine is no problem, this choice.

First open the virtual machine and look at the current IP address

 The next step is to configure the network proxy under the Mac. Open System Preferences-"network-" advanced-"agent

Select proxy mode, check the Web proxy, and secure Web proxy, because some pages are open with HTTPS. Do not set may catch the bag can not catch. Web Proxy Service

Then open the Fiddler in the virtual machine and see what's caught? There's nothing to it. That's right, you can ping the IP of the virtual machine under the Mac, it is not ping pass! So we need to change the network connection mode in the configuration of the virtual machine to bridge.

I chose the WiFi bridging network here. If you are connected with a network cable, you can choose the way to bridge the Ethernet. Okay, let's go to the virtual machine and see your IP address.

Now two machines in the same network segment, and then to look at the fiddler, I opened the phone on a beep, has been able to catch the package!

Use Feddler to grab packets under Mac

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.