Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Charles - How to filter the recording using the "client address" field?

I am debugging on my computer by means of adding its IP as the proxy in my iPad. I just need to see the traffic coming from iPad and not the computer.

The IP of the iPad is mentioned in the "client address" field of the Overview section. How do I see the requests coming from only that IP?

like image 691
NSF Avatar asked Feb 20 '14 07:02

NSF


People also ask

How do you filter Charles?

Enable SSL Proxying and add filters in Charles: Open Charles and go to Proxy > SSL Proxy Settings. Check the Enable SSL Proxying checkbox. In the Locations section, add a filter from the domain and port where you are capturing traffic (e.g., appian.example.com:443).

How do I record in Charles proxy?

Once Charles is running, open your browser and go to the URL in question. Make sure “Recording” is turned on. Go back to the Charles application on your desktop and you should see all the traffic and activity that occurred on site. Go to File > Export.


2 Answers

Under Proxy > Recording Settings

You can enter specific locations to exclusively record requests to/from using include, or exclude to prevent locations from recording. It's also possible to blacklist requests as needed by control-clicking in the structure section and selecting ignore. If you want to exclude requests to/from the computer that Charles is running on then you'll need to close it's web browser, email, etc. to keep internet requests intended to/from it to a minimum. You cannot ignore the host machine Charles is running on since it's used as the proxy — but you can selectively include/exclude other machines/clients by using access control.

charles proxy settings

To use Charles as a "Man in the middle":

Keyboard shortcut P, or choose from the menu use Proxy > Mac OS X Proxy.

NOTE: Option does not exclude (host) traffic incoming/outgoing on machine used as proxy.

like image 155
l'L'l Avatar answered Sep 25 '22 02:09

l'L'l


Command+Shift+P should do the trick, or toggle off MAC OS X Proxy from the Proxy menu.

enter image description here

like image 28
capikaw Avatar answered Sep 24 '22 02:09

capikaw