Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTTP debugging proxy for Linux and Mac [closed]

I use the Fiddler proxy to debug all kinds of HTTP issues on Windows. It's great for inspecting headers and responses across multiple pages.

Is there a good HTTP debugging proxy for Mac and Linux? I found Charles, but it's $50 once the trial runs out and it crashed on me. I could use Wireshark, but it's a pain.

like image 630
George V. Reilly Avatar asked Oct 24 '09 09:10

George V. Reilly


People also ask

What is web debugging proxy?

By inspecting your HTTP(S) network traffic, you can capture requests and responses to identify bugs. Then you can narrow in on the root cause and present the fix. Once an error is fixed, you can use web debugging proxy to test it again, before having to make the needed changes the code.

How do I install Charles on my Mac?

Open Settings, tap Wi-Fi and verify you're connected to the same network as your computer. Then, tap the ⓘ button next to your Wi-Fi network. Scroll down to the HTTP Proxy section, select Configure Proxy and then tap Manual. Enter your Mac's IP address for Server and the Charles HTTP Proxy port number for Port.

How do I read a Charles Proxy log?

Check the proxy configuration. Open Charles Proxy, if it is not already open. Open your mobile device's browser and navigate to a site. Grant access when prompted that a device is trying to connect to your network. You should now see your mobile device's traffic in your Charles Sequence log.

What is Charles and Fiddler?

Charles and Fiddler can be categorized as "API" tools. According to the StackShare community, Charles has a broader approval, being mentioned in 16 company stacks & 13 developers stacks; compared to Fiddler, which is listed in 4 company stacks and 4 developer stacks.


1 Answers

Mitmproxy is a useful command-line proxy tool.

It has also an user UI.

  • From the command line run mitmweb
  • Set up your app to use a proxy server and point it at http://127.0.0.1:8080
  • Go to http://127.0.0.1:8081 to see all the requests in the "flow" tab. Very similar to the Google Chrome Console "Network" tab.
like image 120
George V. Reilly Avatar answered Oct 05 '22 22:10

George V. Reilly