Safari HTTP monitor (like HttpFox) on mac
문제
I am looking for an HTTP traffic monitor/sniffer (something like Firefox's HTTPFox) for Safari, for debugging/development purposes.I am using OSX.
해결책
I didn’t see a extension for Safari, but here are some tools for macOS you could use.
- Wireshark
You could look at Wiresahark (free, but a full blown packet sniffer). Not ideal for just HTTP. - tcpdump (nixCraft article)
It’s command line (free). - Cocoa Packet Analyzer
It’s free, but it’s more like Wireshark.
다른 팁
One of the best tools is Fiddler though it is currently only in alpha for Mac & Linux systems. Another pretty good, though not free, tool for Mac OSX that I have found handy in the past is Charles Web Debugging Proxy. Also, consider exploring the debugging tools built into modern versions of Safari; they are very powerful an include a rich amount of network debug information.
(See also this question.)
I have used paros proxy to sniff all the http connection. I configure Safari to use the paros for all connection and inspect the traffic.
I use Captor to capture HTTPS traffic on mac, you can capture safari traffic also. it is a native APP. you can download it from Apple Mac Store.